Skip to main content
Glama

Reframe a video

reframe_video

Use to change a video's shape, e.g. 16:9 to 9:16 for TikTok/Reels. 2 credits. fit=crop fills the frame (focus 0-1 picks which side to keep); fit=blur keeps the whole picture over a blurred backdrop.

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": {
      "video": "<video>",
      "aspect_ratio": "<aspect_ratio>"
    },
    "name": "reframe_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
fitNocrop
focusNo
videoYesA media_id, a library asset id or url, or a video link.
aspect_ratioYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-readonly, non-idempotent, non-destructive, open-world operation, and the description adds genuinely new facts: it costs 2 credits and explains the two output behaviors (crop fills the frame vs. blur keeps the whole picture). It does not disclose whether processing is synchronous or what is returned, which is the main remaining behavioral gap.

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?

Three compact sentences, each carrying distinct information: purpose/example, cost, and the two fit modes with focus semantics. Nothing is repeated from the schema or annotations, and the cost figure is placed early where it matters.

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?

For a four-parameter mutation with no output schema, the definition covers purpose, cost, and output-shape choices well. It leaves open whether the call returns a job requiring polling and whether credits are refunded on failure, which an agent needs before invoking a credit-charging write operation.

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 only 25% (only 'video' is described), so the description has to compensate, and it does for the two non-obvious parameters: it explains that fit=crop fills the frame and that focus (0-1) selects which side to preserve, plus that fit=blur overlays the full picture on a blurred backdrop. aspect_ratio and video are left to the schema/enum, which is reasonable since the enum values are self-explanatory.

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 names a specific verb ('change a video's shape') and concrete resource, with a worked example (16:9 to 9:16 for TikTok/Reels) that makes the operation unambiguous. It does not explicitly contrast with siblings such as trim_video, but the resource and transformation are distinct enough that confusion is unlikely.

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

Usage Guidelines4/5

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

It gives a clear usage context ('for TikTok/Reels') that tells the agent when this tool is the right pick. It stops short of exclusions or naming alternatives for overlapping needs (e.g., trimming or captioning for the same platforms), so it sits at clear-context-but-no-routing rather than full guidance.

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.