Skip to main content
Glama

Erase region

erase_region

Repaints one or more explicitly defined source-frame regions during specified windows, reconstructing surrounding picture content. Multiple regions can be processed in one request; processing cost depends on the affected windows.

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": {
      "project_id": "<project_id>"
    },
    "name": "erase_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
hNo
wNo
xNo
yNo
endNo
fillNo
startNo
regionsNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the safety profile is partially covered; the description adds that requests can carry multiple regions and that cost scales with the affected windows. It does not disclose whether the erase is reversible, whether it requires a render pass, or what quality artifacts to expect when the surrounding content is reconstructed — meaningful gaps for a non-idempotent edit on footage.

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 tight sentences with no filler, and the core action is front-loaded ahead of the batching/cost note. It could be slightly sharper about what 'repaints' means (content-aware fill vs. solid box), but nothing is wasted.

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?

With 9 parameters, 11% schema coverage, no output schema, and a mutation annotation profile, the description should explain coordinate semantics, the fill modes, and the outcome/reversibility of the edit. It supplies none of that, leaving the definition inadequate for correct invocation of a destructive-in-effect video operation.

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

Parameters2/5

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

Schema description coverage is only 11% (only project_id is documented), so the description carries the burden and largely fails it: it alludes to 'regions' and 'specified windows' but never explains the x/y/w/h coordinate space, the units or defaults of start/end, or what the fill enum values 'text' and 'box' actually produce. An agent reading only the description cannot form a correct request payload.

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 concrete verb and resource — repainting explicitly defined source-frame regions and reconstructing surrounding picture content — which tells an agent this is a content-aware erase rather than a simple mask. It does not, however, distinguish the tool from siblings such as blur_region, erase_burned_text, or remove_erase, so an agent must still guess which one fits its intent.

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 explicit when-to-use or when-not-to-use guidance, and no named alternative for the cases where blur_region or erase_burned_text would be correct. The only quasi-usage advice — 'multiple regions can be processed in one request' — is a batching tip, not a decision rule for choosing this tool.

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.