Skip to main content
Glama
@asterpay/mcp-server

@asterpay/mcp-server

by petteri74dev

get_product

Retrieve detailed information for a specific product by its product ID, returning pricing and merchant data so agents can place orders. Use list_products first to find valid IDs.

Instructions

Get detailed information about a specific product by its ID. Use list_products first to find available product IDs.

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_idYesProduct ID, e.g. prod_001
merchantSlugNoMerchant identifier. Omit to use default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. 'Get' implies a read-only, non-destructive operation, but nothing is said about behavior when the product_id is unknown (error vs. empty), what 'detailed' actually includes, or whether merchantSlug changes scoping. That leaves meaningful gaps for a zero-annotation tool.

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 core action front-loaded and the prerequisite follow-up second. Every sentence 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?

For a simple two-parameter read tool with full schema coverage and no output schema, the definition covers the essentials of selection and invocation. The only shortfall is vagueness about what 'detailed information' contains and what happens on an invalid ID.

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% and both parameters are documented inline, including the example ID format and the meaning of omitting merchantSlug. The description adds only the concept of looking IDs up via list_products, so baseline 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?

States a specific verb and resource ('Get detailed information about a specific product by its ID'), which clearly separates it from list-based siblings. It does not explicitly contrast itself with list_products in terms of return shape (single detail vs. list summary), but the intent is unambiguous.

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?

Explicitly tells the agent to call list_products first to discover IDs, which is real workflow guidance naming an alternative. It stops short of stating when not to use this tool (e.g., for bulk retrieval) or prerequisite conditions, so not a full 5.

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