Skip to main content
Glama

get_task

Check the status and retrieve results of media generation tasks, including image URLs when processing is complete.

Instructions

Get the status and result of a generation task. Returns image URL when completed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesTask UUID returned from generate_image

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.6

TDQS

A3.9/5.0
Behavior3/5

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

No annotations provided, so description must convey behavior. It explains that image URL is returned when completed, which is key. However, does not mention behavior for incomplete or failed tasks, or polling expectations.

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?

Two brief sentences that are front-loaded with the main action. No unnecessary words; every sentence adds value.

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 simple tool with one parameter and no output schema, the description adequately covers what it does (get status/result) and what it returns (image URL when completed). No gaps given the simplicity.

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?

Input schema covers the single parameter (task_id) with 100% coverage. The description adds no additional meaning beyond what the schema already provides, aligning with baseline of 3.

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?

Clearly states it gets status and result of a generation task, and specifies return of image URL when completed. Distinguishes from sibling tools like generate_image (creation) and list_tasks (listing all tasks).

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?

Implies use for checking completion of a generation task, but lacks explicit guidance on when to avoid or alternatives. Does not exclude other uses.

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