get_chat
Retrieve a chat session and its messages using the chat ID.
Instructions
Get a single chat session with its messages
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat ID to retrieve |
Retrieve a chat session and its messages using the chat ID.
Get a single chat session with its messages
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat ID to retrieve |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The readOnlyHint annotation already indicates no destructive behavior; the description adds that messages are returned. However, it does not disclose other behavioral traits like authentication requirements or rate limits, which are not critical for this simple read tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with key details, no unnecessary words. Highly efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple tool with one parameter, read-only nature, and no output schema, the description adequately states the purpose and the return value (messages). It is complete enough for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a clear description for chatId. The tool description does not add additional meaning beyond what the schema provides, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves a single chat session including its messages, distinguishing it from siblings like list_chats (list all) and get_chat_by_external_channel (retrieval by external channel).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when you have a specific chat ID, but does not explicitly state when not to use it or mention alternatives. The context with siblings provides clarity but the description itself could be more explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/usenotra/notra-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server