Skip to main content
Glama

get_chat_session

Get the complete chat history of a session (all messages)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesChat session ID
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that the tool returns the complete history, but does not disclose read-only behavior, ordering, message filtering, authentication needs, or whether system messages are included.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence that front-loads the key action and resource. The parenthetical '(all messages)' adds useful scope clarification without unnecessary verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-style tool with fully documented parameters, the description is minimally adequate. However, with no annotations and no output schema, it leaves gaps around expected return format, ordering, and when to select this over sibling chat-related tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and both parameters have clear descriptions ('Chat session ID' and 'Project ID'). The description does not add parameter-level detail, but it does implicitly connect chatId/projectId to the session whose history is retrieved.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and a specific resource ('complete chat history of a session'), and clarifies scope with '(all messages)'. This clearly distinguishes it from sibling tools like list_chat_sessions, which lists sessions, and append_chat_messages, which adds to a session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, such as list_chat_sessions or save_chat_session. It does not mention prerequisites, how to obtain chatId/projectId, or whether the session must be active or ended.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources