Skip to main content
Glama

Generate image

auteo_generate_image

Submit an image generation. This SPENDS the user's credits (see auteo_estimate_cost). Call auteo_get_model first: models with resolution tiers require an explicit resolution, and aspect ratio / resolution must be a valid combination. Returns a requestId immediately; then call auteo_get_generation to wait for the output URLs. If this call times out, do NOT resubmit blindly: call auteo_list_generations first, and if you must retry, pass the same clientRequestId. If it fails with insufficient credits, tell the user to top up at topUpUrl instead of retrying.

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": {
      "model": "<model>",
      "prompt": "<prompt>",
      "aspectRatio": "<aspectRatio>"
    },
    "name": "auteo_generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNoNumber of images, default 1. Each image is charged.
modelYesImage model id.
promptYes
resolutionNoRequired for models with resolution tiers (e.g. 1K / 2K / 4K). Omit for models without tiers.
aspectRatioYesOne of the model's aspectRatio options, e.g. 1:1.
inputAssetIdsNoReference image assetIds from auteo_upload_image (image-to-image / editing).
clientRequestIdNoIdempotency key. Leave empty; only reuse the value returned by a previous timed-out call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses that the call spends real user credits, that it is asynchronous (returns requestId immediately rather than output URLs), and that idempotency is available via clientRequestId. It also prescribes distinct handling for timeouts and for insufficient-credit failures, which is behavior an agent cannot infer from the schema.

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 cost warning and the prerequisite are front-loaded ahead of the async and error-handling details, matching the order an agent needs them. Every sentence is imperative and actionable, with no restatement of the tool name or filler.

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?

There is no output schema, and the description compensates by explaining exactly what comes back (a requestId) and which tool consumes it. For a 7-parameter, credit-spending, asynchronous mutation, the definition covers prerequisites, cost, return shape, idempotency, and failure recovery — nothing an agent needs to call it correctly is missing.

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 86%, so the baseline is 3; the description earns above that by adding a cross-parameter constraint the schema cannot express — resolution is mandatory for tiered models and must form a valid combination with aspectRatio. It also reinforces the non-obvious clientRequestId rule (leave empty unless retrying a timed-out call), though it does not elaborate on n or inputAssetIds beyond what the schema says.

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?

"Submit an image generation" gives a specific verb and resource, and the surrounding sentences separate this tool from auteo_estimate_cost, auteo_get_model, and auteo_get_generation by role. An agent can identify this as the async submission step without opening the 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?

The description states prerequisites (call auteo_get_model first for resolution tiers and valid aspect-ratio/resolution pairs), the cost-check alternative (auteo_estimate_cost), the follow-up (auteo_get_generation), and explicit recovery paths for timeout and insufficient-credit cases. It even names the anti-pattern to avoid: blind resubmission.

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