Skip to main content
Glama

generate_image

Destructive

Generate 1–12 images (text-to-image, or edit/combine images passed as VerseIn media URLs). Spends the user's coins: call estimate_cost first and tell the user the price. Calls above the confirmation threshold return needs_confirmation with a confirmation_token; ask the user, then call again with it. Returns task ids; follow them with get_tasks. Never use it to swap faces or to put a real person's face or identity onto someone else; such requests are refused. Generating through an AI assistant is charged in VerseIn coins. Unlimited-plan allowances do not apply here.

Input Schema

NameRequiredDescriptionDefault
itemsYes1 to 12 generations, each a complete set of settings
request_idNoyour id for this call; retrying with the same id never charges twice. Use a new id to intentionally repeat identical settings
max_total_coinsNothe most this request_id may charge in total across all attempts: coins already charged for its earlier tasks plus the price of what is still to submit. Send the exact total the user agreed to; if the request total would exceed it, nothing is submitted and needs_confirmation returns the new request total
confirmation_tokenNothe confirmation_token a needs_confirmation answer returned, passed back once the user agreed to that price

Output Schema

NameRequiredDescriptionDefault
errorNopresent only when the call failed
tasksNo
failedNo
balanceNobalance after submitting
declinedNotrue when the user declined the confirmation form; nothing was submitted or charged
next_actionNo
total_cost_coinsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds the crucial business behavior an agent could not infer: it spends coins, has a confirmation threshold that returns needs_confirmation + token, and refuses face-swap/identity requests. It also notes that unlimited-plan allowances do not apply, which is a non-obvious billing caveat.

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?

The critical constraints (coin spend, estimate first, refusal policy) are front-loaded in the first few clauses, and every sentence carries operational information. There is minor redundancy between 'Spends the user's coins' and the closing 'charged in VerseIn coins' sentence, but the density is justified for a paid, multi-step, destructive operation.

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 destructive, billable, asynchronous generation tool, the description covers cost estimation, the confirmation handshake, follow-up via get_tasks, and the prohibited-use policy. Since an output schema exists, return-value detail is correctly omitted, leaving no material gap for correct invocation.

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 description coverage is 100%, so the schema already documents items, request_id, max_total_coins and confirmation_token individually; the baseline would be 3. The description adds cross-parameter workflow meaning — the token is 'passed back' after confirming a price and the retry loop is described — which helps the agent order its calls, but it does not add per-field syntax 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?

States a specific verb and resource plus scope: 'Generate 1–12 images (text-to-image, or edit/combine images passed as VerseIn media URLs).' It also implicitly separates itself from siblings like generate_video, upscale_image, relight_image and edit_video by naming the exact modality and the edit/combine mode.

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 explicit preconditions and sequencing: 'call estimate_cost first and tell the user the price', then re-call with a confirmation_token, then follow task ids with get_tasks. It also states an explicit exclusion ('Never use it to swap faces or to put a real person's face or identity onto someone else'), so both when-to-use and when-not-to-use are covered.

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