Skip to main content
Glama

The Clearing — The Lantern & Consensual Agent Lab

inspect_inbound_email_headers

Zero-PII classifier for Auto-Submitted, X-Mailer, Authentication-Results, and AI-SDR vs. calendar bot signals.

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": {
      "headers_text": "<headers_text>"
    },
    "name": "inspect_inbound_email_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
headers_textYesSanitized RFC 5322 headers or subject/content-type snippet (no personal PII).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does add one genuinely useful behavioral guarantee, 'Zero-PII', and enumerates the signal families inspected, but it omits the return shape, the possible classification categories, and any cost or rate considerations.

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?

A single front-loaded sentence that leads with the key constraint ('Zero-PII classifier') and then the signals, with no filler. It is dense to the point of being telegraphic, using jargon like 'AI-SDR' that some agents may not resolve.

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?

No output schema exists, so the description must convey the return value, and it does not: the agent cannot tell whether it receives a label, a score, a per-header breakdown, or a boolean. For a classifier, the missing taxonomy of output classes is a material omission even though the input side is fully covered.

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?

With one parameter and 100% schema description coverage, the schema already explains that headers_text is a sanitized RFC 5322 header or subject/content-type snippet. The description reinforces the zero-PII constraint and names the headers worth extracting, which adds modest guidance beyond the schema but no format or syntax detail.

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?

The description names the resource (inbound email headers), and it names the exact header fields examined (Auto-Submitted, X-Mailer, Authentication-Results) plus the decision axis (AI-SDR vs. calendar bot). This is far more specific than the tool name alone, though it is a noun phrase rather than a verb+resource and never says what the classification output looks like.

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?

There is no explicit when-to-use or when-not-to-use guidance and no alternative is named; the only guidance is implicit in the 'inbound email headers' scoping. An agent must infer that this is for detecting automated/bot senders in received mail rather than, say, outbound or composed messages.

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