Skip to main content
Glama

Start a lead search

create_lead_search

Start a live search for one business type in one city: LeadsIt searches public business listings live, then reads each business website for emails, phones and social profiles. Spends 1 search credit, so check search_leads first. Takes 1 to 4 minutes; set waitSeconds (up to 50) to wait here, or poll get_search_status. Read the results with search_leads and the searchId.

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": {
      "businessType": "<businessType>",
      "city": "<city>"
    },
    "name": "create_lead_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity, e.g. "Lyon" or "Austin, TX"
waitSecondsNoSeconds to wait for the results (default 0)
businessTypeYesBusiness type to find, e.g. "dentists", "plumbers", "hotels"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantive behavior beyond the annotations (openWorldHint/readOnlyHint false): it costs 1 search credit, runs live against external public sources plus each business website, and takes 1 to 4 minutes. The only gap is failure/partial-result behavior on timeouts or exhausted credits, which is left implicit.

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?

Three tightly packed sentences, front-loading what the tool does, then cost, then latency/handoff. Every clause carries operational information; nothing is repeated from the title.

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 non-idempotent, credit-consuming, slow tool with no output schema, the description covers cost, latency, waiting strategy and the follow-up path. It is only slightly incomplete in not stating what the call returns immediately (e.g., that a searchId is produced) or what happens if credits run out mid-call.

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 coverage is 100% so the baseline is 3, but the description earns extra by explaining waitSeconds as a blocking alternative to polling and citing its 50-second ceiling and default-0 behavior in context. businessType and city add nothing beyond the schema examples, which is acceptable.

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 concrete verb and resource with explicit scope: 'Start a live search for one business type in one city', and adds what the search actually does (public listings plus per-website email/phone/social reads). This differentiates it from siblings like search_leads (reading results) and get_search_status (polling).

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?

Gives explicit when-to-use routing: check search_leads first to avoid spending a credit, use waitSeconds to block here, or poll get_search_status instead, then read results with search_leads and the searchId. Alternatives and the condition selecting each are named.

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