Skip to main content
Glama

Maktaba-e-Qamar (مکتبۂ قمر)

Book details

get_book
Read-only

Details of one book: titles, author, publisher, year, language, section, description (Urdu and English), keywords, text coverage, and every volume with its doc_id, pages, pages with text and reader url of page 1, plus missing volumes. book = work number or title words (candidates or suggestions if ambiguous).

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": {
      "book": "<book>"
    },
    "name": "get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookYesWork number (e.g. "46") or title words in any script.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a safe read-only, non-destructive, closed-world operation, and the description adds real behavioral value on top: it discloses the ambiguity-resolution behavior (candidates/suggestions instead of an error) and that missing volumes are reported. It does not cover response size or pagination, which keeps it from a 5.

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 'Details of one book' followed by a dense return-field inventory and one clarifying sentence about the `book` parameter. The field enumeration is long but every item tells the agent what to expect; nothing is padded.

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 carries the return-value burden and does so thoroughly, listing both book-level and volume-level fields plus the missing-volumes case. Minor gaps remain (e.g., what 'text coverage' means numerically, result size), but an agent can call it confidently.

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% and already documents `book` as a work number or title words. The description still adds meaning beyond the schema by explaining the fallback semantics — title-word lookup may return candidates or suggestions when ambiguous.

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 verb (retrieve details) and resource (one book) and enumerates exactly what comes back — titles, author, publisher, year, language, section, descriptions, keywords, text coverage, and per-volume metadata. It is clearly a single-record lookup, distinguishable from list_books/search, though it never names those siblings explicitly.

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: use it to get details of one book, and it explains that ambiguous input yields candidate matches or suggestions. There is no explicit statement of when to prefer this over search or list_books, so routing is left to inference.

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