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. 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.

Input Schema

TableJSON 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

TableJSON 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.1/5.0
Behavior5/5

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

Annotations only flag readOnlyHint=false, idempotentHint=false and openWorldHint=true; the description goes well beyond them by disclosing that each number is a fresh paid read, that a spend scope is required, that live customer keys draw on balance, that repeating a call can charge again, and how request_id converts a repeat into a safe retry. This is exactly the cost/idempotency behavior an agent needs before invoking a billable open-world tool, and it is consistent with the annotations rather than contradicting them.

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?

The purpose and batch limit are front-loaded, followed by cost, retry and testing guidance in short declarative clauses with no filler. The telegraphic style ('Live customer keys spend balance') is dense but every sentence carries a distinct operational fact.

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?

An output schema exists, so return values need not be described, and the description covers the critical unknowns for a billable bulk tool: spend scope, re-charge risk, retry safety, cost capping and test keys. The remaining gap is sibling routing — nothing tells the agent when to prefer vri_number_lookup, vri_quote or vri_spam_check instead.

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 100%, so the schema already documents phone_numbers, products, max_cost and request_id thoroughly, and the baseline is 3. The description largely restates the schema's cost-cap and request_id semantics ('Use max_cost to cap the quote', 'reuse a stable request_id with identical arguments'), adding only the retry-charge linkage that the schema implies, so there is little net-new parameter meaning.

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?

The description gives a specific verb and resource ('Live lookup'), the batch ceiling (up to 100 North American phone numbers in one call) and the returned data sets (carrier, line type, routing, optional cnam/spam/messaging). It clearly reads as the bulk counterpart to the sibling vri_number_lookup, though it never names that sibling explicitly, so differentiation is inferred from 'bulk'/'up to 100' rather than stated.

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 actionable operational context: use max_cost to cap the quote, use a test key for integration tests, and reuse request_id with identical arguments for a safe retry. What it does not provide is an explicit when-not or a named alternative (e.g. vri_number_lookup for a single number, vri_quote for pricing only), which keeps it short of a 5.

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.