Skip to main content
Glama

Analyze a bounce message

analyze_bounce
Read-onlyIdempotent

Explain an email bounce in plain English: paste the full bounce message or just the error (e.g. "550 5.7.1"). Returns whether it is a hard or soft bounce, what happened, the likely cause (list quality, reputation, policy, authentication, temporary), and the fix.

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

Input Schema

NameRequiredDescriptionDefault
codeNoJust the bounce code, e.g. 550 or 550 5.7.1 (alternative to bounce_text)
bounce_textNoThe full bounce message or the error text from the sending tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description's added value is in disclosing the return contents: bounce classification, likely cause categories, and the fix. One gap remains — since no parameters are required, it doesn't say what happens if neither code nor bounce_text is supplied.

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 compact passage, front-loaded with the purpose, followed by accepted inputs and expected output fields. No filler sentences; every clause conveys something the agent needs.

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-optional-parameter tool with no output schema, the description is nearly complete: it enumerates the returned fields an agent would rely on. The only omission is behavior when both optional inputs are absent, which is minor.

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 coverage is 100% and the schema already notes that code is an 'alternative to bounce_text'; the description only restates this alternation and repeats the 550 5.7.1 example. Baseline 3 applies because the schema does the parameter work.

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 ('Explain an email bounce in plain English') and immediately distinguishes itself from sibling auth/header tools by describing its output shape (hard/soft bounce, cause, fix). An agent can tell what it does 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?

Gives clear input guidance — 'paste the full bounce message or just the error (e.g. "550 5.7.1")' — which tells the agent when this tool applies (a bounce/error at hand). It stops short of naming when NOT to use it or pointing to sibling tools like check_spf/check_dkim for pre-send diagnosis.

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.