Skip to main content
Glama

get_job_result

Read-onlyIdempotent

Status of a job started by a generate_* tool; when complete, the download URLs. The links are valid for a short time (see downloads_note); call this tool again for fresh ones.

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>",
      "api_key": "<api_key>"
    },
    "name": "get_job_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
api_keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real context beyond them: results arrive asynchronously, links are short-lived, and repeated calls yield new URLs — the last point justifies the idempotent-but-not-cacheable nature of the call.

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?

One compact sentence pair with the essential information (status, then URLs, then expiry) front-loaded in the order an agent needs it. The elliptical grammar ('when complete, the download URLs') is terse but not confusing; nothing is wasted.

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?

An output schema exists, so return values needn't be spelled out, and the expiry behavior is well covered. However, with zero schema coverage and an api_key requirement, the definition leaves the agent without guidance on obtaining a job_id or authenticating — a meaningful gap for an authenticated polling tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description must compensate and does not. It never explains where job_id comes from (presumably the generate_* response) or how api_key is supplied, leaving an authenticated two-parameter tool entirely undocumented at the parameter level.

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?

The description states a specific resource and outcome: the status of a job started by a generate_* tool, plus the download URLs once complete. By naming the generate_* family as the producers, it cleanly separates this polling tool from the generation tools in the sibling catalog.

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 makes the entry condition clear (this is called on a job started by a generate_* tool) and gives an explicit follow-up rule: call again to get fresh links. It stops short of naming any alternative tool or stating exclusions, but the when-to-use context is unambiguous.

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.