Skip to main content
Glama

Get purchase options

get_purchase_options
Read-only

What the creator can buy for an event today: one-time retention purchases that keep the gallery open longer. Pass the user's country (ISO 3166-1 alpha-2) whenever you know it: each option then shows the local price in that country's currency, the exact amount the payment provider charges there before tax. Without a country, or when the local price can't be fetched, prices are the USD catalog price. Checkout adds any tax. Use create_checkout to get a payment link.

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": {
      "eventId": "<eventId>"
    },
    "name": "get_purchase_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoThe buyer's country as an ISO 3166-1 alpha-2 code (US, IN, BR). Pass it whenever you know where the user is.
eventIdYesEvent id from list_events

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond by disclosing the pricing fallback chain (local currency when country is known, USD catalog price otherwise or on fetch failure) and that returned amounts are pre-tax with tax added at checkout. These are exactly the behavioral traits an agent needs to interpret results correctly.

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?

Front-loaded with purpose, then parameter guidance, then fallback behavior, then next-step routing — a sensible order with little waste. 'Checkout adds any tax' is compressed to the edge of ambiguity, and the create_checkout sentence is more routing than description of this tool, but neither is filler.

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?

With no output schema, the description still conveys what comes back (options with local price in the country's currency, exact provider charge, pre-tax). Combined with the fallback and tax rules, an agent has enough to call it and interpret the response without further context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the country parameter is not just a filter but changes the currency and price basis of every returned option, and its absence has a defined fallback. That consequence-level explanation is not present in 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 concrete resource and scope: 'What the creator can buy for an event today: one-time retention purchases that keep the gallery open longer.' The domain framing (retention purchases tied to an event) lets an agent distinguish this from catalog/billing siblings without opening the 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?

Gives clear conditional guidance ('Pass the user's country whenever you know it') and routes the next step explicitly to create_checkout. It stops short of stating when this tool should not be used (e.g., no purchase eligibility or preconditions), so it is clear context rather than full when/when-not coverage.

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