Skip to main content
Glama
asalbanoo-mcp

asalbanoo-mcp

by sepehr071

List categories

ab_categories
Read-onlyIdempotent

List product categories with slugs and counts, filter by Persian name or slug, and retrieve category IDs for browsing products.

Instructions

List product categories (about 70) with slugs and counts.

Use to get a category slug. parent = parent category id (0 = top level); count includes out-of-stock.

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

Input Schema

NameRequiredDescriptionDefault
queryNoPersian name or slug filter, e.g. 'شامپو'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • changedInput schema / properties / query / description
      Previous value: -"Optional filter on the Persian name or slug, e.g. 'شامپو' or 'sun'."New value: +"Persian name or slug filter, e.g. 'شامپو'."
  2. Changed3 schema fields changedv0.3.0
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / title
      Removed value: -"ab_categoriesArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ab_categoriesDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/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 does add real behavioral value by disclosing the approximate result size (~70) and that counts include out-of-stock items. However, the 'parent = parent category id' line describes something not present in the schema, which muddies rather than clarifies behavior.

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?

Very short and front-loaded: the first sentence establishes what is returned, the second establishes the use case. The 'parent' sentence is the only portion that fails to earn its place given the schema.

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?

There is no output schema, and the description does a fair job sketching the return shape (slugs, counts, ~70 items), which is adequate for a simple list tool. It is incomplete in that it never explains the only real input parameter's behavior and instead describes a 'parent' concept whose role (input vs. returned field) is left ambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema coverage is 100%, so the single 'query' parameter is already fully documented, establishing a baseline of 3. Instead of adding meaning, the description introduces a 'parent' concept ('parent = parent category id (0 = top level)') that has no corresponding parameter in the schema, which could lead an agent to attempt passing an unsupported argument.

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 and resource ('List product categories') and adds scope detail (about 70, with slugs and counts) that tells an agent what payload to expect. It is distinguishable from ab_brands and ab_filters by naming categories, though it never explicitly contrasts with the closest sibling, ab_browse.

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?

'Use to get a category slug' gives a clear triggering context for the tool. There are no stated exclusions or named alternatives (e.g., when to prefer ab_browse or ab_search for the same task), so it falls short of full when/when-not guidance.

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