Skip to main content
Glama

Detsky Mir Catalog Categories

detmir_categories
Read-onlyIdempotent

Browse the Detsky Mir catalog tree to find category aliases and product counts when text search is unavailable, then use those aliases to list products by category.

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.

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": "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

A4.5/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 safety is covered; the description adds that each node carries `alias` and `products_count`, which tells the agent it can gauge inventory depth mid-traversal. It does not mention rate limits, auth, or pagination behavior beyond what the schema's `limit` implies, keeping 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?

The core purpose is front-loaded in the first sentence, followed by the rationale and the value of the returned fields, with a single pointer for deeper documentation. No sentence is redundant and the length matches a three-parameter read tool.

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 an output schema present, the description need not enumerate return fields, and rich read-only annotations cover the safety profile; the description still adds the traversal workflow and defers field lists and error codes to `guide://detmir/detmir_categories`. Nothing an agent needs in order 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.

Parameters3/5

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

Schema description coverage is 100%, so `limit`, `parent` ('top' vs. parent id) and `region` are already fully documented in structured fields. The description adds only conceptual framing for tree traversal and no syntax or default detail beyond the schema, so the baseline of 3 applies.

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 ('Browse the Detsky Mir catalog tree') and immediately names its downstream purpose: producing the aliases that `detmir_category` consumes. This lets an agent distinguish it from `detmir_category` (which lists products) and from `wb_categories` (a different marketplace) 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 frames itself as 'the discovery step' and gives the reason: Detsky Mir has no working text search, so products are found by walking the tree and then listing a category. That is both a when-to-use rule and an explicit exclusion of the search-style alternative, plus the follow-up step is named.

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