Skip to main content
Glama

Detsky Mir Catalog Categories

detmir_categories
Read-onlyIdempotent

Browse the Detsky Mir category tree to find aliases and product counts for listings when text search is unavailable.

Instructions

Browse the Detsky Mir catalog tree and get the aliases detmir_category needs.

This is the discovery step: Detsky Mir has no working text search (see the module docstring), so the way to find products is to walk the tree and then list a category. Each node carries its alias and a products_count, so you can see where the inventory actually is before fetching a listing.

Full field list and error codes: guide://detmir/detmir_categories.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum categories to return.
parentNo'top' for the 27 top-level sections, or a parent category id to list its children.top
regionNoISO region code for prices and offline stock, e.g. 'RU-MOW' or 'RU-SPE'. Defaults to DETMIR_REGION.

Output Schema

NameRequiredDescriptionDefault
metaNo
itemsNo
parentNo
regionNo
returnedNo
total_availableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: each node carries `alias` and `products_count`, letting the agent gauge inventory depth before fetching a listing, and it points to a separate guide for error codes. It omits pagination behavior for the `limit` cap.

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-loads the action and the payoff in the first sentence, then the rationale in a short paragraph. No filler sentences. The reference to a module docstring is slightly informal but costs little 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?

With annotations covering safety, a full-schema parameter set, and an output schema in place, the description only needs to explain workflow placement and node contents, which it does. The reference to an external guide for full fields and error codes is acceptable but means some detail lives outside the description.

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%, so all three parameters (limit, parent, region) are already documented in the schema. The description adds only indirect meaning, mentioning that aliases and products_count appear per node but not clarifying parameter syntax. Baseline 3 is appropriate.

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?

States a specific verb+resource: browse the Detsky Mir catalog tree and obtain the aliases that `detmir_category` requires. It also names the sibling it feeds into, which distinguishes it from detmir_category itself. It stops short of differentiating from the other marketplace category tools (wb_categories), but the marketplace prefix makes that reasonably clear.

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?

Explains the workflow context explicitly: since Detsky Mir has no working text search, the agent must walk the tree here first and then list a category via detmir_category. That is clear when-to-use guidance. It does not state when-not to use it (e.g. if you already have an alias), so it misses the top score.

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