Skip to main content
Glama

Neattrim

Probe media

probe_media
Read-onlyIdempotent

Reads a media file's container, codecs, duration, resolution, frame rate, size and audio tracks without changing it. Use to check a file before choosing settings. Runs on Neattrim's servers: any input file is uploaded there.

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": {
      "source": "<source>"
    },
    "name": "probe_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesThe media to process: an https:// URL that returns the file directly, a file_id from create_upload or from an earlier job's output, or (local server only) an absolute file path inside an allowed folder. Links to video-platform pages (YouTube, TikTok, Instagram and similar) are not accepted.

Output Schema

NameRequiredDescriptionDefault
formatYes
streamsYes
size_bytesYes
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and non-destructive, so the description's 'without changing it' is partly redundant, but 'Runs on Neattrim's servers: any input file is uploaded there' discloses a real behavioral consequence — data leaves the caller's environment — that the annotations do not convey. No rate limits or failure modes are mentioned.

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

Conciseness5/5

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

Three short sentences, front-loaded with the read-only nature and outputs, then usage, then the server-upload caveat. No filler.

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?

An output schema exists, so return values need no explanation; the description supplies purpose, when-to-use and the upload caveat. What remains thin is how large files or remote fetch failures behave, which would help an agent calling an openWorld tool.

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 the single 'source' property already documents accepted URL/file_id/path forms and the rejection of platform page links. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb ('Reads') plus resource (a media file) and an explicit inventory of what is extracted: container, codecs, duration, resolution, frame rate, size and audio tracks. That read-only inspection scope clearly separates it from siblings like convert_media or transcribe_media even though none are named.

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?

'Use to check a file before choosing settings' gives a concrete trigger for calling it, squarely placing it before conversion/edit tools. It does not state when not to use it or name an alternative, so it falls short of a 5.

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