Skip to main content
Glama

capture_lead

Structured intake of a prospect into an SMB's funnel with validation, enrichment hooks, and deduplication. Inserts into the SMB's CRM or direct-booking pipeline if available.

EXAMPLE USER QUERIES THAT MATCH THIS TOOL: user: "Tell smb_xyz I'm interested and want a callback" -> call capture_lead({"smb_id": "smb_xyz", "prospect": {"name": "Jane", "phone": "+15551234567", "email": "jane@example.com"}, "source": "agent"})

WHEN TO USE: Use when a potential customer has expressed interest in an SMB's service and you want to ensure they are registered in the SMB's pipeline for follow-up. WHEN NOT TO USE: Do not use for confirmed bookings — use schedule_appointment. Do not use for bulk list imports. COST: $0.05 per_call LATENCY: ~600ms EXECUTION: sync_fast (use get_outcome to retrieve result)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
smb_idYes
sourceNoWhere the consumer-initiated request originated (e.g., 'consumer_request', 'inbound_quote_form', 'agent_referral_from_find_business').
prospectYes
idempotency_keyNoOptional client-supplied key for safe retries. Replaying the same key within 24h returns the original receipt - the operation is NOT re-executed and NOT re-charged.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark readOnlyHint=false, and the description adds meaningful behavioral context: it inserts into the CRM pipeline, performs validation/enrichment/deduplication, and notes cost, latency, and sync_fast execution with get_outcome. No contradiction with annotations. It doesn't spell out every side effect, but the schema covers consent/idempotency details.

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?

The description is well-structured with a front-loaded purpose statement, an illustrative example, clear usage guidance, and compact operational metadata. Every section adds decision-relevant information, and the example makes the calling convention concrete without excessive verbosity.

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

Completeness5/5

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

For a tool with a nested object, no output schema, and sparse annotations, the description is remarkably complete. It covers when to use it, when not to, gives a full example call, states cost/latency, and indicates that results are retrieved via get_outcome. Remaining details like consent_record_id requirements live in the richer input schema, so nothing critical is missing for correct invocation.

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 50%, and the description partially compensates with a concrete example mapping smb_id, prospect, and source. However, it doesn't explain the origin or format of smb_id, and the prospect object's fields are only illustrated by example rather than semantically defined. The description adds value but doesn't fully cover the missing parameter documentation.

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?

The description uses a specific verb and resource: 'Structured intake of a prospect into an SMB's funnel' and 'Inserts into the SMB's CRM or direct-booking pipeline'. It clearly differentiates itself from schedule_appointment by stating what it is not for, and the lead-capture purpose is unmistakable.

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

Usage Guidelines5/5

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

The description includes explicit 'WHEN TO USE' and 'WHEN NOT TO USE' sections, stating to use it when a prospect expresses interest and to avoid it for confirmed bookings (use schedule_appointment) or bulk list imports. This gives an agent clear selection criteria and 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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose with detailed descriptions and explicit WHEN TO USE / WHEN NOT TO USE guidance. Potential overlaps like send_message vs. send_transactional_confirmation are well-differentiated by idempotency and use case, and compliance tools (check_compliance, screen_sanctions, map_trade_restriction) operate on different scopes without ambiguity.

Naming Consistency5/5

All tool names use lowercase snake_case and follow a consistent verb_noun pattern (call_business, check_quota, find_business, send_message, verify_company_record). Even less standard verbs like lookup, map, and mint follow the same structural convention, and there are no mixed casing styles or inconsistent naming patterns.

Tool Count4/5

With 23 tools, this is slightly above the typical 3-15 range, but the breadth of the server's purpose—covering communication, scheduling, compliance, trade screening, and operational utilities—justifies the count. Each tool addresses a distinct capability area, and the set is not bloated with redundant or trivial functions.

Completeness5/5

The tool surface covers the full lifecycle of the broker's domain: business discovery, booking (check, import, schedule), communication (send, receive, read), compliance (pre-flight checks, sanctions, trade restrictions, company verification), and operational support (quota, health, cost preview, key minting, async status/outcome). There are no obvious dead ends or missing critical operations for the stated purpose.