Skip to main content
Glama

RegiAI

AI Image Expander

ai_image_expander

Extend images with AI. Runs asynchronously: returns a generation_id; call get_generation until status is "completed".

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": {
      "image": "<image>"
    },
    "name": "ai_image_expander"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesPhoto to expand (image). (a file the user uploaded).
promptNoDescribe the surroundings (optional) (max 300 characters)
aspect_ratioNoNew shape

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false and idempotentHint=false, so the safety profile is covered. The description adds real value by disclosing async execution, the generation_id return, and the polling loop. It does not say whether the result is durable, how long generations live, or whether calls cost credits.

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?

Two short sentences front-loaded with the core action, then the async contract. No filler. The second sentence merges return value and next step efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description explains the return (generation_id) and the polling follow-up, which is the essential part. With a nested image object and an enum parameter, the remaining gaps are minor, but more explanation of how to interpret the result would have helped.

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 the execution context needed to use the returned reference. It does not expand prompt or aspect_ratio semantics beyond 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?

States a specific verb and resource: 'Extend images with AI.' That much is clear, but it never distinguishes itself from sibling image tools such as ai_image_editor or upscale_image, which overlap in intent. The async/result line describes mechanics, not scope.

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

Usage Guidelines3/5

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

Gives explicit workflow guidance: call get_generation until status is 'completed'. It does not say when to choose this tool over the ai_image_editor or upscale_image siblings, so the alternative-selection question is left implicit.

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