Skip to main content
Glama

Base on-chain reads and pay-per-call feeds (x402/MPP)

Book facts by ISBN in one call from Open Library: title, subtitle, authors, publishers, publish date, pages, subjects, c

isbn_lookup
Read-onlyIdempotent

Book facts by ISBN in one call from Open Library: title, subtitle, authors, publishers, publish date, pages, subjects, cover, link (isbn=9780140328721). Pay per call $0.002 USDC on Base via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "isbn_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
isbnNoISBN-10 or ISBN-13
x_paymentNosigned x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the safety bar is low. The description adds material context beyond them: the data comes from an external third party (Open Library), and each call costs $0.002 USDC on Base via x402, which is a real constraint an agent must plan around. What it does not explain is the payment handshake itself (first call returns price, retry with X-PAYMENT), leaving that entirely to the 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?

Compact, two-sentence structure with the resource and coverage priced up front and the payment clause last. The enumerated field list is dense but earns its place by substituting for a missing output schema. The only waste is the marketing-ish 'in one call' phrasing.

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?

With no output schema, the description compensates by listing every returned field (title through link), so an agent knows what it gets. It also discloses source and price, the two facts most likely to change a calling decision. The one gap is the retry-with-payment mechanics, which live in the schema description rather than here.

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 both parameters are documented there, including the x_payment first-call flow, so the baseline is 3. The description contributes one concrete example (isbn=9780140328721) that illustrates the expected format beyond 'ISBN-10 or ISBN-13'. It adds nothing about x_payment, but the schema already handles that.

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?

Names a specific resource (book facts) keyed by an identifier (ISBN) and names the upstream source, Open Library, then enumerates the returned fields (title, subtitle, authors, publishers, publish date, pages, subjects, cover, link). That is enough for an agent to distinguish it from sibling lookups like papers_search or npm_package. It stops short of a clean verb-first statement of the operation, reading more like a field inventory, so not a 5.

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 implied: call this when you have an ISBN and need bibliographic data. There is no explicit when-to-use or when-not-to-use guidance and no alternative named, though the sibling list contains no direct book-lookup competitor. The one concrete directive present is the cost/payment context, which indirectly signals this is a paid, one-shot lookup rather than a bulk operation.

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