Skip to main content
Glama

gmail_reply_latest

Reply to a contact's recent email thread, with reply-all and dry-run options to preview before sending.

Instructions

Reply to the most recent thread from a contact (reply-all optional)

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": {
      "fromQuery": "<fromQuery>",
      "body": "<body>"
    },
    "name": "gmail_reply_latest"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
dryRunNo
replyAllNo
fromQueryYesEmail or query to find latest thread

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and it omits the most consequential behaviors. It never mentions that dryRun defaults to true (so the call does not actually send unless explicitly overridden) or that replyAll defaults to true, which means an unsuspecting send goes to all recipients. '(reply-all optional)' even implies the opposite of the default, which is a meaningful risk for an outward-facing email mutation.

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

Conciseness3/5

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

One front-loaded sentence with no filler, but it is terse to the point of under-specification. The brevity is not efficiency here; it leaves the highest-risk defaults unstated.

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

Completeness2/5

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

For a 4-parameter email-mutating tool with no annotations and no output schema, this definition is far too thin. It should at minimum state the send-vs-dry-run semantics, the reply-all default, and what happens if no thread matches fromQuery.

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 description coverage is only 25% — only fromQuery is documented. The description adds nothing for body, dryRun, or replyAll, and its parenthetical about reply-all is actively unhelpful because the schema default is true, not opt-in. A description that clarified the dry-run/send toggle would have compensated for the thin schema; it does not.

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: reply to the most recent thread from a contact. That is materially more specific than a generic 'send' and implicitly separates it from gmail_send and gmail_create_draft, though no sibling is named so the distinction is inferred rather than stated.

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 scenario 'reply to the most recent thread from a contact' hints at when the tool applies, but there is no guidance on when to prefer gmail_send or gmail_create_draft, no preconditions (does the thread need to exist?), and no exclusions. The agent must infer everything about selection.

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