Skip to main content
Glama
masterkala-mcp

masterkala-mcp

by sepehr071

List categories

mk_categories
Read-only

Lists MasterKala product categories and IDs, with optional filtering by Persian name or English slug, so agents can retrieve a category_id for browsing or filtering products.

Instructions

List MasterKala's product categories with their ids (about 100).

Use to get a category_id for mk_browse / mk_filters.

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

Input Schema

NameRequiredDescriptionDefault
queryNoFilter on Persian name or English slug, 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 English slug, e.g. 'شارژر' or 'charger'."New value: +"Filter on Persian name or English slug, e.g. 'شارژر'."
  2. Changed3 schema fields changedv0.3.0
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / title
      Removed value: -"mk_categoriesArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "mk_categoriesDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

readOnlyHint=true already establishes the safety profile, so the description only needs to add context. The 'about 100' scale hint is genuinely useful for planning, but nothing is said about ordering, pagination, or whether the full list is always returned.

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, zero filler, with the resource and scale front-loaded and the usage routing second. Every clause carries information an agent needs.

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 single-optional-parameter read tool with no output schema, the description covers what is returned (categories with ids) and why it matters, which compensates for the missing output schema. Only minor details like ordering or result-size limits are absent.

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 the query parameter already documents matching on Persian name or English slug with an example. The description adds no further meaning beyond what the schema provides, so the baseline 3 applies.

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) plus the payload (ids) and approximate cardinality (about 100). It is distinguishable from siblings such as mk_brands and mk_filters, though it never explicitly says how it differs from them.

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?

Explicitly names the downstream consumers ('Use to get a category_id for mk_browse / mk_filters'), giving a clear trigger for calling this tool first. It stops short of stating when not to use it (e.g., when a category_id is already known).

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