Skip to main content
Glama

Transform Image

beatra.images.transform
Idempotent

Transform one to four ordered reference images with a prompt; when canvas aspect is source, the last reference anchors the ratio. 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>",
      "images": "<images>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.images.transform"
  }
}

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. Preset `source` inherits the last input image's ratio; the omitted default is 2K at 16:9.
imagesYesOrdered artifact, HTTPS URL, or data URI references.
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.
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.6/5.0
Behavior5/5

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

The description adds substantial information beyond the annotations: the call is billable and consumes credits, it creates an asynchronous task, and it must be submitted once and then polled. It also qualifies the idempotentHint annotation by stating that the retry identity is valid only for the exact same arguments. That is exactly the kind of context structured fields cannot carry.

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?

Five tight sentences, with no filler, and the primary purpose is front-loaded before operational rules. The semicolon-joined clause on source-ratio anchoring is dense but appropriately placed next to the input description.

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 async tool with an output schema, the description covers the operations that matter: cost, asynchronous lifecycle, polling, retry identity, model selection, and ratio inheritance. Return-value shape is correctly 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, but the description adds real meaning beyond the schema: when the canvas aspect is "source", the last reference image anchors the ratio. The model guidance also overlaps the enum default with usage judgment, which adds value beyond the schema. The parameter-specific details are otherwise left to the schema.

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 leads with a specific verb and resource: "Transform one to four ordered reference images with a prompt." It also pins down the canvas-ratio behavior on the input side. It does not, however, distinguish this from the sibling image tools beatra.images.edit or beatra.images.generate, so an agent must infer the boundary between transform, edit, and generate.

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?

It gives explicit operating guidance that an agent can act on: omit the model unless the user asks for one, call beatra.models.list before comparing models or costs, submit exactly once, poll with beatra.tasks.get, and reuse client_request_id only for an identical retry. It names the exact alternative tools for the model-listing and polling steps, so nothing is left 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