Skip to main content
Glama

Prepare a purchase for the person to confirm

purchase_prepare

Never buys anything and never spends money. Checks prices for releases or tracks and returns links where the person confirms the purchase in the browser. With addToCart the items are put into the person's Bitsound cart, which the person checks out on the website.

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": {
      "items": "<items>"
    },
    "name": "purchase_prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes1-20 items, each with either release or track
addToCartNotrue also puts the items into the person's cart (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, non-open-world write (readOnlyHint=false), and the description usefully adds that no money is ever spent and that confirmation/checkout happens in the browser, which is real context beyond the annotations. It does not explain what the returned links contain, whether prices are live, or what happens when an item is unavailable or the cart update fails — gaps that matter for a mutating tool.

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 most important constraint ('never buys anything and never spends money'), then behavior, then the cart variant. No redundant or filler wording.

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?

For a two-parameter tool with a fully documented schema and no output schema, the description covers what it does, the no-charge guarantee, the return shape (links for browser confirmation), and the cart side effect. Missing only edge-case behavior (unavailable items, failures), which is a minor gap at this complexity.

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 100%, so both parameters are already documented, and the description adds only marginal meaning by framing addToCart as a step the person completes on the website. It adds nothing about the items array beyond the schema's 'either release or track' constraint, so the baseline of 3 is appropriate.

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 uses a specific verb and resource — it checks prices for releases or tracks and returns confirmation links, optionally placing items in the cart. It clearly separates itself from an actual purchase ('never buys anything'), though it does not name a sibling tool such as withdrawal_prepare or cart_list to sharpen the boundary.

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?

It establishes clear usage context: call this when the person wants to price and confirm a purchase in the browser, and use addToCart when they want the items staged in the Bitsound cart for website checkout. No explicit when-not conditions or named alternatives beyond the addToCart variant, so it stops short of a 5.

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