Skip to main content
Glama

video_compress

Read-onlyIdempotent

Compress a video toward a target file size (targetFileSize such as 25MB; default half the original) client and server side from freedailypro -- two-pass encode, a floor bitrate is enforced below which quality degrades too much to be worth watching

Input Schema

NameRequiredDescriptionDefault
fileBase64Yes
targetFileSizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / targetFileSize
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / targetPercent
      Removed value: -{
      -  "default": 0.5,
      -  "maximum": 1,
      -  "minimum": 0,
      -  "type": "number"
      -}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds useful behavioral detail beyond that: it uses two-pass encoding and enforces a floor bitrate below which quality would degrade too much, which helps the agent understand possible quality/size tradeoffs. It does not describe the return value or how the compressed video is delivered, and the "client and server side from freedailypro" phrase is unclear.

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?

The core purpose, target-size behavior, default, and encoding approach are front-loaded in a single dense sentence. The phrase "client and server side from freedailypro" is unnecessary and slightly confusing, but the overall description is compact.

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?

Given two parameters, no output schema, and useful annotations, the description covers purpose and size targeting but omits what the tool returns and any input format expectations for fileBase64. For a media-processing tool, the absent output/delivery detail is a meaningful gap.

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 0%, so the description must carry parameter meaning. It explains targetFileSize well, including the 25MB-style format and the default of half the original, but it does not explain fileBase64 at all. One of two parameters is covered meaningfully, the other is left to the schema/name.

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 states a specific verb and resource ("Compress a video") plus the key control (target file size), so the agent can identify the operation immediately. It does not explicitly distinguish the tool from nearby siblings such as video_convert or video_merge.

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?

It implies the use case: reducing a video toward a target size, with a sensible default of half the original when targetFileSize is omitted. It gives no explicit guidance about when to choose this over video_convert or other video tools, and does not mention constraints such as supported formats or input size limits.

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