Skip to main content
Glama

lookup

Submit Async Job

vri_submit_job

Submit an ASYNC bulk lookup job for up to 10000 North American phone numbers. Balance is reserved up front and the job runs in the background; check progress with vri_bulk_status. Requires a customer API key (jobs bill the account that owns the key). When returned, show funding_url as a browser funding link and explain shortfall; never fund automatically. When returned, show job_ui_url for browser progress and use results_tool with results_tool_arguments to read stored results. Links require authentication and do not guarantee results are ready. 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_submit_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_costNoMaximum quoted cost in USD; rejected before lookup if exceeded.
productsNoDefault ['lrn'].
request_idNoStable unique ID for this operation. Reuse with identical arguments to retrieve its receipt without another charge.
phone_numbersYesUS/Canada numbers to process asynchronously (max 10000)

Output Schema

NameRequiredDescriptionDefault
job_idNoUse with vri_bulk_status
statusNo
reservedNoUSD balance reserved for the job

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

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

Far exceeds the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false) by disclosing the billing model: balance reserved up front, live keys spend balance, and repeat calls can charge again. It also explains the conditional idempotency contract for request_id and the meaning of funding_url and job_ui_url, plus the caveat that links require auth and don't guarantee readiness.

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?

Front-loaded with purpose and scope, then arranged by action (fund, monitor, read results, retry, test). It is dense and reads as a run-on sequence of directives, but essentially every sentence carries operational information the agent cannot get from the schema or annotations.

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 billable async submission with an output schema, the description covers the full loop: submission limits, funding shortfall handling, progress monitoring, results retrieval via results_tool/results_tool_arguments, and charge-safe retries. Nothing material is missing for correct invocation.

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 a baseline of 3 applies, but the description adds real semantics: max_cost caps the quote, and request_id is a stable retry key that avoids a second charge. It says nothing about the products parameter, leaving that entirely to the schema.

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?

Opens with a specific verb, resource, mode and scope: 'Submit an ASYNC bulk lookup job for up to 10000 North American phone numbers.' It immediately distinguishes itself from the sync lookup siblings by naming async/bulk and routing progress checks to vri_bulk_status.

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 routing ('check progress with vri_bulk_status'), a cost-control lever ('Use max_cost to cap the quote'), and an environment rule ('Use a test key for integration tests') that separates experimentation from spending real balance. It also warns against blind retries and names the safe alternative (reuse request_id with identical arguments).

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.