# MCP API glossary

Source: https://libtmux.org/en/swift/latest/mcp/reference/glossary/

> What MCP tool annotations tell clients about a tool.

## MCP tool annotations

These are server-supplied hints, not enforced guarantees. Clients must not base tool-use decisions on annotations from untrusted servers.

### readOnlyHint

True indicates that the tool leaves its environment unchanged.

Defaults to false when omitted.

References: [MCP ToolAnnotations](https://modelcontextprotocol.io/specification/2025-11-25/schema#toolannotations).

### destructiveHint

True indicates potentially destructive changes; false indicates additive changes only.

Defaults to true. Meaningful only when readOnlyHint is false.

References: [MCP ToolAnnotations](https://modelcontextprotocol.io/specification/2025-11-25/schema#toolannotations).

### idempotentHint

True indicates that repeating a call with identical arguments adds no further effects.

Defaults to false. Meaningful only when readOnlyHint is false. It does not promise identical responses.

References: [MCP ToolAnnotations](https://modelcontextprotocol.io/specification/2025-11-25/schema#toolannotations).

### openWorldHint

True indicates possible interaction with external entities; false indicates a closed interaction domain.

Defaults to true. This describes the interaction domain, not whether the tool writes data.

References: [MCP ToolAnnotations](https://modelcontextprotocol.io/specification/2025-11-25/schema#toolannotations).

### title

A display title for the tool.

The tool’s top-level title takes precedence, followed by annotations.title, then name.

References: [MCP ToolAnnotations](https://modelcontextprotocol.io/specification/2025-11-25/schema#toolannotations).

## Symbol kinds

Kinds identify declarations in the Swift API reference.

### class

A Swift reference type whose instances can share identity and whose subclasses can inherit behavior.

References: [Swift classes](https://docs.swift.org/latest/documentation/the-swift-programming-language/classesandstructures/).

### interface

A Swift protocol declaring requirements for conforming types, shown with the interface badge.

References: [Swift protocols](https://docs.swift.org/latest/documentation/the-swift-programming-language/protocols/).

### struct

A Swift value type copied when assigned or passed. Reference-valued properties can still share objects.

References: [Swift structures](https://docs.swift.org/latest/documentation/the-swift-programming-language/classesandstructures/).

### enum

A Swift type with named cases, which can carry associated values or have raw values.

References: [Swift enumerations](https://docs.swift.org/latest/documentation/the-swift-programming-language/enumerations/).

### function

A Swift callable declared with func, using parameter names, argument labels and a result type.

References: [Swift functions](https://docs.swift.org/latest/documentation/the-swift-programming-language/functions/).

### method

A Swift function associated with a class, structure or enumeration.

Instance methods use a value; type methods are called on the type. mutating permits changes to a value-type receiver.

References: [Swift methods](https://docs.swift.org/latest/documentation/the-swift-programming-language/methods/).

### property

A Swift stored or computed member, declared with let or var as applicable.

Computed properties use accessors; their value need not be stored.

References: [Swift properties](https://docs.swift.org/latest/documentation/the-swift-programming-language/properties/).

### constant

A Swift binding declared with let, or a named enum case in this reference.

A let binding cannot be reassigned, but a referenced class instance may remain mutable.

References: [Swift constants](https://docs.swift.org/latest/documentation/the-swift-programming-language/thebasics/).

### typealias

A Swift name for an existing type, without defining a new distinct type.

References: [Swift type aliases](https://docs.swift.org/latest/documentation/the-swift-programming-language/declarations/#Type-Alias-Declaration).

## Modifiers

Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.

### static

A Swift member called or accessed on its type. Class members declared with class can allow subclass overrides.

References: [Swift type methods](https://docs.swift.org/latest/documentation/the-swift-programming-language/methods/).

### async

A Swift asynchronous function that can suspend at await points, without promising a particular thread.

References: [Swift concurrency](https://docs.swift.org/latest/documentation/the-swift-programming-language/concurrency/).

### overload

Swift declarations sharing a base name, distinguished by their argument labels, types and applicable context.

References: [Swift function declarations](https://docs.swift.org/latest/documentation/the-swift-programming-language/functions/).

### inherited

A Swift member supplied by a superclass. The reference identifies its original declaring type.

References: [Swift inheritance](https://docs.swift.org/latest/documentation/the-swift-programming-language/inheritance/).

## Package context

Package labels identify where an API is supplied.

### package

The Swift package supplying products built from modules and targets. Package and module names serve different roles.

References: [Swift packages](https://www.swift.org/documentation/package-manager/).
