Skip to main content
Glama

RegiAI

Restore photo

restore_photo

Repair scratches and damage in old photos.

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": "restore_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesInput image (a file the user uploaded).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=false, so the mutation profile is known. The description adds nothing on top: it says nothing about what is produced, whether processing is synchronous or a job must be polled, how long it takes, or whether the original image is modified versus a new one returned — all material for a generative operation flagged as non-idempotent.

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?

One short, front-loaded sentence with no filler or redundancy. It is efficient, though the brevity is achieved partly by omitting information rather than by tight editing of richer content.

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

Completeness2/5

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

The tool has a fully described single input but no output schema, and the description never indicates what the agent receives back or how to retrieve it. For a non-idempotent image-generation-style operation, that missing result contract leaves the definition under-complete despite the simple parameter surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the single nested 'image' parameter with its file_id/download_url/mime_type fields is fully documented in the schema, so baseline 3 applies. The description contributes no additional constraint such as accepted formats, size limits, or whether the nested file object must reference a previously uploaded asset.

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 gives a specific verb and resource: 'Repair scratches and damage in old photos,' which tells an agent exactly what the operation does at a functional level. It does not, however, differentiate itself from near-neighbors such as ai_image_editor or ai_photo_colorizer, so the agent must infer the boundary between restoration and generic editing or colorization.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool over alternatives, no preconditions (e.g., the input must be a photo of suitable quality/resolution), and no exclusions. The only hint is the word 'old,' which implies but never states the intended use case.

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