Skip to main content
Glama

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

books_isbn

Book metadata by ISBN (Open Library, metadata only). $0.005 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: GET https://exchangerebel.com/toll/books/isbn/{isbn}.

Input Schema

NameRequiredDescriptionDefault
isbnYesISBN-10 or ISBN-13 (hyphens allowed)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing price ($0.005/call), currency and chain (USDC on Solana), the x402 payment handshake including the exact retry key _meta["x402/payment"], and an HTTP equivalent. This explains the otherwise puzzling readOnlyHint=false. It still omits failure behavior (unpaid-call errors beyond the challenge, lookup misses) and rate limits.

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 compact sentences, purpose front-loaded, then cost, then the payment protocol. The x402 mechanics are dense but operationally necessary; the HTTP URL is marginally expendable but not wasteful.

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 one-parameter, paid, no-output-schema tool, it covers the essentials an agent needs: what it returns (metadata), what it costs, and how to complete payment. The main gap is return-field expectations, which the absence of an output schema leaves undocumented.

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 coverage is 100% and the single isbn parameter is already documented as 'ISBN-10 or ISBN-13 (hyphens allowed)'. The description only restates 'by ISBN' and adds no format, normalization, or error semantics beyond the schema, so the 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?

States a specific resource and lookup key: 'Book metadata by ISBN', with the upstream source (Open Library) and the 'metadata only' scope. An agent can distinguish it from siblings like books_title, books_author, books_works and books_search by the ISBN identifier, though no sibling is named explicitly.

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?

Usage is only implied: you call it when you already hold an ISBN. There is no explicit when-to-use vs. books_search/books_title guidance, and no note about what to do if the ISBN is unknown (i.e., fall back to a search tool).

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