Skip to main content
Glama

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

books_works

Work metadata by Open Library work id. $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/works/{id}.

Input Schema

NameRequiredDescriptionDefault
idYesWork id (OL...W)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description adds the critical context annotations cannot carry — the $0.005 USDC-on-Solana cost, the x402 payment flow, and the concrete retry protocol (call once, receive PaymentRequired, retry with payment in _meta['x402/payment']). It also gives the underlying HTTP endpoint, which is genuinely operational detail.

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 resource and key first, then the payment mechanics. Dense but every sentence is functional; the payment/parenthetical block is long but is the main non-obvious thing an agent needs, so it earns its space.

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?

Payment and endpoint complexity are covered well, but there is no output schema and the description never indicates what the returned 'metadata' contains (fields, shape, empty/missing-id behavior). For a lookup tool with no return-value documentation, that is a real gap.

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 'id' parameter is already documented in-schema as 'Work id (OL...W)'. The description restates that same format without adding syntax, validation, or fallback guidance, so 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 ('Work metadata') and the exact lookup key ('Open Library work id'), which implicitly separates it from siblings like books_title, books_isbn, books_author and books_search that take other identifiers. It is clear but never explicitly contrasts itself with those siblings or says what metadata fields are returned.

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: the agent must infer it should call this when it already holds an OL...W work id rather than a title/ISBN/author. No explicit when-to-use or when-not-to-use statement, and no pointer to a sibling for resolving an id you don't yet have.

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