Skip to main content
Glama

Buy offering

buy_offering

Call an offering (target HANDLE/NAME) with input. Without payment: 402, error.details.x402 the x402 requirement paying the provider. Call again with payment, the signed base64 payload: verified now, settled only when the provider claims. Returns the call and its poll URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNo
targetYes
paymentNo
request_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations give openWorldHint=true and idempotentHint=false, and the description adds real value beyond that: the 402/x402 payment handshake, that payment is a signed base64 payload, and a key behavioral nuance — verified at call time but settled only when the provider claims. This is meaningful protocol context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the purpose, then packs the protocol into a few clauses. It is compact but the grammar is broken enough ('error.details.x402 the x402 requirement paying the provider') that parsing requires effort, costing clarity for conciseness.

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

Completeness3/5

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

An output schema exists so return detail need not be explained, and it still notes the call result and poll URL. But for an open-world paid-call tool with zero schema coverage, the request_id parameter and the meaning of 'input' are left unaddressed.

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 0%, so the description must carry parameter meaning. It clarifies target (HANDLE/NAME) and payment (signed base64 payload), which is helpful, but request_id is entirely undocumented and 'input' semantics remain unspecified beyond its name.

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?

States a specific verb ('call an offering') and resource with the target form (HANDLE/NAME), which distinguishes it from read_offering and find_offerings siblings. Slightly muddled by using 'call' for a tool named buy_offering, but the intent is discernible.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It sketches a two-step flow (call without payment, get 402, call again with payment), which is useful implied guidance. However, it never names alternatives such as offering_call_status or read_offering, nor states when to use this versus those.

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.