Skip to main content
Glama

Book details

fd_book
Read-onlyIdempotent

Retrieve a selected book’s full record by ID, including price in Toman, pages or duration, rating distribution, categories, and description for comparison and follow-up review lookups.

Instructions

One book's full record: price (Toman), pages or duration, size, people, rating distribution, description (cut at 1500 chars unless full_text), printed price, categories.

Use once the user picks a book. Then fd_reviews, fd_similar.

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_id": "<book_id>"
    },
    "name": "fd_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
book_idYesFrom fd_search / fd_browse, e.g. 68286.
full_textNoDo not clip description or review text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuine behavioral detail beyond them: the description field is truncated at 1500 characters unless full_text is set, and prices are in Toman. It says nothing about response size, error behavior for invalid IDs, or rate limits, so this is solid but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short lines, payload summary first, usage note second, with zero filler. Every clause carries either a returned field or a usage instruction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two parameters, no output schema and annotations covering the safety profile, the description carries the remaining burden by enumerating returned fields itself and flagging the truncation default. Nothing an agent needs to call this correctly is missing.

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 already 100%, so the baseline is 3. The description earns an extra point by quantifying the truncation behavior ('cut at 1500 chars unless full_text'), which the schema only states qualitatively as 'Do not clip description or review text', giving the agent a concrete reason to set full_text.

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 the resource precisely ('One book's full record') and enumerates the actual returned fields (price in Toman, pages/duration, rating distribution, description, categories), which lets an agent distinguish it from list-oriented siblings like fd_search and fd_browse. The phrasing is nominal rather than verb-first, but the specificity of the payload makes the purpose unambiguous.

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?

Gives explicit sequencing ('Use once the user picks a book') and names the follow-on tools (fd_reviews, fd_similar), while the schema points at fd_search/fd_browse as the source of book_id. It stops short of an explicit when-not statement, so it falls just below the top tier.

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