Skip to main content
Glama

Check Generation Status

check_generation_status
Read-only

Check a background code-generation job started by generate_code_for_test_case. Worker-backed deployments return a job_id because generation can take minutes. Poll about every 30s until 'completed', 'failed', or 'timed_out'. Personal Codex / Claude Code seats run one job at a time, so do not queue seat jobs in parallel.

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id returned by generate_code_for_test_case
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only annotations, it explains that generation is asynchronous and may take minutes, why worker-backed deployments return a job_id, and that seat jobs must not be queued in parallel. These are material operational details for correct invocation and polling.

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?

The description is four tight sentences with no filler. It front-loads the core purpose, then layers in polling behavior and the concurrency constraint in a logical order.

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 read-only status-checking tool with no output schema, it is complete enough to call correctly. It covers the upstream producer, polling expectations, terminal states, and the parallel-execution restriction.

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 coverage is 100%, so the schema already documents job_id and the required context parameter. The description only adds the origin of job_id via generate_code_for_test_case, which is useful but does not substantially extend parameter semantics.

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?

It states a specific verb and resource: checking a background code-generation job. It explicitly ties the tool to generate_code_for_test_case, so an agent can distinguish it from unrelated status-checking siblings such as check_ai_review_status or check_ai_crawl_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?

The description gives explicit triggering context: use after generate_code_for_test_case. It also specifies polling cadence (about every 30s), terminal conditions ('completed', 'failed', or 'timed_out'), and a concurrency caveat for seat jobs.

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