Skip to main content
Glama
masterkala-mcp

masterkala-mcp

by sepehr071

Browse a category or brand

mk_browse
Read-only

List products by category, brand, or tag with sorting, price range, and filters; use keyword search for text queries.

Instructions

List the products of a category, brand or tag with sorting, price range and filters.

Pass exactly one of category_id / brand / tag_id. No keyword search here: mk_search.

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

Input Schema

NameRequiredDescriptionDefault
pageNoFrom 0.
sortNoIn-stock items always come first.cheapest
brandNoFrom mk_brands, e.g. 'mcdodo'.
limitNoPer page.
tag_idNoFrom /tag/<id>/ links, e.g. 22246.
max_priceNoMax final_price, Toman.
min_priceNoMin final_price, Toman.
filter_idsNoIds from mk_filters: 'm30' brand, 'o78' color, '117' attribute.
category_idNoFrom mk_categories or mk_search, e.g. 606.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.5.0
    • changedInput schema / properties / brand / description
      Previous value: -"Brand slug from mk_brands, e.g. 'mcdodo' or 'anker-fa'."New value: +"From mk_brands, e.g. 'mcdodo'."
    • changedInput schema / properties / category_id / description
      Previous value: -"Category id from mk_categories or mk_search, e.g. 606 (Bluetooth earbuds)."New value: +"From mk_categories or mk_search, e.g. 606."
    • changedInput schema / properties / filter_ids / description
      Previous value: -"Filter ids from mk_filters: 'm30' brand, 'o78' color, '117' attribute. Example: ['m30', 'o52']."New value: +"Ids from mk_filters: 'm30' brand, 'o78' color, '117' attribute."
    • changedInput schema / properties / limit / description
      Previous value: -"Products per page."New value: +"Per page."
    • changedInput schema / properties / max_price / description
      Previous value: -"Maximum payable price (final_price) in Toman, e.g. 5000000."New value: +"Max final_price, Toman."
    • changedInput schema / properties / min_price / description
      Previous value: -"Minimum payable price (final_price) in Toman, e.g. 3000000."New value: +"Min final_price, Toman."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, from 0."New value: +"From 0."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the listing. In-stock items always come first."New value: +"In-stock items always come first."
    • changedInput schema / properties / tag_id / description
      Previous value: -"Tag id from a /tag/<id>/ link in mk_search pages, e.g. 22246."New value: +"From /tag/<id>/ links, e.g. 22246."
  2. Changed11 schema fields changedv0.3.0
    • removedInput schema / properties / brand / title
      Removed value: -"Brand"
    • removedInput schema / properties / category_id / title
      Removed value: -"Category Id"
    • removedInput schema / properties / filter_ids / title
      Removed value: -"Filter Ids"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / max_price / title
      Removed value: -"Max Price"
    • removedInput schema / properties / min_price / title
      Removed value: -"Min Price"
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / properties / tag_id / title
      Removed value: -"Tag Id"
    • removedInput schema / title
      Removed value: -"mk_browseArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "mk_browseDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description is consistent with a pure read. Beyond that it discloses a genuine behavioral contract the schema does not encode — the schema marks all three selectors as optional-nullable with no oneOf, so the 'pass exactly one' rule is new and prevents malformed calls. It does not describe the returned collection shape or pagination totals, which is a real gap given there is no output schema.

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, no filler. The capability statement comes first and the disambiguation plus hard constraint follow, so the most decision-relevant information is front-loaded.

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 9-parameter read-only browse tool with full schema coverage but no output schema, the description covers purpose, selection rule, and the search alternative adequately. The main residual gap is the result shape (product fields, stock handling, pagination behavior) that an agent cannot learn from structured fields here.

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 every parameter already carries its own description, format hint, default, and sourcing guidance (mk_brands, mk_filters, /tag/<id>/ links). The description adds only the cross-parameter exactly-one constraint and the note that keyword search is unavailable. That is a modest but real addition over the schema, matching the baseline 3.

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?

The opening sentence gives a specific verb (list) and resource (products) plus the three selection axes (category, brand, tag) and the supported refinements (sorting, price range, filters). The second sentence explicitly fences it off from mk_search, so an agent can separate it from the keyword-search sibling without opening either schema.

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?

It states a hard selection rule (exactly one of category_id / brand / tag_id) and an explicit exclusion with the right alternative: 'No keyword search here: mk_search.' That is clear when-to-use and when-not guidance. It stops short of routing to other relevant siblings such as mk_find_cheapest or mk_deals, which overlap for price-oriented browsing.

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