Skip to main content
Glama

Buy a live paid offering

buy_live_offering
Destructive

Buys one live paid offering from the same catalogue shown on agent cards, at its listed priceUsd in USD, paid over x402. Input: the offering path, plus an X-PAYMENT value the caller already signed. Paylyte does not hold or spend a wallet. Without a payment, it returns the same 402 challenge the paid path sends, with the USD price and maxAmountRequired. Unknown paths and paths not on that catalogue are refused. It does not write or edit Core.

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": {
      "path": "<path>"
    },
    "name": "buy_live_offering"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoPlace name. Only for the weather offering.
pathYesPaid path of one live offering, such as /v1/data/fees/forecast. Its priceUsd is listed on that offering.
as_ofNoDate, YYYY-MM-DD, when the offering asks for one.
sinceNoStart date, YYYY-MM-DD. Only for the filings offering.
stateNoState code. Only for the disaster declarations offering.
companyNoCompany ticker or SEC CIK number. Only for the filings offering.
paymentNoThe X-PAYMENT value already signed for this path. When it is absent, the result is the 402 challenge with the USD price and maxAmountRequired.
print_idNoOutcome id. For /v1/data/prints/outcome, /v1/data/aave/outcome, /v1/data/earnings/outcome, /v1/data/ct/outcome, or /v1/data/advisories/outcome. Free lists of valid ids: /v1/prints/calendar, /v1/aave/calendar, /v1/earnings/calendar, /v1/ct/calendar, /v1/advisories/calendar. An unknown id is refused before any payment ask.
record_idNoOfficial checked record id for one vintage. Only for /v1/data/records/checked. Valid ids are the free list at /v1/records/catalogue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / as_of
      Added value: +{
      +  "description": "Date, YYYY-MM-DD, when the offering asks for one.",
      +  "type": "string"
      +}
    • addedInput schema / properties / city
      Added value: +{
      +  "description": "Place name. Only for the weather offering.",
      +  "type": "string"
      +}
    • addedInput schema / properties / company
      Added value: +{
      +  "description": "Company ticker or SEC CIK number. Only for the filings offering.",
      +  "type": "string"
      +}
    • changedInput schema / properties / print_id / description
      Previous value: -"Outcome id. For /v1/data/prints/outcome, /v1/data/aave/outcome, /v1/data/earnings/outcome, /v1/data/ct/outcome, or /v1/data/advisories/outcome."New value: +"Outcome id. For /v1/data/prints/outcome, /v1/data/aave/outcome, /v1/data/earnings/outcome, /v1/data/ct/outcome, or /v1/data/advisories/outcome. Free lists of valid ids: /v1/prints/calendar, /v1/aave/calendar, /v1/earnings/calendar, /v1/ct/calendar, /v1/advisories/calendar. An unknown id is refused before any payment ask."
    • changedInput schema / properties / record_id / description
      Previous value: -"Official checked record id for one vintage. Only for /v1/data/records/checked."New value: +"Official checked record id for one vintage. Only for /v1/data/records/checked. Valid ids are the free list at /v1/records/catalogue."
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "Start date, YYYY-MM-DD. Only for the filings offering.",
      +  "type": "string"
      +}
    • addedInput schema / properties / state
      Added value: +{
      +  "description": "State code. Only for the disaster declarations offering.",
      +  "type": "string"
      +}
    • removedInput schema / properties / url
      Removed value: -{
      -  "description": "Public page URL. Only for /v1/data/web/title.",
      -  "type": "string"
      -}
  2. Changed4 schema fields changed
    • changedInput schema / properties / path / description
      Previous value: -"Paid path from discover_live_offerings, such as /v1/data/fees/forecast. Read that offering priceUsd before you pay."New value: +"Paid path of one live offering, such as /v1/data/fees/forecast. Its priceUsd is listed on that offering."
    • changedInput schema / properties / payment / description
      Previous value: -"The X-PAYMENT value you already signed for this path. Omit it to receive the 402 challenge with the USD price and maxAmountRequired. Do not retry payment until you have read priceUsd."New value: +"The X-PAYMENT value already signed for this path. When it is absent, the result is the 402 challenge with the USD price and maxAmountRequired."
    • changedInput schema / properties / record_id / description
      Previous value: -"Official checked record id. Only for /v1/data/records/checked. Use discover_live_offerings, then buy that vintage."New value: +"Official checked record id for one vintage. Only for /v1/data/records/checked."
    • changedInput schema / properties / url / description
      Previous value: -"Public page URL for Test page name. Only for /v1/data/web/title."New value: +"Public page URL. Only for /v1/data/web/title."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare destructive=true, openWorld=true, idempotent=false, and the description supplies the context they can't: money actually leaves the caller's wallet, Paylyte itself never holds or spends funds, failures surface as a 402 challenge rather than an error, and nothing is written to Core. It stops short of addressing what happens on a repeated call (relevant given idempotentHint=false) or whether funds are charged if the request later fails.

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-loads the action, price, and payment rail before the failure semantics, so the most decision-relevant facts come first. It runs slightly long at seven sentences, and the closing 'It does not write or edit Core' is scope-narrowing rather than calling-relevant, but nothing is genuinely redundant.

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 9-parameter payment-bearing mutation with no output schema, the description covers the risky parts well: price source, custody model, the 402 fallback, and rejection of unknown paths. The one gap is the success path — it never says what a paid call returns (presumably the offering's data), which matters when there is no output schema to inspect.

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 each parameter (city, state, since, as_of, company, print_id, record_id, payment) is already documented with applicability constraints. The description only restates the two headline inputs (path and X-PAYMENT) without adding format or validation detail, so it neither compensates for nor improves on 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 ('Buys one live paid offering ... at its listed priceUsd in USD, paid over x402') and pins the source to the same catalogue as the agent cards, which cleanly separates it from the discovery sibling. An agent knows exactly what this tool does and what it costs before 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 real call-context: supply the offering path plus a pre-signed X-PAYMENT, and if you have no payment the tool returns the 402 challenge with price and maxAmountRequired, which tells the agent how to bootstrap. What's missing is an explicit instruction to use discover_live_offerings first to obtain a valid path, though the 'unknown paths are refused' line implies it.

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