Skip to main content
Glama
ysbzc2022

RunningHub Image Gen MCP Plugin

by ysbzc2022

query_task

Check the status and retrieve results of an image generation task using its task ID. Monitor task progress and get image URLs upon completion.

Instructions

Query the status and results of a previously submitted task. Use the taskId returned by text_to_image. Status values: QUEUED (waiting), RUNNING (processing), SUCCESS (completed, results available), FAILED (error occurred). When SUCCESS, results contains image URLs in the 'url' field.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesTask ID returned by text_to_image

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description carries full burden. It explains status values (QUEUED, RUNNING, SUCCESS, FAILED) and what to expect on SUCCESS (image URLs in 'url' field). It does not mention rate limits or auth, but for a read-only query tool, this is sufficient. Could be more detailed about error responses but adequate.

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 three sentences, no wasted words. It front-loads the purpose, then adds status details and result structure. Every sentence adds value; perfect conciseness for a simple query tool.

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?

Given the tool has an output schema, the description explains status and result fields adequately. It mentions the source of taskId and status transitions. For a polling/query tool with one parameter and clear output, the description covers all needed context. No gaps.

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%, and the schema already describes task_id as 'Task ID returned by text_to_image'. The description repeats this, adding no new semantics. Baseline 3 is appropriate since the description does not significantly enhance parameter understanding beyond the schema.

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?

Description clearly states the tool's purpose: 'Query the status and results of a previously submitted task.' It specifies the resource (task) and action (query). It distinguishes from sibling tools (text_to_image, run_text_to_image) by noting the taskId comes from text_to_image, making differentiation explicit.

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?

Description provides clear usage context: use after submitting a task, with taskId from text_to_image. It lists status values and behavior. However, it does not explicitly state when not to use or mention alternative tools, but the sibling differentiation is implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ysbzc2022/runninghub-image-gen'

If you have feedback or need assistance with the MCP directory API, please join our Discord server