Skip to main content
Glama
seznam-mail-mcp

seznam-mail-mcp

by jakub-lgr

read_email

Read-onlyIdempotent

Retrieve a single email's headers, plain-text body (HTML converted), and attachment list with indexes for attachment access, without marking it as read.

Instructions

Přečte jeden e-mail: hlavičky, text těla (HTML převedené na text) a seznam příloh s indexy pro read_attachment.

Neoznačí ho jako přečtený.

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_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesUID zprávy ze search_emails
folderNoNázev složky z list_folders, výchozí INBOXINBOX
max_charsNoMax. délka textu těla

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description earns credit for one genuinely non-obvious trait not in the annotations: reading does not set the read/unread flag ('Neoznačí ho jako přečtený'), which prevents an agent from wrongly assuming a side effect. It could still mention truncation behavior, which is left entirely to the max_chars schema field.

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?

Two short sentences with no filler: the first defines the payload, the second flags the absence of a side effect. Front-loaded with the core purpose and structured exactly in the order an agent needs it.

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?

An output schema exists and annotations are rich, so the description does not need to explain return structure, yet it helpfully summarizes the content anyway. For a three-parameter read tool this is nearly complete; only edge-case behavior (missing uid, truncation signaling) is left unspecified.

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%, with uid, folder, and max_chars each documented in the schema, including defaults and bounds. The description adds no meaning beyond that — it never explains folder semantics or what happens when max_chars truncates the body, so the baseline of 3 applies.

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?

States a specific verb and resource ('Přečte jeden e-mail') and then enumerates exactly what is returned: headers, body text with HTML converted to plain text, and an attachment list. It also implicitly separates itself from read_attachment by noting the attachment indices are meant to be passed to that sibling, 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 Guidelines3/5

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

Usage is only implied: the uid parameter description points back to search_emails, and the note about attachment indices points forward to read_attachment, which sketches a workflow. However, there is no explicit statement of when to use this instead of read_thread for a conversation, nor any exclusion or precondition (e.g. message must exist in the given folder).

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