Skip to main content
Glama

Artyfile Music Licensing

get_order_status

Read-onlyIdempotent

Poll an order by publicId. Once status is "paid" the payload carries downloadUrl (44.1 kHz WAV), invoiceUrl and certificateUrl (PDFs). Poll roughly every 15 seconds; a pending order older than 1 hour has expired.

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": {
      "publicId": "<publicId>"
    },
    "name": "get_order_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
publicIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond that: the polling cadence, the 1-hour expiry rule for pending orders, and the fact that downloadUrl/invoiceUrl/certificateUrl only appear once status is "paid". It does not enumerate other status values (e.g. failed/refunded).

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?

Three short sentences, front-loaded with the action, then the payoff payload, then the polling/expiry rule. No filler and no repetition of schema or annotation content.

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 must convey return values, and it does list the key URLs and the condition under which they appear. What remains unstated is the full set of possible status values and what an expired or failed order payload looks like, which an agent polling in a loop would want.

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% for the single publicId parameter, so the description carries the burden. It does state that publicId identifies the order to poll, which gives the parameter meaning, but adds no format, length, or provenance detail (e.g. where the id comes from, as returned by create_checkout).

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?

"Poll an order by publicId" names a specific verb and resource, and the follow-up sentence describes what the response carries once the order is paid, so an agent knows this is a status/polling endpoint rather than a lookup of track or license data. It stops short of explicitly naming which sibling to use for fetching the download itself (get_download_link), so differentiation is implied rather than stated.

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?

Gives concrete operational guidance: poll roughly every 15 seconds, and treat a still-pending order older than 1 hour as expired. That tells the agent both cadence and when to give up. It does not say when to prefer this over get_download_link or what to do after expiry, so no explicit exclusions.

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