Skip to main content
Glama

AniBG

Paint a new background

generate_background

Paint a new anime background (scenery without characters) with the user's AniBG credits, when search_backgrounds has nothing that fits and the user wants it made. Needs the user's AniBG API key on this connection (header Authorization: Bearer anibg_…); without one the tool says where the user gets it, and studio_link is the way instead. Spends bought credits only: 2K costs 1, 4K costs 2 (free sign-up credits are for Studio). Describe a new place with prompt, or start from a library scene (scene, scene_time) or an earlier picture of the user (job) to change its time of day, shape or size, with prompt for changes. Waits up to wait seconds; if the picture is not done by then, call get_generation with its id. Example: {"prompt": "empty rooftop of a school at dusk, chain-link fence, water tank", "time": "sunset"}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_background"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobNoThe id of an earlier picture of this account to start from.
timeNoTime of day or weather (default day).
waitNoSeconds to wait for the picture before answering (0 to 55, default 45). Most take 20 to 60 seconds.
sceneNoA library scene id, like bg-014, to start from.
aspectNoShape (default 16:9; 9:16 for phones).
promptNoWhat the place looks like, in plain words, without people. Required unless scene or job is given; with them, what to change.
qualityNoSize: 2k (1 credit, default) or 4k (2 credits).
scene_timeNoWith scene: which of the scene's pictures to start from (default: time, if the scene has it).

Output Schema

NameRequiredDescriptionDefault
jobYes
nextYes
creditsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Despite annotations already signalling a non-read-only, open-world, non-idempotent call, the description adds real operational context: credit costs per quality tier (2K=1, 4K=2, free credits excluded), the auth header requirement, and the wait-then-poll pattern via get_generation. It does not discuss failure modes such as what happens if credits run out mid-request or whether a partially-created job is retained, so it stops short of full disclosure.

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?

Front-loaded with purpose and routing before costs and parameters, and the inline JSON example is useful. The prose is dense with stacked parentheticals ('(scene, scene_time)', '(free sign-up credits are for Studio)'), which costs a little readability for a definition of this length.

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 an 8-parameter generative tool with an output schema, the description covers what is needed to call it correctly: cost, auth, waiting semantics, the deferred get_generation path, and an example invocation. Return-value explanation is rightly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns a 4 by explaining the interaction between parameters that the schema alone leaves implicit — prompt is a new place on its own, but 'what to change' when combined with scene/job, and scene_time defaulting to time. It still omits detail on how job interacts with scene if both are passed.

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?

States a specific verb and resource — 'Paint a new anime background (scenery without characters)' — and immediately scopes it against the sibling it is not: 'when search_backgrounds has nothing that fits'. An agent can distinguish it from search_backgrounds, get_scene, and studio_link without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use condition (search found nothing and the user wants it made), an explicit prerequisite (AniBG API key on the connection), and an explicit alternative for the failure case (studio_link). Both routing decisions are stated rather than implied.

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