Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

discovery_match

Match a plain-language task to ranked agent tools/services. $0.02 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/discovery/match.

Input Schema

NameRequiredDescriptionDefault
taskYesstring (required) - plain-language task
limitNointeger 1-20, default 5
max_priceNonumber - max USD per call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations mark this non-read-only and non-idempotent, and the description corroborates by disclosing that each call costs $0.02 USDC on Solana and requires an x402 payment handshake — critical context an agent cannot infer, since retries consume funds. It stops short of describing the shape of the ranked results, which matters given there is no output schema.

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?

Purpose is front-loaded in the first clause, followed by cost and payment mechanics, and the dense x402 parenthetical is justified because it is a required protocol step. Some readers may find the embedded HTTP endpoint line extraneous on an MCP surface, but it is compact.

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?

With no output schema and no annotations covering results, the description should say more about what a 'match' returns — number of ranked entries, scoring basis, or shape of each item. Payment behavior is fully covered, but the return value remains underspecified.

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 'task', 'limit' (1-20, default 5) and 'max_price' are already documented in the schema. The description adds no additional meaning about, e.g., how 'task' phrasing affects ranking. 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 first sentence names a specific verb ('Match') and resource ('plain-language task to ranked agent tools/services'), so the agent knows exactly what the call produces. It doesn't name a competing sibling, but no sibling in the list offers comparable discovery/matching, so differentiation is 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 description explains the mechanics of invoking it (unpaid call to obtain the PaymentRequired challenge, then retry with payment at _meta["x402/payment"]), which is genuinely useful procedural guidance. However, it never states when to prefer this over the catalog/enumeration siblings, nor any exclusions.

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