Skip to main content
Glama

Compare media files

compare_media
Read-only

Compare two or more video files side by side and highlight every spec that differs to identify master/export or camera-angle mismatches.

Instructions

Compare two or more files side by side (e.g. master vs. export, or two camera angles) and highlight every spec that differs.

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": {
      "paths": "<paths>"
    },
    "name": "compare_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes2–8 absolute file paths.
only_differencesNoShow only rows that differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds no behavior beyond that — it doesn't say how the differences are presented, whether all files must share a container, or how large a comparison is practical, and the 2–8 file cap comes from the schema rather than the text.

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 well-formed sentence with the core action front-loaded and the examples parenthesized rather than belabored. Nothing is wasted, though the trailing 'highlight every spec that differs' slightly muddies the relationship with the only_differences flag.

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 simple read-only, two-parameter tool with no output schema and fully covered parameters, the description is nearly sufficient. The remaining gap is the undefined notion of 'spec' — an agent cannot tell which attributes are compared, which matters for deciding whether this tool answers a given question.

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 coverage is 100%, so paths and only_differences are already fully documented. The description's 'two or more files' is consistent with the schema's minItems/maxItems but adds no meaning, and only_differences is not mentioned at all. Baseline 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?

Names a specific verb (compare) and resource (two or more files) and clarifies with concrete examples (master vs. export, two camera angles). It implicitly separates itself from single-file siblings like probe_media, but never names an alternative explicitly.

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?

The examples give clear context for when this tool is the right choice — comparing a master against an export or two camera angles. There is no statement of when not to use it or which sibling to pick for other cases, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.