Skip to main content
Glama

musictomidi_get_prices

Retrieve per-model credit pricing and segment lengths to estimate the credit cost of an audio-to-MIDI or stem separation job before submitting it.

Instructions

Returns the prices of the MusicToMIDI account as GET /v1/account sends them: one entry per model, with creditsPerSegment and segmentSeconds. A job costs (floor(seconds / segmentSeconds) + 1) × creditsPerSegment credits, seconds being the duration of the audio, or of the part chosen with startSeconds and endSeconds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "musictomidi_get_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the return shape (one entry per model) and the underlying billing semantics via the exact cost formula. It omits auth requirements and any error behavior, which for a zero-parameter read tool is a minor gap rather than a serious one.

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 dense sentences with no filler; the return contents come first and the cost formula second. The formula is long but earns its place because it defines the meaning of the returned fields.

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 describe returns, and it does: one entry per model with creditsPerSegment and segmentSeconds, plus how to consume those values. Only the absence of auth or failure-mode context keeps it short of fully complete.

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?

The tool takes zero parameters, which normally sets a baseline of 4, but the description spends its parameter-like detail on startSeconds and endSeconds, which belong to sibling tools rather than this one. That reference is useful background for the formula but adds nothing about invoking this tool itself.

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?

States a specific verb and resource: returns per-model prices (creditsPerSegment, segmentSeconds) for the account. It also loosely ties itself to the account endpoint, hinting at how it differs from musictomidi_get_account, but never explicitly contrasts the two, so an agent must infer the split.

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?

No explicit when-to-use or when-not-to-use statement and no alternative named. Usage is only implied by the cost formula, which suggests the tool is for pre-computing job cost before calling musictomidi_convert_to_midi or musictomidi_separate_stems.

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