Skip to main content
Glama

One conversation in full

get_thread
Read-onlyIdempotent

Every message in one thread, oldest first, with who sent it and when, and the files attached to each (read one with get_attachment). Starts with our first email, the one the thread is answering. Use this before send_reply so the reply answers what they actually asked.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversationId": "<conversationId>"
    },
    "name": "get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversationIdYesFrom list_inbox.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuine behavioral detail beyond that: the deterministic oldest-first ordering, that the thread opens with the email being answered, and that attachments are reported per message. It does not discuss size limits or truncation on long threads.

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 short sentences, front-loaded with the resource and ordering, then the content, then the call-to-action. The parenthetical about get_attachment sits right next to the attachment mention, and nothing is repeated from the title or annotations.

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?

For a single-parameter read tool with no output schema, the description adequately covers what comes back and how it is ordered, plus the cross-tool workflow. The one gap is the absence of any mention of pagination or behavior on very long threads, which matters given the promise of "every message".

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 coverage is 100% and the single conversationId parameter already carries the provenance hint "From list_inbox" in the schema itself. The description adds nothing further about the identifier's format or origin, so this is the baseline 3 where the schema does the work.

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?

Names a specific verb and resource — every message in one thread, oldest first — and states exactly what fields come back (sender, timestamp, attachments). It also distinguishes itself from siblings by pointing attachment content to get_attachment, so an agent can tell the two apart without opening either schema.

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?

Gives a concrete use condition: call it before send_reply so the reply addresses the actual question, and it routes attachment reading to get_attachment. It stops short of explicit when-not-to-use guidance (e.g., when list_inbox or get_draft_reply would suffice), which keeps it out of 5 territory.

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.