Skip to main content
Glama

KodShop catalog

get_product

Read-only

Get one catalog product by id: available denominations with prices, required order inputs, and any countries where the code cannot be redeemed.

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": {
      "id": "<id>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProduct id from search_catalog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes this is a non-destructive read, and the description is consistent with that. It adds genuine value beyond the annotation by disclosing the shape of the payload — denominations with prices, required order inputs, and redemption-restricted countries — which drives downstream ordering decisions. It omits error behavior for unknown ids, but that is a minor gap for a simple lookup.

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?

A single sentence with the verb and resource front-loaded and zero filler; the colon-separated list efficiently conveys what is returned without repetition.

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 tool with no output schema, the description does the heavy lifting by enumerating return contents in place of a missing output schema. Only the invalid-id/error path is left unstated, a small gap given the tool's low complexity. Both annotations and schema are satisfied.

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?

There is a single required parameter and schema description coverage is 100%, with the schema itself stating "Product id from search_catalog." The description's "by id" adds no syntax, format, or sourcing detail beyond the schema, so the baseline of 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?

"Get one catalog product by id" names a specific verb and resource, and "one ... by id" implicitly contrasts with the sibling search_catalog's list/search behavior. The description then enumerates the returned content (denominations, prices, required order inputs, blocked countries), so the agent knows exactly what data this retrieves. It stops short of naming the sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent must infer this is the follow-up to search_catalog to expand a known product id. There is no explicit statement of when to prefer this tool or when it should not be called (e.g., when only a search is needed).

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