Skip to main content
Glama

HamroLink Business OS MCP Server

commerce.get_product

Read-only

Retrieves details for a single e-commerce product.

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": {
      "siteId": "<siteId>",
      "productId": "<productId>"
    },
    "name": "commerce.get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesMongoDB Site ID
productIdYesProduct MongoDB ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds little beyond restating the purpose: it does not mention permission requirements, not-found behavior, or what 'details' includes. It is not contradictory, but it provides minimal behavioral context beyond the structured annotations.

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?

The description is a single, front-loaded sentence with no filler or redundant wording. Every part of the sentence contributes to identifying what the tool does.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a low-complexity lookup with two fully documented required parameters and annotations covering its read-only behavior. However, the description does not clarify the shape of the returned product details or any error behavior when an ID is invalid. It is adequate but leaves meaningful gaps for an agent relying on the description alone.

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%, with both siteId and productId documented as MongoDB identifiers. The description does not add any meaning beyond the schema and does not clarify how the two IDs interact. With the schema fully carrying parameter semantics, the baseline of 3 is appropriate.

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?

The description states a specific verb, 'Retrieves,' and a specific resource, 'details for a single e-commerce product.' The word 'single' distinguishes it from list-style sibling operations, though the description does not explicitly name an alternative. This is clear but stops short of full sibling differentiation.

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

Usage Guidelines2/5

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

The description provides no explicit guidance on when to use this tool versus siblings such as list_products or product search alternatives. It implies retrieval of one product by ID, but gives no prerequisites, exclusions, or conditions for choosing this over another lookup tool.

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.