Skip to main content
Glama

Enrich email addresses (batch)

enrich_email_batch
Idempotent

Up to 10 enrich_email lookups in one call. Each item takes enrich_email's arguments and is charged and replayed as its own enrich_email call. results[i] answers items[i]: that result with its billing, or its error — re-send only those. dry_run quotes the total.

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": {
      "items": "<items>"
    },
    "name": "enrich_email_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
dry_runNo

Output Schema

NameRequiredDescriptionDefault
errorNo
billingNo
dry_runNo
resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=true, destructiveHint=false) by disclosing the billing model ('charged ... as its own enrich_email call'), the per-item failure model, and the partial-retry semantics. It also explains dry_run's quote behavior, which no structured field conveys.

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?

Four short sentences, front-loaded with the batch limit and the sibling relationship, then billing, result mapping, and retry. No sentence is redundant, and the telegraphic 'results[i] answers items[i]' phrasing is compact rather than vague.

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 batch wrapper with an output schema and per-item billing, the description covers the essentials: item shape, result-to-item alignment, failure handling, and cost preview. The only real gap is the idempotency_key parameter, which an agent must infer the purpose of.

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%, so the description has to carry parameter meaning — it does for items ('takes enrich_email's arguments') and dry_run ('quotes the total'). It adds no meaning for idempotency_key, which is left entirely unexplained in both the schema and the description.

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 ('enrich_email lookups') plus the batching constraint ('Up to 10 ... in one call'), and anchors itself to the sibling enrich_email by saying each item takes enrich_email's arguments. An agent can distinguish it from enrich_email 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?

Makes the selection context clear: use this to do up to 10 enrich_email lookups at once, and use dry_run to price the whole batch before committing. It also gives retry guidance ('re-send only those'), but it never explicitly states the inverse case — that a single lookup should go to enrich_email directly.

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