Skip to main content
Glama
seznam-mail-mcp

seznam-mail-mcp

by jakub-lgr

read_thread

Read-onlyIdempotent

Reads an entire email thread, including sent replies, sorted oldest first, so you can review the full conversation from one message UID.

Instructions

Přečte celé vlákno, do kterého e-mail patří (včetně odeslaných odpovědí), seřazené od nejstaršího.

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": {
      "uid": "<uid>"
    },
    "name": "read_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesUID zprávy ze search_emails
folderNoNázev složky z list_folders, výchozí INBOXINBOX
max_messagesNo
max_chars_per_messageNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description contributes the ordering guarantee and the fact that sent replies are included, which is genuinely useful. It fails to disclose that the thread is truncated by max_messages (default 20) and per-message character limits, which is the main behavioral risk for an agent summarizing a long conversation.

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?

A single tight sentence with the core scope and ordering front-loaded and no filler. Nothing is redundant or padded.

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?

An output schema exists, so return-value explanation is not needed, and the annotations cover safety. However, for a tool with silent message-count and character limits, the definition leaves the agent unaware that long threads may be cut off, which is a material gap for a thread-reading operation.

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

Parameters2/5

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

Schema coverage is 50%: uid and folder are documented in the schema, but max_messages and max_chars_per_message have no description anywhere, and the description offers no meaning for them either. Those two parameters control truncation and are exactly where the description should compensate, yet it says nothing about limits or ordering interacting with them.

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?

The description uses a specific verb and resource ('Přečte celé vlákno') and adds meaningful scope: the whole conversation including sent replies, ordered oldest-first. It does not explicitly distinguish itself from the sibling read_email, so the agent must infer that this returns a conversation rather than a single message, but the intent is still recoverable.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the right tool when it needs the full conversation rather than one message. There is no explicit 'use this instead of read_email when...' routing, and no mention of when a plain message read is preferable.

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