Skip to main content
Glama

Why recent sends did or did not go out

get_send_diagnostics
Read-onlyIdempotent

Recent send outcomes for this account, newest first: sends that went out (message_sent, or message_sent_from_card from the draft card), sends the provider rejected (send_failed, with the error), and sends the person asked for that were never approved (send_not_approved, send_approval_fell_back) - including when the in-app approval prompt timed out or broke, which from the outside just looks like "the email stayed a draft". Call this when someone reports that sending did not work, before guessing at causes. Read-only; needs no lease. inboxId narrows to one inbox; limit defaults to 20.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_send_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
inboxIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the important safety profile is covered; the description still adds real context: the status taxonomy, that provider error text is included, that approval-prompt timeouts manifest externally as \"the email stayed a draft\", and that no lease is required. The only redundancy is restating read-only, which annotations already carry.

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

Conciseness4/5

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

The outcome taxonomy is front-loaded and the usage trigger and parameters follow in a logical order, so every clause contributes. It is a single dense run-on paragraph with heavy parentheticals, which costs some readability.

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 read-only, two-parameter diagnostic with no output schema, the description adequately conveys what comes back (ordered outcome records including failure reasons) and the one behavioral caveat an agent must know about approval timeouts. Additional detail such as the result ordering across statuses or maximum practical span is not strictly necessary.

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

Parameters4/5

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

Schema description coverage is 0%, yet the description covers both parameters meaningfully: inboxId narrows results to a single inbox and limit defaults to 20, with the schema supplying the 1-100 bound. The scoping semantics of inboxId (filter vs. required) could be slightly clearer, but the description compensates well for the empty schema prose.

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?

The description opens with a specific verb+resource+scope ("Recent send outcomes for this account, newest first") and then enumerates the exact outcome categories returned (message_sent, message_sent_from_card, send_failed with error, send_not_approved, send_approval_fell_back). That lets an agent distinguish this diagnostic reader from the send_* action tools without opening the 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?

"Call this when someone reports that sending did not work, before guessing at causes" gives a clear triggering situation and even sequences it ahead of speculative debugging, which is the key usage rule here. It does not name an alternative diagnostic tool or state exclusions, so it falls short of a 5.

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