Skip to main content
Glama

finance

Agent Chat: Get agent chat session

get_agent_chat_session
Read-onlyIdempotent
    Get the full transcript of a past AI assistant chat session.

    Returns the messages the user exchanged with the in-app Zoninga
    Assistant. Useful for summarizing a past conversation or
    continuing a thread from a prior session.

    Args:
        session_id: The chat session's ID.

    Returns:
        {"session": {...}, "messages": [{role, content, created_at}, ...]}
        or {"error": "..."} if not owned by the caller.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a full safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is low. The description goes beyond them by disclosing the ownership constraint – returning {"error": "..."} if the session is not owned by the caller – which an agent cannot learn from annotations and needs to handle failures.

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?

Three front-loaded sentences cover purpose, use cases, and return shape, followed by compact Args/Returns blocks. Every line carries information and the most important statement (what the tool returns) comes first; no filler.

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

Completeness4/5

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

With no output schema, the description compensates by sketching the return payload ({"session": ..., "messages": [{role, content, created_at}]}) and the error case, and the single parameter is acknowledged. The only meaningful omission is how to obtain a valid session_id, which the agent must infer from the sibling list tool.

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 0% and the schema only supplies a title, so the description's 'session_id: The chat session's ID' is nearly tautological with the parameter name. It does not state the type (integer), the format, or where a valid ID comes from (list_agent_chat_sessions), leaving the parameter thinly documented on both sides.

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

Purpose4/5

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

States a specific verb and resource: 'Get the full transcript of a past AI assistant chat session', and the second sentence pins down exactly what is returned (messages exchanged with the in-app assistant). This implicitly separates it from the list_agent_chat_sessions sibling, but it never names that sibling or any other tool, so an agent must infer the boundary.

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

Usage Guidelines4/5

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

'Useful for summarizing a past conversation or continuing a thread from a prior session' gives concrete usage contexts, which is better than most siblings. It stops short of a 5 because there are no explicit alternatives named (e.g., use list_agent_chat_sessions first to obtain a session_id) and no when-not-to-use guidance.

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