Skip to main content
Glama

Describe a file of the material library

describe_material
Read-onlyIdempotent

The whole record of ONE file of the material library: what it is (kind, size, duration, stage), its ficha (what the system measured, saw in its frames and heard), who speaks in it (speaker, when someone declared it or a voice was heard) and, when the hearing left a word map, the recording as PHRASES with their seconds (hearing.phrases: startSec, endSec, text, cut by the rule the subtitles use). Who speaks is stated for the whole recording, not per phrase. A long recording comes in pages: hearing.nextPhraseOffset is where the next page starts (phrase_offset). Without phrases, hearing.wordMap says why (ficha_pending, hearing_does_not_assert, no_word_map…). Only files of the credential's person. $0.

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": {
      "asset_id": "<asset_id>"
    },
    "name": "describe_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYesThe `assetId` of a file in the material library.
phrase_offsetNoThe first phrase of the page (0 by default; the previous answer's `nextPhraseOffset`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the result is scoped to the credential's person ('Only files of the credential's person'), pagination exists for long recordings, and absent word maps are explained by an enumerated reason code, plus a '$0' cost signal.

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?

The key claim ('whole record of ONE file') is front-loaded and every clause maps to a real return-value detail. It is dense, with layered parentheses and a long compound first sentence, but given there is no output schema the density is doing necessary work rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the full burden of explaining the return shape and does so thoroughly: scalar metadata, the ficha, speaker scope at recording level ('not per phrase'), phrase fields with names, pagination via nextPhraseOffset, and the fallback reasons for a missing word map. Nothing an agent needs to interpret the response is missing.

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 both parameters are already documented, and the description's note that phrase_offset corresponds to the prior answer's nextPhraseOffset largely restates the schema. It does tie the offset to the returned field name in prose, but adds no syntax or range detail beyond the schema beyond that cross-reference.

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 uses a specific verb+resource framing: 'The whole record of ONE file of the material library', and enumerates the record's parts (kind, size, duration, stage, ficha, speaker, hearing.phrases). The 'ONE file' emphasis separates it from a library listing, though no sibling such as list_material is named explicitly, so differentiation is inferential rather than stated.

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 implied (fetch full detail for a single asset) and the pagination case is handled concretely: 'hearing.nextPhraseOffset is where the next page starts (phrase_offset)'. However, there is no explicit when-to-use vs when-not guidance and no named alternative for browsing rather than describing.

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