Skip to main content
Glama

KEEP Highlights

condense_media

Squeezes and cuts the given media URL according to the provided segment intervals [[start, end], ...] without re-encoding quality loss (-c copy stream muxing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
segmentsYesList of [start_seconds, end_seconds] timestamp pairs to preserve and stitch together.
media_urlYesPublicly accessible HTTPS URL of the source media file.
output_formatNoTarget container format. Defaults to mp4.mp4

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true. The description adds useful context that the cut is lossless via '-c copy stream muxing', implying a fast remux rather than a re-encode, but it never says what happens to the source or where the resulting file is written/returned — a notable gap for an open-world write tool with no output schema.

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 dense sentence that front-loads the operation and appends the key implementation detail. Nothing is wasted, though the mechanism detail could be slightly better separated from the core action for scanning.

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 an open-world tool that fetches an external URL, mutates by trimming, and has no output schema, the description covers the method but omits the return value/destination of the condensed media and any constraints on segment validity or size limits. It is adequate but leaves the agent guessing about the outcome.

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%, so all three parameters (media_url, segments, output_format) are fully documented in the schema, establishing the baseline of 3. The description restates the segment-interval shape already given in the schema and adds no extra semantics such as timestamp units, ordering, or overlap handling.

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 clear verb+resource ('squeezes and cuts the given media URL') plus the exact mechanism (segment intervals, stream copy), so an agent knows precisely what the tool produces. It does not, however, differentiate itself from the sibling discover_highlights, which the agent must infer is a separate discovery step.

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 mention of the sibling discover_highlights, even though the two clearly form a pipeline (find highlights, then condense). The agent must infer that this is the mutating/condensing step from the verb 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