Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_music_metronome_grid

Read-onlyIdempotent

Return precise beat and bar timestamps for an original music recording at user-supplied BPM and meter. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "bpm": "<bpm>",
      "bars": "<bars>",
      "beats_per_bar": "<beats_per_bar>"
    },
    "name": "api_music_metronome_grid"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmYesbpm; see operation description for units and format
barsYesbars; see operation description for units and format
beats_per_barYesbeats per bar; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description does add real value beyond them by disclosing per-call pricing (0.01 USDC on Base x402) and the X-Provider-Key auth path for customer-owned credentials. It says nothing about determinism, latency, or what happens if the requested grid is very long.

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?

Two tightly written sentences, front-loaded with what the tool returns and followed by the cost/auth caveat. Nothing is padded, though 'for an original music recording' is slightly misleading since no audio input exists in the schema and it costs a few words of confusion.

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?

For a three-parameter read-only computation with no output schema, the description gives the essential shape of the result (beat and bar timestamps) and covers cost and authentication. The remaining gap is that 'timestamps' is never qualified (seconds, milliseconds, sample indices) and the meaning of 'bars' as a count is unstated, which matters for calling it correctly.

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?

Schema coverage is nominally 100%, but every parameter description is a placeholder deferring to 'the operation description for units and format', and the description never supplies those units or formats. 'Meter' is left to be mapped onto beats_per_bar by inference, and 'bars' is never explained as the number of bars to generate, so the description does not compensate for the schema's empty text.

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 ('Return precise beat and bar timestamps') plus the inputs that define the grid ('user-supplied BPM and meter'), so an agent can tell what it produces. It does not distinguish itself from nearby siblings such as api_music_midi_beat or api_music_arrangement, which is the only thing keeping it from 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 implied rather than stated: the phrase 'at user-supplied BPM and meter' signals you call it when you already know the tempo and time signature. There is no explicit when-to-use/when-not guidance and no named alternative for extracting beats from an actual audio file or MIDI, which an agent would need to choose correctly among the music siblings.

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