Skip to main content
Glama

Agent Data Tools: Utilities

ISBN check, validate an ISBN: check whether an ISBN-10 or ISBN-13 book number is valid

validate_isbn
Read-only

Check an ISBN-10 or ISBN-13 check digit and convert valid ISBN-10s to ISBN-13. Hyphens and spaces are ignored. Use before cataloguing or ordering books. Example: isbn=0-306-40615-2. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "isbn": "<isbn>"
    },
    "name": "validate_isbn"
  }
}

Input Schema

NameRequiredDescriptionDefault
isbnYesThe ISBN

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds real value: hyphen/space normalization, that valid ISBN-10s are returned as ISBN-13, and per-call pricing with the first 10 free and failed calls free. What is missing is the failure behavior (error vs. false result) and the shape of the returned value, and the cheapest behavioral facts here are largely billing rather than semantics.

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-loaded with the operation, then normalization, then usage context, then pricing — a sensible order. The pricing clause is dense but each element (cost, free tier, failed calls, repeat charges) carries distinct decision-relevant information.

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, read-only validation tool this covers purpose, accepted input formats, a usage occasion, and cost. The only gap is what the caller receives — the description implies a converted ISBN-13 or a validity verdict but does not say how invalid input is surfaced, and there is no output schema to fill that in.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% but the schema only says 'The ISBN', so the description meaningfully compensates: it pins the accepted formats (ISBN-10 or ISBN-13, hyphens and spaces ignored) and gives a concrete example value '0-306-40615-2'.

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 gives a specific verb and resource: validate an ISBN-10/ISBN-13 check digit and convert valid ISBN-10s to ISBN-13. That is far more than a restatement of the name, but it never addresses the nearby sibling 'book_isbn', so an agent cannot tell from this text alone which of the two to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a concrete usage context ('Use before cataloguing or ordering books') and supplies a worked example call. There is no explicit when-not guidance or named alternative, so it stops short of full routing guidance.

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