Skip to main content
Glama

Publisher

fd_publisher
Read-onlyIdempotent

Retrieve a publisher's profile and books in Toman by ID or name, then filter by ebook/audio, sort results, and see other name matches.

Instructions

A publisher's profile and books (Toman).

Use for "books from publisher X". A name uses the first match; matches lists the others. Details: fd_book.

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": {
      "publisher": "<publisher>"
    },
    "name": "fd_publisher"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoebook (epub/pdf), audio (mp3) or any.any
sortNoOrder of the books (default bestseller).bestseller
limitNoBooks per page.
full_textNoDo not clip description or review text.
publisherYesPublisher id (e.g. 221) or a name (e.g. 'نگاه').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: a name resolves to the first match and `matches` lists the remaining candidates, which is important for interpreting results. It says nothing about pagination or result size, so it is useful 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.

Conciseness4/5

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

Three short lines, front-loaded with the resource and the use case, with no filler. The trailing 'Details: fd_book' is terse to the point of being slightly cryptic, but it is not wasted space.

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?

For a read-only lookup with five fully documented parameters and no output schema, the description covers purpose, trigger, name-resolution behavior and the handoff to fd_book. The only real gap is that it does not describe the shape of the returned profile/books list, which matters somewhat given there is no output schema.

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%, so the baseline is 3. The description goes beyond the schema by explaining what happens when `publisher` is supplied as a name rather than an id — the first match is used and alternatives appear in `matches` — which is real semantic value the schema does not convey.

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 names a specific resource ('A publisher's profile and books') and a concrete use case ('books from publisher X'), so an agent can tell it apart from fd_book, which is explicitly named as the details tool. It stops short of a crisp verb+resource phrasing, but the scope is 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?

It gives an explicit trigger phrase ('Use for "books from publisher X"') and routes detail-seeking calls to fd_book. It does not state when NOT to use it (e.g. versus fd_search or fd_bestsellers), so it falls short of full alternative coverage.

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