Skip to main content
Glama

Media caption track inventory

bpj_html_media_caption_tracks
Read-onlyIdempotent

List caption track languages for each media element and flag absent caption tracks.

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": {
      "text": "<text>"
    },
    "name": "bpj_html_media_caption_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds a modest amount beyond that by disclosing the output behavior: it enumerates languages per media element and explicitly flags media lacking caption tracks. It says nothing about how absent tracks are flagged or what the result structure looks like.

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?

A single sentence that front-loads the primary action and appends the flagging behavior without filler. Nothing is redundant or padded.

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 a one-parameter inspection tool with no output schema, the description covers the core outcome but leaves the input contract and return shape underspecified. An agent knows what the tool does but not exactly what to feed it or what structure comes back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter 'text' has 0% schema description coverage; only the generic title 'Source text' and a maxLength of 6000 are available. The description never mentions the parameter at all, so it does not clarify that the input is HTML markup, nor does it warn about the size limit or how elements are detected. With low coverage, the description should compensate and does not.

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 names a specific verb and resource: list caption track languages per media element, plus a secondary behavior of flagging elements with no caption tracks. That is concrete and actionable. It does not, however, distinguish itself from the near-identical sibling bpj_html_track_language_audit, so an agent must guess between the two.

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 when-to-use guidance, no preconditions, and no named alternative. The description never says whether this is meant for accessibility audits, localization checks, or general HTML inspection, and it gives no hint about when to prefer bpj_html_track_language_audit instead.

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.