Skip to main content
Glama

Categories

fd_categories
Read-onlyIdempotent

List category and subcategory slugs with Persian titles for Fidibo top levels, so you can find the right category slug for browsing, bestsellers, new, or free titles.

Instructions

List category and sub-category slugs (with Persian titles) of one top level.

Use to find the category slug for fd_browse / fd_bestsellers / fd_new / fd_free. Pass parent to narrow.

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_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoTop level (default ebooks).ebooks
parentNoOnly this category's sub-categories, e.g. 'psychology'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds useful context beyond them: the tool returns slugs paired with Persian titles, and `parent` restricts output to one category's sub-categories. It does not mention ordering, pagination, or whether the list is exhaustive, which keeps it below 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.

Conciseness5/5

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

Two sentences, front-loaded with what the tool returns before the usage routing. Every clause carries information; there is no restatement of the tool name or filler.

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 two-parameter, optional-only read tool with full annotation coverage, the description covers purpose, output shape, and routing to consumers. The only gap is the shape of the return (flat list vs nested sub-categories) and any ordering, which matters slightly 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and both parameters carry their own descriptions plus an enum for `level`, so the schema already does the heavy lifting. The description only reinforces intent ('Pass `parent` to narrow', 'one top level') without adding format or edge-case detail beyond the schema.

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 a specific verb and resource ('List category and sub-category slugs') and even specifies the payload ('with Persian titles') and the scoping unit ('of one top level'). An agent can distinguish this lookup tool from fd_browse / fd_search without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the downstream consumers ('Use to find the `category` slug for fd_browse / fd_bestsellers / fd_new / fd_free'), which tells the agent exactly when this tool is the right call versus those siblings. It also states how to narrow scope with `parent`.

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