Skip to main content
Glama

Artyfile Music Licensing

create_checkout

Create a checkout for one track. Returns a Stripe hosted-payment URL that the USER must open and approve in a browser (EU PSD2 — payment is never completed by the agent) plus the order publicId for polling. The session and its price reservation expire after 1 hour.

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": {
      "productId": "<productId>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNo"basic" = sync licence; "le" = Limited Edition master share(s)basic
localeNoen
sharesNoLE only: number of 1% shares
giftNameNoLE only: issue the ownership certificate to this name
productIdYesid from search_tracks / get_track

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/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, open-world, non-idempotent, non-destructive call; the description adds genuinely new behaviour: the agent cannot complete payment, the USER must open and approve the URL in a browser (EU PSD2), and the session plus price reservation expire after 1 hour. That expiry and human-in-the-loop constraint are exactly what an agent needs to avoid a failed checkout loop.

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 return contract, then the time constraint. Every sentence carries information an agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming both return values (payment URL and order publicId) and their intended use. Combined with the 1-hour expiry note, an agent has everything needed to create the checkout and hand off to the user without misusing it.

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 80%, so the schema already explains tier, shares, giftName and productId. The description adds only that the checkout is for one track, which reinforces productId being the sole required field but does not add format or constraint detail beyond the schema.

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 ("Create a checkout for one track") and immediately clarifies the scope: a single track checkout, not a cart. It also names the concrete artefacts produced (Stripe hosted-payment URL, order publicId), which no sibling tool produces.

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?

The description makes the usage context clear: this is the payment-initiation step, and the returned publicId is meant "for polling", which implicitly points at get_order_status. It does not explicitly name that sibling or state when-not to call it, so it falls short of full when/when-not routing.

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