Skip to main content
Glama

Agent Desk

check_lead_data

Check a purchased insurance lead for bad data (invalid or fake phone, placeholder or throwaway email, test names, ZIP outside the claimed state) and get a return request for the lead vendor.

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

Input Schema

NameRequiredDescriptionDefault
zipNo
nameNo
emailNo
phoneNo
stateNo
leadIdNo
vendorNo
observedNoWhat happened when you worked the lead
receivedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the validation rule set and that the tool yields a return request, but it leaves a critical ambiguity: whether a return is actually filed with the vendor or merely drafted, and whether the tool is read-only. Nothing is said about cost, permissions, or what happens on a clean lead.

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?

One dense sentence, front-loaded with the action and defect taxonomy, then the output. It is readable and wastes little, though the parenthetical list is long enough that the return-request clause feels tacked on rather than structured.

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

Completeness3/5

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

For a 9-parameter tool with zero required fields, no annotations, and no output schema, the description explains the domain well but omits operational essentials: which inputs are minimally needed to run a check, and what the returned 'return request' contains. It is adequate to understand intent but not fully sufficient to invoke confidently.

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 description coverage is only 11%, so the description must compensate. It does implicitly map several inputs to checks (phone validity, email quality, test names, ZIP-vs-state consistency), which adds meaning beyond the bare schema. However, leadId, vendor, received, and the role of the 'observed' enum array in triggering a return are entirely unaddressed.

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?

States a specific verb and resource ('Check a purchased insurance lead for bad data') and enumerates the exact defect classes it detects (invalid/fake phone, placeholder email, test names, out-of-state ZIP), plus the secondary outcome (a vendor return request). It is clear what it does without opening the schema, though it never explicitly contrasts itself with the similarly named sibling check_lead_contact.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the reader can infer it is for post-purchase lead validation, and the phrase 'get a return request for the lead vendor' hints at the follow-up action. There is no explicit when-to-use, when-not-to-use, or pointing to check_lead_contact / lookup_phone as cheaper alternatives for contact-only checks.

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.