Skip to main content
Glama

Job status

job_status
Read-onlyIdempotent

Check a lead-generation job's status by ID; when the run finishes, retrieve its step result and the next step with a cost estimate.

Instructions

A job's status; once its run finished, the step's result and the next step with its cost estimate.

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": {
      "job_id": "<job_id>"
    },
    "name": "job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesA job id from an earlier step (lg2_...).
wait_sNoSeconds to wait for the runs before returning a job id (default 45).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, open-world, and non-destructive safety traits. The description adds some return behavior—finished runs expose a step result and next step with cost estimate—but it does not explain pending-job behavior, status values, or error handling.

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?

It is concise and front-loads the core purpose in one sentence. The fragmentary grammar ('A job's status; once its run finished...') makes it slightly harder to parse than necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter status tool with no output schema, the description gives limited return-value detail and omits how to interpret an unfinished job. The schema and annotations cover parameters and safety, but the output behavior remains under-described.

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%, and the description does not add syntax or constraints beyond the schema. It mentions 'next step with its cost estimate' only as output, not 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 identifies the resource (a job) and what is returned (status, then step result and next-step cost estimate after the run finishes). It is specific enough to distinguish from the listed lead/business siblings, though phrased as a fragment rather than a clear verb-led statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It offers no explicit when-to-use guidance, prerequisites, or alternatives. The only usage cue is implicit in the phrase 'once its run finished' and in the schema's job_id description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.