Skip to main content
Glama

lookup

Bulk Lookup

vri_bulk_lookup

Live lookup for up to 100 North American phone numbers in one call (carrier, line type, routing; optional cnam/spam/messaging). Each number is a fresh paid read — spend scope required. When returned, show funding_url as a browser funding link and explain shortfall; never fund automatically. Live customer keys spend balance. Repeating a call can charge again; reuse a stable request_id with identical arguments for a safe retry. Use max_cost to cap the quote. Use a test key for integration tests.

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": {
      "phone_numbers": "<phone_numbers>"
    },
    "name": "vri_bulk_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_costNoMaximum quoted cost in USD; rejected before lookup if exceeded.
productsNoData sets per number. Default ['lrn'].
request_idNoStable unique ID for this operation. Reuse with identical arguments to retrieve its receipt without another charge.
phone_numbersYesUS/Canada numbers, any common format (max 100)

Output Schema

NameRequiredDescriptionDefault
resultsNo
total_chargedNoUSD amount billed for this call

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / max_cost
      Added value: +{
      +  "description": "Maximum quoted cost in USD; rejected before lookup if exceeded.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / phone_numbers / minItems
      Added value: +1
    • addedInput schema / properties / products / minItems
      Added value: +1
    • addedInput schema / properties / request_id
      Added value: +{
      +  "description": "Stable unique ID for this operation. Reuse with identical arguments to retrieve its receipt without another charge.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses that each number is a fresh paid read, that spend scope is required, that repeating a call can charge again, and that a request_id makes retries safe. It also prescribes the funding_url/shortfall handling and forbids automatic funding — exactly the behavioral context an agent needs for a paid, non-idempotent operation.

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?

Six short sentences, front-loaded with scope and cost, then retry safety, then cost capping. Every sentence carries an operational fact with no filler.

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?

The tool is a paid, non-idempotent bulk lookup with an output schema already present, and the description covers cost model, spend requirements, retry semantics, and funding-error handling. Nothing an agent needs to call it safely is missing.

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 already 100%, so the baseline is 3; the description adds value by explaining why request_id matters (charge avoidance) and what max_cost does as a quote cap. It does not elaborate on the product enum values (cnam/spam/messaging) or number formatting beyond the schema's own notes.

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 names a specific verb (live lookup), resource (up to 100 North American phone numbers), and data returned (carrier, line type, routing; optional cnam/spam/messaging). This distinguishes it from siblings like vri_number_lookup (single number) and vri_bulk_status, since bulk-ness and the per-number product set are explicit.

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?

It gives clear operational guidance: reuse request_id with identical arguments for retries, use max_cost to cap the quote, and use a test key for integration tests. It does not explicitly contrast with vri_quote or vri_number_lookup, so the sibling-routing dimension is only implied.

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.