Skip to main content
Glama

Agent Desk

check_lead_contact

Can an insurance agent contact this lead, by manual call, autodialed or prerecorded call, or text, and when? Checks consent (does it name you, cover texts and automation), the National and state Do Not Call rules, state calling hours and call caps, licensed-agent exemptions, Medicare limits and lead-vendor contract windows. Returns go / wait / check / stop per channel with citations. Send one lead, or leads (up to 1,000) plus shared defaults.

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_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoISO time to check; defaults to now
zipNo5-digit ZIP; used when state is missing and cross-checked when both are given
lineNo
leadsNo
phoneNoThe lead's phone number. Places the lead by area code when no state or ZIP is given, and its area code's calling hours also apply
stateNoTwo-letter state of the lead, e.g. FL
vendorNoLead vendor name
ownLeadNoTrue if the person contacted your agency directly (not a bought lead)
defaultsNo
lineTypeNoLine type of the number, if you know it
optedOutNoThe person asked you to stop
agencyNameNoYour agency name, to check whether the consent names you
contactLogNoISO times of earlier sales contacts to this person; gives the exact time a call limit reopens
onStateDncNoResult of the state Do Not Call scrub, if the state keeps one
consentTextNoThe exact consent wording the person agreed to
inquiryDateNoWhen the lead submitted the form (ISO date)
callsLast24hNoSales contacts made to this person in the last 24 hours
lastDncScrubNoDate of your last registry scrub (ISO date)
onInternalDncNoOn your internal do-not-call list or opted out
onNationalDncNoResult of your National Do Not Call scrub, if known
licensedStatesNoStates you are licensed in
consentNamesYouNoSet if you already know whether the consent names you
callerIsLicenseeNoThe licensed agent is personally making the call (applies OK and IN exemptions)
lastPurchaseDateNoDate of the person's last purchase from you, for existing customers (ISO date)
requestedContactNoThe person asked you to contact them (matters for Medicare)
certificateClaimedNoWhether you claimed the TrustedForm or Jornaya certificate
partnerListIncludesYouNoThe consent names "partners" and your agency is on that linked partner list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it enumerates the rule domains checked (consent naming, National and state DNC, calling hours and caps, licensing exemptions, Medicare limits, vendor contract windows) and states the output shape — go/wait/check/stop per channel with citations. It does not say explicitly that the call is read-only/no side effects, which is the main remaining gap for a zero-annotation tool.

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?

Two sentences, front-loaded with the core question, with the batching instruction placed last where an agent looks for invocation details. The middle enumeration of legal domains is dense but each item maps to a distinct rule area the tool evaluates, so little is pure filler.

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 27-parameter, nested-object tool with no annotations and no output schema, the description covers the domain scope, the return vocabulary, and batch semantics. The notable omission is minimum viable input — with every field optional, an agent is not told what must be supplied (phone, state, or ZIP) for a meaningful verdict.

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 89%, so the baseline is 3; the schema already explains all 27 fields including enums and nested objects. The description adds one genuinely new semantic — that `defaults` is shared across `leads` and that batches cap at 1,000 — but adds nothing about which fields are minimally needed, despite zero required parameters.

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?

Opens with a concrete question the tool answers — whether an insurance agent may call/text a lead and when — naming specific channels (manual, autodialed, prerecorded, text). That is a specific verb+resource, but it never distinguishes itself from siblings like check_calling_window or state_telemarketing_rules, which the 'state calling hours' clause visibly overlaps.

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 invocation shape: send one lead, or `leads` (up to 1,000) plus shared `defaults`, which tells the agent both single and batch modes exist and the batch ceiling. It stops short of saying when to prefer this over the narrower sibling checks, so there is context but no explicit routing between alternatives.

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.