Skip to main content
Glama

ScorpTech x402 Tools

Music Interval

music_interval
Read-onlyIdempotent

The interval between two written notes. The number comes from the letters and the quality from the semitones, so C to E is a major third and C to Fb is a diminished fourth. Direction follows the written notes. Semitones is negative when the second note is lower. Returns JSON with: from, to, direction, semitones, distance, number, simple, compound. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/music-interval

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "music_interval"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes

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 cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description focuses on behavior the annotations can't express: the negative-semitones convention for descending intervals, the exact JSON return fields, and the paid x402 cost model ($0.001 USDC per successful call) plus an equivalent HTTPS endpoint. The cost and payment requirement are particularly valuable disclosures an agent cannot get from structured fields.

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?

The definition is front-loaded with the core rule, then examples, direction semantics, return shape, and finally cost/endpoint. Every sentence adds information an agent needs, and the pricing/URL tail is clearly separated from the semantic explanation.

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?

With no output schema, the description usefully enumerates the returned JSON fields (from, to, direction, semitones, distance, number, simple, compound), and it covers cost and the alternate HTTP endpoint. The main remaining gap is input-format specification, especially octave handling, for a tool whose parameters are entirely undocumented.

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 0%, so the two parameters 'from' and 'to' carry no documentation of their own; the description compensates partially by showing note-name examples ('C', 'E', 'Fb') and stating that direction follows the written notes. It still never specifies the accepted note syntax or whether octaves are required, which matters given maxLength 16 allows far more than a bare letter name.

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 states precisely what the tool computes: the interval between two written notes, with a concrete example ('C to E is a major third and C to Fb is a diminished fourth') that pins down the letter-vs-semitone rule. It distinguishes itself from siblings like music_chord and music_scale by being about exactly two notes, though it never names an alternative explicitly.

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 agent can infer this is the tool for naming the interval between two notes, and the 'written notes' framing hints at when it differs from a semitone-counting approach. There is no explicit when-to-use, when-not-to-use, or sibling routing guidance.

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