Skip to main content
Glama
machine-utility-foundry

machine-utility-foundry

recommend_x402_api

Read-onlyIdempotent

Recommends up to five verified x402 APIs for a plain-language capability need, filtering wash-trading and bait-and-switch risks while returning payer counts, URLs, prices, and ICP proof.

Instructions

[x402 Paid: $0.005 Base USDC -- FREE if 0 matches] Recommend up to 5 verified, wash-trade-filtered, bait-and-switch-clean x402 APIs for any task need with organic payer counts, URLs, prices, and ICP proof. Zero self-preference.

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": {
      "need": "<need>"
    },
    "name": "recommend_x402_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYesPlain-language capability or data need (e.g. 'twitter search', 'web page to markdown', 'token price').
limitNoMaximum number of ranked picks to return (1..5, default 5).
methodNoOptional HTTP method filter.
networkNoOptional CAIP-2 payment network filter (e.g. 'eip155:8453').
excludeSelfNoWhen true, excludes any endpoint operated by Machine Utility Foundry (default false; selfListed is always disclosed).
maxPriceUsdNoOptional maximum per-call USD price filter for recommended endpoints.

Output Schema

NameRequiredDescriptionDefault
needYes
picksYes
chargedYes
ledgerProofYes
evaluatedAtUtcYes
neutralityPolicyYes
recommendationSha256Yes
cryptographicAttestationNo
totalCandidatesEvaluatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description goes beyond that by disclosing the billing model ($0.005 Base USDC, waived at 0 matches), the ranking cap (5), the filtering criteria applied to candidates, and the self-preference policy. What remains unstated is latency or how ranking is computed.

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?

It is a single front-loaded sentence that leads with the billing hook before the capability, which is the right priority for an agent weighing cost. It is dense with stacked adjectives ('verified, wash-trade-filtered, bait-and-switch-clean'), but every clause carries information rather than padding.

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?

An output schema exists, so return-value explanation is not required, and the description still signals the returned fields. With annotations covering safety and the schema covering all six parameters, the only gap is the absence of routing advice versus the preview and reputation siblings. That is a minor omission for a read-only discovery tool.

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 description coverage is 100%, so every parameter is already documented, including the 1..5 limit and the CAIP-2 network example. The description only echoes the 'up to 5' cap and restates the general intent, adding no format or interpretation details beyond the schema. Baseline 3 applies.

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?

The description names a specific verb and resource ('Recommend up to 5 ... x402 APIs') and enumerates the returned fields (organic payer counts, URLs, prices, ICP proof). It adds quality qualifiers (wash-trade-filtered, bait-and-switch-clean, zero self-preference) that make the output profile distinctive. It does not name any sibling (e.g., preview_x402_recommendation), so the differentiation from adjacent tools is left implicit.

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?

The phrase 'for any task need' implies use whenever an agent needs to discover x402 endpoints, and the pricing clause indicates the cost condition. But there is no explicit when-not guidance and no pointer to preview_x402_recommendation or get_x402_reputation_stats as alternatives for dry-run or raw reputation lookups. Usage is inferable but not spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.