Skip to main content
Glama

get_job_result

Read-only

Retrieve the image path, metadata path, and settings of a finished image-generation job by job ID, with an optional small JPEG preview.

Instructions

Return the image path, the metadata path and the settings of a finished job.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes
include_previewNoAdd a small JPEG preview (about 384 px).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that only finished jobs are relevant and what artifacts are produced, but says nothing about what happens for an unfinished or unknown job_id, or about error behavior.

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?

A single efficient sentence with the output contract front-loaded and no filler. It is perhaps too terse for a tool whose results and preconditions matter, but 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?

With no output schema, the description must convey return values, and it does so only at a high level (paths and settings) without describing structure, whether the preview is a separate field, or failure modes. Adequate for a simple read-only two-parameter tool, but not thorough.

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 50%: include_preview is documented in the schema ('Add a small JPEG preview'), but job_id has no description anywhere. The description's 'a finished job' hints at job_id's meaning, but it never explains the job_id format or how include_preview affects the returned paths.

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 uses a specific verb ('Return') and enumerates the concrete outputs: image path, metadata path, and settings. The phrase 'of a finished job' implicitly distinguishes it from get_job_status polling, though it never names a sibling explicitly.

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

Usage Guidelines3/5

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

'of a finished job' implies the precondition that the job must be complete, which is a useful usage cue. However, there is no explicit statement of when to call this versus get_job_status, nor what to do if the job is still running.

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