Skip to main content
Glama

像素方舟 PixelArk

查询出图任务

get_generation
Read-only

查询 generate_image 返回「仍在生成」的任务,最多再等待约 50 秒;完成后返回图片地址。

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": {
      "id": "<id>"
    },
    "name": "get_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesgenerate_image 返回的任务 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds genuinely new behavior by disclosing that the call blocks for up to roughly 50 seconds. It omits what is returned on timeout or failure, which is the one behavioral gap left.

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?

A single dense sentence with no wasted words, and the scoping condition plus the wait time are front-loaded before the return 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 no output schema, the description supplies the essential return value (image URL) and the blocking duration, which is what an agent needs before invoking. Only the timeout/failure semantics for this long-polling call are left unstated.

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 single id parameter is already documented as the task ID returned by generate_image, so the description only echoes the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific verb and resource (query the generation task) and pins it to tasks returned by generate_image that are still 'in progress', which cleanly separates it from the generate_image sibling. It also states the outcome: the image URL once complete.

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?

The trigger condition is explicit – call it for a task that generate_image reported as still generating – which is the main routing decision an agent faces. It does not say what to do if the task is already finished or failed, or whether to re-poll after the wait expires.

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