Skip to main content
Glama

Compress a video

compress_video

Reduces the file size of a video while keeping good quality.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compress_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNolight = best quality; maximum = smallest filebalanced
source_idNoInstead of video_url: an upload_id returned by create_upload_link, or the job_id of a finished Klipa job to chain on its result. Empty when video_url is set.
video_urlNoPublic link to a video the user owns or is allowed to edit. Direct file links are not supported (files go through create_upload_link). Empty when source_id is set.

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 cover the mutation and open-world profile, but the description adds almost nothing behavioral: it does not say whether a job is created asynchronously, whether credits are consumed, or that the result must be fetched later. 'Keeping good quality' is a marketing reassurance rather than actionable behavior.

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?

A single short sentence with the outcome front-loaded and no filler. It is efficient, though it spends its only clause on an unverifiable quality claim rather than routing information.

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?

For a three-parameter, non-idempotent mutation with no output schema, the description omits the critical fork between supplying video_url and source_id, and does not describe what the caller receives or how to track the result. The structured data covers parameters but leaves the workflow opaque.

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%, and the schema itself explains the level enum semantics and the source_id versus video_url exclusivity. The description adds no meaning beyond that, so the baseline of 3 applies.

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 and resource (reduces file size of a video) and implicitly separates itself from siblings like resize_video or convert_video by focusing on compression. It does not explicitly name a sibling to distinguish against, 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 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 compression versus resize_video, convert_video, or make_gif, and no mention of prerequisites such as needing an upload or an existing job. The agent must infer the use case from the name alone.

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