Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-validate-isbn

Validate ISBN: Validate ISBN-10 with mod 11 or ISBN-13 with alternating 1 and 3 weights after stripping hyphens; returns valid plus the type. 🆓 5 free trial calls per signed wallet

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": {
      "value": "<value>"
    },
    "name": "x402-validate-isbn"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "value"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a decent job: it discloses the checksum algorithms used, that hyphens are stripped before checking, and that the result includes a validity flag plus the detected type. It also surfaces the commercial constraint ("5 free trial calls per signed wallet"), which is real behavioral context an agent needs. It stops short of describing failure responses (errors vs. a false valid flag).

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?

The definition is essentially one dense, front-loaded sentence covering algorithm, normalization, and return fields, plus a short pricing line. The leading "Validate ISBN:" prefix duplicates the tool name and the verb that follows it, which is the only real waste.

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?

There is no output schema, so the description correctly compensates by naming the return contents (valid plus the ISBN type). For a single-parameter validator this covers nearly everything an agent needs; only edge-case behavior for malformed input is unstated.

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 0% for the single required "value" string, so the description must compensate. It adds meaningful semantics indirectly — hyphens are tolerated, and the string may be either a 10- or 13-digit ISBN — but it never names the parameter or states accepted formats, length constraints, or what an unparseable value yields.

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 verb+resource ("Validate ISBN") and immediately narrows it to ISBN-10 mod-11 and ISBN-13 alternating 1/3 weight checks, so an agent knows exactly what class of validation this performs. It does not distinguish itself from near-name siblings like x402-isbn-validate or x402-isbn, so it stops short of 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 rather than stated: the description makes clear this is the tool for checking ISBN validity, and the "stripping hyphens" note hints that pre-normalized input is acceptable. There is no explicit when-to-use/when-not guidance and no statement about what happens with non-ISBN input or other identifier types (EAN, IBAN) that have dedicated siblings.

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.