MCP API glossary
What MCP tool annotations tell clients about a tool. Select an annotation or full API badge to open its definition here.
The signature and entry documentation describe the API’s behavior, including its calling conventions, storage and runtime checks.
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 .
destructiveHint
True indicates potentially destructive changes; false indicates additive changes only.
Defaults to true. Meaningful only when readOnlyHint is false.
References: MCP 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 .
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 .
title
A display title for the tool.
The tool’s top-level title takes precedence, followed by annotations.title, then name.
References: MCP 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 .
interface
A Swift protocol declaring requirements for conforming types, shown with the interface badge.
References: Swift protocols .
struct
A Swift value type copied when assigned or passed. Reference-valued properties can still share objects.
References: Swift structures .
enum
A Swift type with named cases, which can carry associated values or have raw values.
References: Swift enumerations .
function
A Swift callable declared with func, using parameter names, argument labels and a result type.
References: Swift 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 .
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 .
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 .
typealias
A Swift name for an existing type, without defining a new distinct type.
References: Swift type aliases .
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 .
async
A Swift asynchronous function that can suspend at await points, without promising a particular thread.
References: Swift concurrency .
overload
Swift declarations sharing a base name, distinguished by their argument labels, types and applicable context.
References: Swift function declarations .
inherited
A Swift member supplied by a superclass. The reference identifies its original declaring type.
References: Swift 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 .