Skip to main content
Glama

Bestsellers

fd_bestsellers
Read-onlyIdempotent

Find top-selling Persian ebooks and audiobooks by week, month, or all time, filtered by category, to identify popular titles.

Instructions

Top sellers of the week, month or all time, per kind and category (Toman).

Use for "what is popular now" or "best audiobooks".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fd_bestsellers"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoebook (epub/pdf), audio (mp3) or any.any
limitNoBooks per page.
periodNoLast week, last month or all time.week
categoryNoSlug from fd_categories, e.g. 'psychology' or 'audiobooks/story-foreign'. Includes sub-categories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description contributes one genuinely new fact, that monetary figures are in Toman, but says nothing about paging beyond the schema's limit field, and there is no offset/cursor parameter to advance through results.

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?

Two short sentences, front-loaded with the resource and scope, with no filler. The bare parenthetical "(Toman)" is slightly cryptic at the end of sentence one but still carries real information.

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 four optional parameters, no output schema, and enum-rich inputs, the definition is adequate for invoking the tool but leaves open what the response contains (ranked book records? prices? counts?) and how to retrieve results past the limit cap of 30.

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% and the enum values are documented inline, so baseline is 3. The description adds only the loose phrase "per kind and category", which restates what the kind and category properties already define more precisely.

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?

"Top sellers of the week, month or all time, per kind and category" states a concrete result set plus its two scoping dimensions, which cleanly separates it from list-style siblings like fd_new or fd_browse. It never names a sibling, so the differentiation is inferential rather than explicit.

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 second sentence gives two concrete usage triggers ("what is popular now", "best audiobooks"), which is clear positive guidance. It stops short of stating when not to use it or pointing to an alternative such as fd_search for explicit title lookups.

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