Skip to main content
Glama

Tools For Free

Wait on a job

get_job
Read-onlyIdempotent

Keep waiting on a job convert_file handed back unfinished, or one sent to the HTTP API, and return its download link once it is done.

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": {
      "taskId": "<taskId>",
      "engine": "<engine>",
      "format": "<format>"
    },
    "name": "get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
engineYesThe engine named in the same answer.
formatYesThe format the job writes, e.g. "jpg": the format from the same answer.
taskIdYesThe taskId from convert_file's answer, or from the HTTP API's.

Output Schema

NameRequiredDescriptionDefault
hintNo
nextNo
errorNo
stateNo
engineNo
formatNo
reasonNo
taskIdNo
expiresNo
failureNo
messageNo
downloadNo
progressNo
outputBytesNo
downloadBeforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world profile, so the safety story is covered. The description adds a real behavioral trait — the call blocks and persists until completion, then yields a download link — but says nothing about timeout behavior, failure outcomes, or what happens if the job has already expired. Useful but thin beyond the structured data.

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?

One sentence with zero padding, and the key condition (an unfinished job from convert_file or the HTTP API) is front-loaded before the returned value.

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?

With full schema coverage, annotations, and an output schema covering the download link, the description only needs to establish the polling context, which it does. The remaining gap is completion/failure semantics for a long-running wait, which an agent would benefit from knowing but which is partially implied by 'return its download link once it is done'.

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%, so taskId, engine and format are already documented with their provenance (from convert_file's answer or the HTTP API). The description only echoes that taskId comes from those sources and adds no syntax, validation, or format details of its own, so the baseline 3 applies.

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 uses a specific verb and resource — wait on a job and return its download link — and explicitly ties it to convert_file's unfinished output, so an agent can tell it apart from convert_file itself without opening either schema.

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 states the trigger condition clearly: use this when convert_file or the HTTP API handed back a job that is not finished yet. However, it gives no guidance on when to stop waiting, how often to re-call, or what to do if the job never completes.

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