Skip to main content
Glama

Facts of files

file_facts
Read-onlyIdempotent

Measure sound files by path to read each one's guessed type, length, format, level, loudness, root, key, tempo, shape and History, without opening their folder.

Instructions

Measure sound files named by path and read each one's card — what it is, how sure and what else it might be; four words for how long, bright, noisy and pitched it is; its length, format, level, loudness, root, key, tempo, shape and History — as the Library measures them, without opening their folder. For a whole folder, library_open and library_query.

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

Input Schema

NameRequiredDescriptionDefault
pathsYesthe files to measure

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds non-obvious behavior: it measures 'without opening their folder', meaning it does not traverse or import anything, and it discloses the returned content. It does not mention cost/rate characteristics for a 64-path batch or what happens on unreadable paths.

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?

Everything sits in one long em-dash chain followed by a short routing sentence; the alternative-tool pointer is correctly saved for last. However, the field enumeration is padded with figurative language ('read each one's card', 'four words') that costs precision without adding information, when a plain field list would be shorter and clearer.

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, so the description must carry the return contract — and it does enumerate identity guess, four perceptual descriptors, length, format, level, loudness, root, key, tempo, shape and History. That is enough for an agent to decide relevance. Gaps remain in error behavior and the exact meaning of 'four words' for the perceptual values.

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?

Only one parameter and the schema already documents it fully (array of paths, '~ is home', max 64). The description adds that each path must name a sound file, which is mild extra meaning. With 100% schema coverage, the baseline of 3 is appropriate.

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 verb and resource — 'Measure sound files named by path' — plus the shape of what comes back (identity guess with confidence, four perceptual descriptors, and technical fields like key/tempo/level). The ornate phrasing ('read each one's card', 'four words for how long, bright, noisy and pitched') blurs the exact field names, but an agent can still tell this is a per-file measurement tool distinct from folder-level siblings.

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?

It explicitly routes folder-wide work elsewhere: 'For a whole folder, library_open and library_query.' That is a clear use-vs-alternative boundary. It does not state what to do for near-duplicate tasks or whether it must be called before other tools, so the guidance is clear but not exhaustive.

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