Skip to main content
Glama

TruCommerce Catalogue Pilot

Get a product and its source

get_product
Read-onlyIdempotent

Get one product identity, official brand page and source-check date. Does not determine ingredient suitability or stock.

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

Input Schema

NameRequiredDescriptionDefault
product_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context about payload scope and what the result cannot answer. It says nothing about what happens with an unknown or malformed product_id, which is the remaining behavioral unknown for an ID 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?

Two short sentences: the positive statement of payload first, the exclusion second. Every clause carries information and nothing is padded or repeated.

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 simple annotated read-only lookup with one parameter and no output schema, the description covers purpose, payload, and boundaries adequately. The only material omission is guidance on sourcing a valid product_id, which would complete the picture for an agent arriving from search_products.

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 with 0% schema description coverage, so the schema conveys only type and maxLength. The description does not say what a product_id looks like (opaque ID vs. slug) or where it comes from. The gap is small because only one parameter exists and its role is obvious from the tool name, but the description adds no meaning beyond the schema.

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?

Names a specific verb and resource ("Get one product") and enumerates the returned content: identity, official brand page, source-check date. It also bounds the scope negatively ("Does not determine ingredient suitability or stock"). It stops short of naming the sibling that finds a product_id (search_products), so differentiation is by payload rather than by routing.

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?

The negative clause tells the agent what this tool will not answer, which implicitly routes ingredient-suitability and stock questions elsewhere. However, it never states the positive precondition — that you need an existing product_id, and that search_products is how you obtain one. Usage is implied rather than prescribed.

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