# MCP API glossary

Source: https://libtmux.org/en/rs/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 Rust API reference.

### class

A Rust named type shown with the shared class badge. Rust declares structs and enums; inspect the declaration for its actual form.

References: [Rust structs](https://doc.rust-lang.org/reference/items/structs.html); [Rust enums](https://doc.rust-lang.org/reference/items/enumerations.html).

### struct

A Rust data type with named, tuple or no fields. Its fields, visibility and ownership follow the declaration.

References: [Rust structs](https://doc.rust-lang.org/reference/items/structs.html).

### enum

A Rust type whose variants can be unit-like, tuple-like or struct-like, each potentially carrying data.

References: [Rust enums](https://doc.rust-lang.org/reference/items/enumerations.html).

### trait

A Rust contract of associated functions, types and constants implemented for concrete types.

References: [Rust traits](https://doc.rust-lang.org/reference/items/traits.html).

### function

A Rust fn item with typed parameters, a return type and any declared generic bounds.

References: [Rust functions](https://doc.rust-lang.org/reference/items/functions.html).

### method

A Rust associated function declared on a type or trait.

A function with a self receiver is a method; its receiver determines borrowing or ownership. An associated function without a receiver, such as a constructor, is called with Type::function.

References: [Rust associated functions and methods](https://doc.rust-lang.org/reference/items/associated-items.html#associated-functions-and-methods).

### attribute

A Rust struct field in this reference, rather than a #[...] attribute annotation.

References: [Rust fields](https://doc.rust-lang.org/reference/items/structs.html).

### constant

A Rust constant or enum variant shown as a named API value. Variants can carry fields.

References: [Rust constants](https://doc.rust-lang.org/reference/items/constant-items.html); [Rust enum variants](https://doc.rust-lang.org/reference/items/enumerations.html).

### typealias

A Rust type name referring to an existing type expression, without creating a distinct newtype.

References: [Rust type aliases](https://doc.rust-lang.org/reference/items/type-aliases.html).

## Modifiers

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

### async

A Rust async fn that returns a future. Its body runs when that future is polled, rather than when the function is called.

References: [Rust async functions](https://doc.rust-lang.org/reference/items/functions.html#async-functions).

### overload

Multiple extracted declarations or implementations for this Rust item. Inspect the impl and trait context; Rust functions do not overload by parameter types.

References: [Rust associated declarations](https://doc.rust-lang.org/reference/items/associated-items.html).

## Package context

Package labels identify where an API is supplied.

### package

A Cargo package supplying one or more crates. Rust paths and imports refer to crates and their modules.

References: [Cargo packages and targets](https://doc.rust-lang.org/cargo/reference/cargo-targets.html).
