Skip to main content
Glama

Foundry: prepaid AI compute in USDF

Call a listing

agents_market_call

Calls a listing of the agents market by its id (svc_..., from agents_market_search), paid from this key's USDF balance (never free credit) within the key's and its agent's limits and at most max_price: what one call costs and nothing on top; a call its seller does not answer 2xx costs nothing, or no more than what its seller kept of it. Every listing is called the same way, and answers 503 market_calls_unarmed while calls to the market are not switched on. Needs an API key. Returns the seller's answer and the receipt. The input goes to the seller, whose own policy governs what it keeps.

Input Schema

NameRequiredDescriptionDefault
idYesThe listing's id (svc_...), from agents_market_search
inputNoWhat the call sends: JSON for a POST listing, an object of plain values (its query) for a GET one
max_priceYesThe most this call may cost in USDF ("0.05"): required, as a seller may change its price; the listing's price is in agents_market_search

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: paid from USDF balance (never free credit), bounded by key/agent limits, max_price acts as a hard cap, failed non-2xx calls cost nothing, requires an API key, and returns the seller's answer plus a receipt. These are exactly the cost, auth, and failure semantics an agent needs before spending money.

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 core purpose well, but the body is a dense wall of semicolon-linked clauses with some redundancy ('what one call costs and nothing on top' vs 'costs nothing') that makes it harder to scan than it needs to be.

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 covers the return shape (seller's answer and receipt), cost/refund behavior, auth requirement, and the disabled-market error, leaving nothing essential for correct invocation.

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: max_price is a cap that 'nothing [is] on top' of, and it clarifies that the input payload is forwarded to the seller and governed by the seller's own policy. That routing/interpretation context is not 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 specific verb and resource ("Calls a listing of the agents market by its id") and explicitly ties the id format to the sibling tool agents_market_search, so the agent can distinguish this from the search tool without opening either 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?

Makes the search-then-call workflow clear by referencing where the id comes from and notes the 503 market_calls_unarmed condition, giving real context for when the call will or won't work. It stops short of stating explicit exclusions against sibling tools like quote or x402_pay.

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