Skip to main content
Glama

media_tools_probe

What a media file really is: container, codecs, size, frame rate, bitrate, rotation, whether it can start playing before it finishes downloading, whether browsers will play it, and plain notes on what to fix. Price: $0.01 USDC via x402, charged only on success. Part of Media tools: Video and audio chores for sites, apps and docs: turn a clip into a small GIF or animated WebP, compress video to web-ready MP4/WebM with a poster, pull thumbnails and a contact sheet, extract or convert audio with loudness normalization, draw waveforms, and probe a file for what will not play in browsers..

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": "media_tools_probe"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoMedia file as base64.
fileUrlNoLink to a video or audio file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and delivers the most important non-obvious behavior: a $0.01 USDC x402 charge that is levied only on success. That is exactly the kind of cost/side-effect context annotations would otherwise provide. It omits error behavior, size/time limits on inputs, and latency expectations for large files, so it is not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is dense with genuinely useful output detail, but it is not front-loaded with a verb, and the trailing "Part of Media tools…" paragraph is a catalog of unrelated sibling capabilities (GIF, waveform, thumbnails, audio conversion) that does not help an agent decide to call this tool. Roughly half the text is off-target for selection purposes.

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?

There is no output schema, and the description steps in well by enumerating the fields returned (container, codecs, bitrate, rotation, fast-start, browser compatibility, remediation notes). Combined with the pricing disclosure, an agent knows what it gets and what it costs. Remaining gaps are input constraints (max file size, accepted formats, base64 vs URL tradeoffs) and failure modes.

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% and both parameters (file as base64, fileUrl as URI) are fully documented in the schema, so the baseline of 3 applies. The description adds nothing about either input — no guidance on choosing base64 versus a URL, no size limits, no format restrictions — so it neither compensates nor detracts.

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 concrete enumeration of what the tool reports — container, codecs, size, frame rate, bitrate, rotation, fast-start capability, browser playability, and fix notes — which makes it unambiguously the diagnostic/inspection tool among media siblings like video_compress or video_to_gif. It never states a clean verb+resource ("probe") in the leading sentence, and it doesn't name a sibling it is not, 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 Guidelines3/5

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

Usage is only implied: the tool tells you what will not play in browsers and what to fix, which suggests pre-compression diagnosis, but there is no explicit "use this when…" clause, no exclusion of the transcode siblings, and no statement about when to prefer fileUrl over base64. An agent can infer the diagnostic role but must reason about it.

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