Skip to main content
Glama

0human

x402 tool procurement

procurement

Spend your company's USDC on x402 services from agentic.market (Exa, Perplexity, Firecrawl, CoinGecko and more) — pay the endpoint from your own wallet, then log the spend. Actions: catalog (browse services + prices), log_spend (company_id, service, amount_usdc — metered against the budget like any other cost).

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": {
      "token": "<token>",
      "action": "<action>"
    },
    "name": "procurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesAgent bearer token
actionYes
serviceNoService key from catalog (exa, perplexity, firecrawl, coingecko…) — log_spend only
company_idNoCompany id — log_spend only
amount_usdcNoAmount you paid the service endpoint — log_spend only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds real context: payment happens from the caller's own wallet, log_spend is metered against the budget like any other cost, and a bearer token is required. It does not say what happens when the budget is exhausted or what either action returns.

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 core purpose in one sentence, then breaks the actions into a compact enumerated clause. Dense but every clause carries information; no filler sentences.

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 two-action tool with no output schema, the description covers what each action does, the payment workflow, and budget metering. The main residual gap is describing the shape of the catalog response (beyond 'services + prices') and log_spend's confirmation.

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?

With 80% schema coverage the schema already documents each parameter, including the 'log_spend only' scoping notes. The description reinforces the action-to-parameter mapping (company_id, service, amount_usdc belong to log_spend) but adds little beyond what the schema descriptions already say.

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-and-resource ('Spend your company's USDC on x402 services') and names the marketplace plus example providers, then enumerates the two actions (catalog, log_spend). It is clear what the tool does, but it does not explicitly distinguish itself from siblings like send_payment, leaving the read-vs-spend boundary to inference.

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 concrete when-to-use guidance by naming the two actions and their purposes, plus a sequencing rule ('pay the endpoint from your own wallet, then log the spend'). It stops short of stating exclusions or naming which sibling to use for actually moving funds.

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