Skip to main content
Glama

RegiAI

AI Face Editor

ai_face_editor

Change facial expressions. 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>",
      "expression": "<expression>"
    },
    "name": "ai_face_editor"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesPortrait photo (image). (a file the user uploaded).
expressionYesNew expression

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world behavior. The description adds context annotations cannot express: the operation is asynchronous and returns a generation_id that must be polled via get_generation until completion. It doesn't mention cost, queue latency, or whether the original image is preserved, which keeps it from a 5.

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?

Two short sentences, zero filler, and the core action is front-loaded before the async mechanics. Every sentence earns its place by conveying either purpose or required follow-up behavior.

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

Completeness4/5

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

For a mutation tool with no output schema, the description covers the essential unknown: the return value is a generation_id requiring polling. Combined with 100% schema coverage, this is close to complete; only cost/queue expectations and failure handling are absent.

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 description coverage is 100%, so the image object fields and the expression enum are already fully documented in the schema. The description adds nothing about parameter meaning, format, or constraints. Baseline 3 is appropriate when the schema carries the full parameter burden.

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: 'Change facial expressions.' Combined with the schema's portrait-photo input, an agent can tell this is a face-editing transform, distinct from generator/upscaler style siblings. It does not explicitly name which sibling to prefer instead, so it stops short of a 5.

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 clear operational guidance for the async lifecycle: it returns a generation_id and the agent must call get_generation until status is 'completed.' That is genuinely useful when-to-poll guidance, but there is no guidance on when to choose this tool over alternatives like ai_image_editor or ai_selfie_generator, so usage selection is only implied.

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