# MCP API glossary

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

### class

A Java reference type declared with class, with its constructors, fields and methods.

References: [Java class declarations](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.1).

### interface

A Java contract with abstract, default or static methods, implemented by classes.

References: [Java interfaces](https://docs.oracle.com/javase/specs/jls/se21/html/jls-9.html#jls-9.1).

### struct

A Java record class, shown with the struct badge. Components have private final fields and public accessors.

References: [Java record classes](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.10).

### enum

A Java enum class whose named constants are instances of that class.

References: [Java enum classes](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.9).

### method

Named Java behavior called on an object or, for static methods, on a class.

References: [Java method declarations](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4).

### attribute

A Java field holding a value on an instance or its class.

References: [Java fields](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.3).

### constant

A named Java API value. A final primitive or String initialized with a constant expression is a constant variable.

References: [Java constant variables](https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.12.4).

## Modifiers

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

### annotation

A Java annotation interface declared with @interface, or an element declared inside it.

Elements are declared as methods with no parameters. An element may use default to supply its value when an annotation omits it.

References: [Java annotation interfaces and elements](https://docs.oracle.com/javase/specs/jls/se21/html/jls-9.html#jls-9.6).

### static

A class member accessed without an instance. A static method has no current object.

References: [Java static methods](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4.3.2).

### abstract

An incompletely implemented class or method. Concrete subclasses implement inherited abstract methods.

References: [Java abstract classes](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.1.1.1).

### readonly

A final Java declaration. A final class cannot be extended; a final field cannot be reassigned after initialization.

References: [Java final classes](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.1.1.2); [Java final fields](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.3.1.2).

### overload

Methods sharing a name with different signatures; the compiler resolves a call from its arguments.

References: [Java overloading](https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4.9).

## Package context

Package labels identify where an API is supplied.

### package

The library artifact supplying the Java API, distinct from a package used to qualify class names.

References: [Java packages](https://docs.oracle.com/javase/specs/jls/se21/html/jls-7.html#jls-7.1).
