Skip to main content
Glama

Product master lookup

get_product_master
Read-only

Look up a catalog master product by SKU, name, HSN or a mapped marketplace SKU: HSN, GST tax group and rate, cost, status. For a single match also combo lines, variants, dated cost and per-channel mapping. Use for wrong GST, missing cost or combo questions.

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": {
      "query": "<query>"
    },
    "name": "get_product_master"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesAccounting SKU, product name, HSN code, or a marketplace SKU that is mapped to a master.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare this a safe, closed-world read. The description adds a real behavioral detail beyond them: extra data (combo lines, variants, dated cost, per-channel mapping) appears only when there is a single match, which tells the agent to expect variable response depth. It does not say what happens on zero or multiple matches, which is the key behavioral risk for a fuzzy lookup.

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?

Two sentences, front-loaded with the action and lookup keys, then the conditional detail and use cases. The returned-field list is dense but compact; a slightly clearer separation of inputs versus outputs would remove the only ambiguity.

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 one-parameter, read-only tool with an output schema and annotations, the definition covers purpose, keys, and triggers adequately. The remaining gap is multi-match and no-match behavior, which matters because the query accepts names and HSN codes that are rarely unique.

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 there is a single parameter, so the schema already explains the accepted query forms. The description repeats the same key list without adding matching semantics (exact vs. partial, ambiguity resolution, marketplace mapping behavior), so baseline 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 ('look up') plus the exact resource ('catalog master product') and enumerates all four lookup keys (SKU, name, HSN, mapped marketplace SKU). It also names the fields returned (HSN, GST group/rate, cost, status), so an agent can distinguish this product-master lookup from aggregate siblings like get_hsn_summary without opening the 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?

The closing sentence gives concrete triggers: wrong GST, missing cost, or combo questions. That is clear when-to-use guidance, but it offers no exclusions or named alternatives for cases such as wanting aggregated HSN reporting rather than a single product record.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources