Skip to main content
Glama

Run status

get_run
Read-onlyIdempotent

Status of a lead search or employee search run: queued, processing, completed, failed or cancelled; how many leads were delivered and what was charged. Pass wait_seconds (up to 25) to wait for progress instead of polling rapidly. Free.

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": {
      "run_id": "<run_id>"
    },
    "name": "get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes
wait_secondsNo

Output Schema

NameRequiredDescriptionDefault
kindNo
errorNo
run_idNo
statusNo
contactsNo
finishedNo
deliveredNo
requestedNo
max_pointsNo
stopped_byNo
billing_urlNo
resource_uriNo
charged_pointsNo
source_exhaustedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / contacts
      Added value: +{
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the description's added context is what matters: it enumerates the terminal and intermediate states, discloses that delivery counts and charges are returned, and notes the call is free. It does not state whether results persist after completion or how long run history is retained, which would be the remaining behavioral detail.

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?

Two sentences with no filler. The status enumeration leads, the value returned follows, and the polling guidance comes last where it is most actionable.

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-value documentation is correctly omitted, and the description covers states, cost, and the wait parameter. The only gap is where a run_id originates, but that is reasonably inferred from the search tools among its siblings.

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?

With 0% schema description coverage the description must carry the semantic load, and it does so for the non-obvious parameter: wait_seconds is explained as a long-poll window bounded at 25 seconds. run_id is left implicit, but its meaning is self-evident from the run resource described.

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 specific resource and operation ('Status of a lead search or employee search run') and enumerates the exact status values plus what is reported (leads delivered, amount charged). This clearly separates it from siblings such as get_results (payload) and cancel_run (mutation).

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?

Gives clear operational context, notably that wait_seconds (up to 25) should be used to wait for progress rather than hot-polling. It does not explicitly route the agent to alternatives like get_results once a run completes, so it stops short of full when-to-use/when-not guidance.

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