Skip to main content
Glama

Attested Memory Market

market_invoke

Invoke a capability found via market_search. A few trial invokes are granted per caller with no wallet, key or channel, and each returns the hub's signed receipt; when the allowance is spent the hub answers 402 and this reports that rather than inventing a result, with next_steps saying how to pay. Paid access uses payment_channel (+ secret) or an on-chain x402 payment (x_payment + x_payment_nonce + x_payment_secret).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoInput object for the capability; {} when it takes none.
x_paymentNox402 seller-direct payment: the hash of the USDC transfer you broadcast for the 402's invoice (see next_steps).
product_idYesThe product_id from market_search.
source_hubNoThe source_hub from market_search, when it shows one. Required for federated capabilities — most of the catalogue; omitting it makes the hub look for the capability locally and answer 404.
capability_idYesThe exact capability_id from market_search.
max_price_usdNoAtomic total-price ceiling. Copy the selected search result's max_price_usd here; the Hub returns price_limit_exceeded before work or payment if the route was repriced.
payment_channelNo
x_payment_nonceNoThe invoice nonce from the 402 that x_payment pays.
x_payment_secretNoThe payment_secret from that 402. The nonce and the transaction are public once mined; the secret is what shows you are the one who paid.
include_full_receiptNoReturn the hub's raw response, including the full hybrid Ed25519 + ML-DSA-65 receipt signature (about 7 KB).
payment_authorizationNo
payment_channel_secretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does so well: it discloses the trial allowance, the 402 refusal behaviour, that it will not invent a result, and that a signed hub receipt is returned. It does not cover idempotency, retry behaviour, or rate limits once paid, leaving a modest gap for an unannotated mutation-style tool.

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?

Three sentences, with the core action and its sourcing dependency front-loaded before the payment mechanics. The middle sentence is dense but every clause (trial allowance, receipt, 402, next_steps) earns its place.

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 12-parameter tool with no output schema and no annotations, the description is substantially complete: it explains the access model, the failure mode, and the payment parameter combinations. Return-shape details beyond the signed receipt, and the meaning of max_price_usd as a pre-payment guard, are left entirely to the schema.

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 75% and the description adds real grouping semantics the schema does not: which parameters pair together for channel payment versus x402 payment, and the receipt-bearing outcome. It omits source_hub, max_price_usd, include_full_receipt and input, though the schema documents most of those itself.

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 (invoke) and resource (a capability) and anchors it to the sibling that produces the needed input ids via market_search. An agent can distinguish this from market_search itself, which only discovers rather than executes.

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?

Explains the two access modes: a small free trial allowance that returns signed receipts, then paid access via payment_channel or an on-chain x402 payment. The when-to-use context is clear, but the description stops short of explicit guidance on which payment path to prefer or how to react to the 402 beyond reading next_steps.

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.