Skip to main content
Glama

IDM Music

Get the payment for IDM Sounds

buy_sound
Read-onlyIdempotent

Returns the x402 payment requirements for one pack, logo kit, alert kit, bed or sound effect from list_sounds (USDC on Base, scheme exact). Nothing is paid here: sign accepts[0] with your x402 client and repeat GET with the PAYMENT-SIGNATURE header to receive the licence and download links.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "buy_sound"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe id from list_sounds; a sound is <pack>/<sound>, e.g. idm-ui-glass/tap-01
kindYes
brandNokind logo or alerts, required: the brand the kit is licensed for (one brand per licence); kept private in the licence record
styleNokind logo or alerts: one style from the kit, or "all" for a logo kit in every style

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and non-destructive, and the description adds context those annotations cannot express: no payment occurs here, the response carries x402 accepts data, and the licence/download links only arrive after a signed retry. That is exactly the extra behavioral context a read-only call needs.

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 sentences, both dense with content and front-loaded with the purpose before the workflow. The second sentence packs a multi-step x402 procedure into one line; it earns its place but could be split for readability.

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 does the work of describing returns — x402 payment requirements, then licence and download links after signing. It leaves minor gaps such as error cases when the asset is not licensed or the header is rejected, but the essential call contract is 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?

Schema coverage is 75%, so most parameters are already documented. The description adds the provenance of id ("from list_sounds") and implicitly maps the enumerated asset types to the kind values, but says nothing about brand or style — the two parameters whose licence-scoping behavior is least obvious.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — returns the x402 payment requirements for one sound asset — and enumerates exactly which catalogue item types qualify (pack, logo, alert, bed, sound effect). It also ties the input source to list_sounds, so an agent can tell this apart from sibling purchase tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly defines the boundary of the operation ("Nothing is paid here") and gives the follow-up procedure: sign accepts[0] and repeat the GET with a PAYMENT-SIGNATURE header. It implies the paying counterpart exists but never names buy_licence as the alternative for agents that want a one-shot purchase, so routing between the two relies on inference.

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