Skip to main content
Glama

Generate Image

beatra.images.generate
Idempotent

Generate one to four images from text without source images. Omit model unless the user explicitly requests one; call beatra.models.list before model or cost comparisons. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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": {
      "prompt": "<prompt>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.images.generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoOptional random seed. Supplying it constrains model eligibility; omit it for model-managed randomness.
countNoRequested output image count. The public range is one through four, and the selected model must support the exact count; Beatra does not split the request.
modelNoOmit or use 'auto' unless the user explicitly requests a concrete model. An explicit model is evaluated exactly as requested and is never substituted.auto
canvasNoDesired output canvas. Presets are quality tiers, and target dimensions may be normalized or vary; inspect output images for actual dimensions.
promptYesRequired prompt containing at least one non-whitespace character.
paletteNoThree to ten weighted RGB colors. Runtime validation requires the weights to sum exactly to 1.0000.
reasoningNoOmit or use null to retain the selected model's documented default; an explicit boolean constrains model eligibility.
enhance_promptNoAsk the model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written; an explicit boolean constrains model eligibility.
negative_promptNoOptional content or qualities to avoid. Supplying it constrains model eligibility and is rejected when no compatible model is available.
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.
output_relationshipNoUse independent for unrelated results, or sequence for a related image set. An explicit value constrains model eligibility and is rejected when unsupported.independent

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

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?

Annotations only declare the safety profile (not read-only, idempotent, non-destructive, open-world). The description adds materially new behavior: the call is billable and consumes credits, it returns an asynchronous task rather than images, it must be submitted exactly once, and client_request_id is only reusable for an identical retry. That is exactly the context annotations cannot convey.

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?

Four short sentences, each carrying a distinct operational fact, with the core purpose front-loaded and the polling/retry instructions following. No filler or restatement of the title.

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 11-parameter, billable, asynchronous generation tool with a full output schema, the description covers the lifecycle (submit once, poll, retry identity) and the model-selection policy. Return values need not be explained because an output schema exists.

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 still adds cross-parameter meaning beyond the schema: the model default policy, the eligibility constraint implied by explicit model/seed/negative_prompt choices, and the retry-identity rule for client_request_id. It does not cover count or canvas, but those are well documented in 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 a scope qualifier: 'Generate one to four images from text without source images.' The 'without source images' clause implicitly separates it from beatra.images.edit and beatra.images.transform, so an agent can route correctly without opening a 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 explicit when-to-use and when-not guidance: omit model unless the user explicitly requests one, and call beatra.models.list before model or cost comparisons. It also names the follow-up tool (beatra.tasks.get) and the retry condition for client_request_id, leaving little to inference.

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