Skip to main content
Glama

Diagnose deliverability

diagnose_deliverability
Read-onlyIdempotent

Use when the user says emails land in spam, replies dried up, bounces went up, or asks "why aren't my emails getting through?". One call checks every mailbox (or one, with mailbox_id): SPF/DKIM/DMARC per domain, bounce rate per mailbox, young domains, frozen mailboxes, and risky content in active campaign steps. Returns a list of problems, critical first, each with what to fix and a link to the screen where it is fixed. Records that could not be checked are never reported as missing. Read-only.

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": "diagnose_deliverability"
  }
}

Input Schema

NameRequiredDescriptionDefault
mailbox_idNoLimit the diagnosis to one mailbox (uuid from list_mailboxes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world, so the lower bar applies; the description still adds real behavior: results are ordered critical first, each item carries a fix and a deep link, and unchecked records are explicitly never reported as missing (guarding against false negatives). It does not discuss cost, latency, or permissions for cross-account checks, but the disclosure is well above what the annotations supply.

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?

Front-loaded with the trigger phrase, followed by scope, checks performed, and return shape, in four tight sentences. Every sentence contributes a distinct fact; nothing is repeated from the annotations except the closing "Read-only" tag.

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

Completeness5/5

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

For a one-optional-parameter diagnostic with no output schema, the description covers when to call it, what it inspects, what the response looks like, how results are ordered, and how unchecked data is handled. An agent has everything needed to select and invoke it correctly.

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 coverage is 100% and the single optional parameter is already documented, so the baseline is 3. The description adds meaning beyond the schema by stating the default behavior when mailbox_id is omitted (every mailbox is checked), which the schema does not say outright.

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 names a specific verb (diagnose/checks) and enumerates the exact resources inspected: SPF/DKIM/DMARC per domain, bounce rate per mailbox, young domains, frozen mailboxes, and risky content in active campaign steps. It also states scope explicitly (all mailboxes by default, one with mailbox_id), so an agent can distinguish it from narrow checkers like check_list or check_message 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?

Trigger conditions are stated concretely in user language (emails land in spam, replies dried up, bounces went up, "why aren't my emails getting through?"), which is exactly the routing signal an agent needs. It also implies one consolidated call replaces piecemeal checks, but it names no explicit exclusion or alternative sibling for narrower questions.

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.