Skip to main content
Glama

TinyWink Publishers

Validate an ISBN

validate_isbn
Read-onlyIdempotent

Checks an ISBN-10 or ISBN-13 check digit and converts between the two.

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
isbnYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the substantive behavior that both ISBN-10 and ISBN-13 are accepted and that conversion occurs, but it does not disclose what happens on invalid input, whether hyphens/spaces are tolerated, or whether conversion is unconditional or only format-dependent.

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?

A single front-loaded sentence with no filler; the validation behavior comes before the secondary conversion behavior. Minor deduction because bundling two distinct functions into one clause slightly blurs which outcome the caller should expect.

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?

With no output schema, the description is the only place to learn what comes back, and it never says whether the result is a boolean, a validity plus reason, or a converted ISBN string. For a simple one-parameter tool with full annotation coverage this is acceptable but leaves a meaningful return-value 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?

The schema has one parameter at 0% description coverage, so the description must carry the semantic load. It does convey that the input is an ISBN in either the 10- or 13-digit form, which is real value, but says nothing about accepted punctuation, whitespace, or the 'X' check digit, and the 40-character max length goes unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('checks an ISBN-10 or ISBN-13 check digit') plus an additional capability (conversion between formats). This is unmistakably distinct from all listed siblings, which are pricing, sizing, and content-lookup tools, so no sibling disambiguation is needed.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The agent can infer that it should be called with a candidate ISBN, but nothing says whether it is meant for pre-flight validation before quoting, for normalizing mixed-format input, or whether it should be preferred over manual checking.

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