Skip to main content
Glama

Lead formatter: cleans a list of contact records you supply

b2b_lead_formatter
Read-only

Lead formatter: cleans a list of contact records you supply (name, company, email, phone, website) into one consistent shape: trims spaces, fixes casing of names, lowercases emails and domains, keeps digits of phone numbers, and flags invalid emails. It adds no outside data. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "records": "<records>"
    },
    "name": "b2b_lead_formatter"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordsYesUp to 50 objects with optional name, company, email, phone, website strings

Output Schema

NameRequiredDescriptionDefault
countNo
sourceNo
recordsNo
checkedAtNo
invalidEmailsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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: states the metered price ($0.002 per successful call), the x402/USDC payment rail across networks, and that failed calls are not charged — critical pre-call information for an agent that must decide whether to spend. Annotations only cover read-only and open-world; the billing and payment-auth details are pure added value.

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?

Front-loaded with the operation, then the field-level behaviors, then cost — a sensible order with no filler. The billing sentence is long but each clause (price, rail, networks, no charge on failure) carries decision-relevant weight.

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?

An output schema exists and the schema carries the 50-record cap, so return shape and limits are covered elsewhere; the description supplies pricing and semantics. Minor gaps remain, e.g. what happens if more than 50 records are sent (error vs truncation) and whether flagged invalid emails still appear in the output.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description still adds meaning by specifying per-field treatment (fields transformed, what 'cleaning' means for each) and that invalid emails are flagged rather than dropped. That tells an agent what the output records will look like, which the schema alone does not.

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?

Names a specific verb and resource ('cleans a list of contact records you supply') and then enumerates the exact normalizations performed (trim, name casing, email/domain lowercase, phone digits, invalid-email flagging). The line 'It adds no outside data' sharply distinguishes it from the lookup/enrichment siblings in the catalog.

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?

The 'records you supply' plus 'adds no outside data' framing makes clear this is for normalizing records already in hand rather than sourcing them, which is the key routing decision against the many directory-style siblings. It stops short of explicitly naming an alternative or stating exclusions for cases like enrichment.

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