Skip to main content
Glama

AniBG

Check a painted picture

get_generation
Read-only

A picture started with generate_background, by its id: its status, and when done the link to give the user. Needs the same API key. Waits up to wait seconds for it to finish. Example: {"id": "3f9a2c…"}

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
idYesThe job id from generate_background.
waitNoSeconds to wait for the picture before answering (0 to 55, default 30). Most take 20 to 60 seconds.

Output Schema

NameRequiredDescriptionDefault
jobYes
nextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, non-destructive, open-world, non-idempotent), and the description adds real value on top: the call blocks for up to `wait` seconds, it shares auth with generate_background, and it yields a link only when the job is done. It does not describe error behavior or what is returned if the wait expires, which keeps it from a 5.

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?

Three short clauses plus a compact example, with the resource and its origin front-loaded. No filler sentences, though the phrasing is slightly run-on and the example is of limited value given the schema's pattern constraint.

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?

For a two-parameter polling tool with an output schema, this covers the essentials: origin of the id, auth requirement, blocking behavior, and the shape of the useful result. The only gap is what a caller sees when the job is still pending after the wait window, which the output schema likely handles.

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 documents both `id` (pattern, source) and `wait` (range, default, typical durations) in detail. The description's inline example of an id adds only marginal meaning, and 'waits up to wait seconds' restates the schema. Baseline 3 is appropriate.

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 identifies a specific resource — a picture job created by generate_background — and what it returns (status, and the link once done). Naming generate_background as the origin distinguishes it from siblings like get_scene or download_image. The verb itself ('check', 'get') is only implied, hence not a 5.

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 precondition clearly: the id must come from a generate_background call, and the same API key is required. It implies this is the polling step after generation and that the resulting link is what you hand to the user rather than a separate download call. No explicit when-not or named alternative is given, so it falls short of a 5.

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