Skip to main content
Glama
alirezas

iranketab-mcp

by alirezas

Compare editions and translations

book_editions
Read-onlyIdempotent

Compare all editions of a book by translator, publisher, price, stock, and rating to find the best, cheapest, or available version.

Instructions

All editions of one book with full data per edition: translators and publisher (with ids), price and discount in Toman, stock state, earliest delivery, rating, ISBN, format (قطع), cover (نوع جلد), pages, publication year and print run (سری چاپ - a high number means a long-lived, popular edition). Answers 'which translation is best / cheapest / available?'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesbook_id or edition_id
sortNosite = iranketab's own order; rating puts well-voted editions firstsite
limitNoHow many to return (default 20, max 50)
publisherNoOnly editions whose publisher name contains this
translatorNoOnly editions whose translator name contains this
only_availableNoHide out-of-stock editions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this as read-only, idempotent, and open-world, so the safety profile is covered. The description adds meaningful behavioral context beyond annotations: full data per edition, price and discount in Toman, stock state, earliest delivery, and the important interpretation of print run as a popularity indicator. No contradictions with annotations.

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 description is information-dense and front-loaded with the main purpose before the field enumeration. The field list is long but each item adds practical value, and the closing question succinctly captures the tool's decision-support role. It is slightly long, but not wasteful.

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 enumerating the returned data fields, including units, Persian terms, and the print-run interpretation. The schema covers parameters, and annotations cover safety and idempotency. It does not describe errors or edge cases, but for a read-only comparison tool this is acceptable.

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 100%, so the schema already documents all six parameters thoroughly. The description adds some interpretive context (e.g., print run meaning, 'cheapest/available' aligning with sort and only_available), but most parameter semantics remain in the schema. Baseline 3 is appropriate.

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 description clearly identifies the resource: all editions of one book, with a full list of per-edition fields. It also states the core use case: answering which translation is best, cheapest, or available. It stops short of a 5 because it lacks an explicit verb like 'list' or 'get' and does not explicitly name a sibling tool to differentiate from, though 'one book' helps distinguish it from search and browse tools.

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?

The description provides clear context for when to use the tool: when comparing editions or translations of a specific book and deciding among them. It does not explicitly state when not to use it or name alternatives, but the 'one book' scope and the quoted comparison questions make the intended usage obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.