Skip to main content
Glama
masterkala-mcp

masterkala-mcp

by sepehr071

Product details

mk_product
Read-only

Retrieve a product's full record by ID, including price in Toman, stock count, colors, category path, rating, and branches. Use after searching or browsing to inspect details.

Instructions

Get one product's full record: price (Toman), stock count, colors, category path, rating, branches.

Use after mk_search / mk_browse. Specs: mk_specs. Reviews: mk_reviews. Delivery: mk_shipping.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "product_id": "<product_id>"
    },
    "name": "mk_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
full_textNoUncut description (default 300 chars).
product_idYesFrom mk_search / mk_browse, e.g. 24855.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • changedInput schema / properties / full_text / description
      Previous value: -"Return the description uncut (default cuts at 300 chars)."New value: +"Uncut description (default 300 chars)."
    • changedInput schema / properties / product_id / description
      Previous value: -"MasterKala product id from mk_search / mk_browse, e.g. 24855."New value: +"From mk_search / mk_browse, e.g. 24855."
  2. Changed4 schema fields changedv0.3.0
    • addedInput schema / properties / full_text
      Added value: +{
      +  "default": false,
      +  "description": "Return the description uncut (default cuts at 300 chars).",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / product_id / title
      Removed value: -"Product Id"
    • removedInput schema / title
      Removed value: -"mk_productArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "mk_productDictOutput",
      -  "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 already declare readOnlyHint=true, so the safety profile is settled and the description does not contradict it. Beyond that, it discloses the shape of the returned record (currency of price, presence of stock/colors/category path/rating/branches), which is real behavioral value. It stops short of covering invalid-id behavior or truncation effects, so not 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?

Two short sentences, zero filler, with the capability statement front-loaded and the sibling routing compressed into a single telegraphic line. 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?

With no output schema, the description compensates by naming the returned fields, and the sibling map covers the natural follow-up lookups. Only gap is what happens on an unknown product_id or how large the full_text response can get, but the core call contract is complete.

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 both parameters are self-documenting, including the 300-char full_text default and the product_id example. The description adds no meaning beyond the schema for either parameter — the Toman note refers to a returned field, not an input. Baseline 3 is appropriate when the schema does the work.

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?

Specific verb and resource ('Get one product's full record') followed by an enumeration of exactly what comes back: price in Toman, stock, colors, category path, rating, branches. That field list makes it immediately distinguishable from siblings like mk_specs or mk_reviews, which the description explicitly routes away.

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?

Explicit sequencing guidance: 'Use after mk_search / mk_browse', which tells the agent how product_id is obtained. It also redirects to mk_specs, mk_reviews and mk_shipping for adjacent data, effectively defining when not to use it. No explicit exclusion sentence, but the routing covers the main misuse cases.

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