Skip to main content
Glama

Sense2 Promotional Products

get_product

Read-only

Get full product details by PID (branded pricing; plus a wholesale block with unbranded, no-setup prices where plain stock is available). locale localises the product name, currency, pricing and URL (en-AU, en-US, en-NZ, de-DE, ja-JP); descriptions are English for all locales. availability is the stock state the product page and the Merchant feed publish (in stock, out of stock or made to order). faqs, when present, are the product's own buyer answers for the requested market, word for word as on its page. On the Australian endpoint (locale en-AU), products on Sense2's Australian bestseller list also carry bestseller: true and bestseller_rank (1 = ordered most often by Australian customers); other markets and other products omit both fields.

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

Input Schema

NameRequiredDescriptionDefault
pidYesProduct ID (number or string)
localeNoen-AU, en-US, en-NZ, de-DE, ja-JP. Defaults to the endpoint host's market.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / locale / default
      Removed value: -"en-AU"
    • changedInput schema / properties / locale / description
      Previous value: -"Locale (en-AU, en-US, en-NZ, de-DE, ja-JP). Localises name/currency/URL; description stays English."New value: +"en-AU, en-US, en-NZ, de-DE, ja-JP. Defaults to the endpoint host's market."
  2. Changed2 schema fields changed
    • changedInput schema / properties / pid / description
      Previous value: -"Product ID"New value: +"Product ID (number or string)"
    • changedInput schema / properties / pid / type
      Previous value: -"number"New value: +[
      +  "string",
      +  "number"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / locale / description
      Previous value: -"Locale (en-AU, en-US, en-NZ, de-DE, ja-JP)"New value: +"Locale (en-AU, en-US, en-NZ, de-DE, ja-JP). Localises name/currency/URL; description stays English."
  4. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond them, disclosing that locale changes name, currency, pricing and URL while descriptions stay English, that availability mirrors the product page and Merchant feed, that faqs are verbatim per-market, and that bestseller fields appear only on the en-AU endpoint. These conditional-output rules are exactly the behavioral context an agent cannot get from annotations.

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?

The core action and scope are front-loaded, and each following sentence covers a distinct downstream field (locale, availability, faqs, bestseller). It is dense but nearly every clause carries information; a slight cost is that it reads as one long block rather than being broken into scannable pieces.

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?

With no output schema, the description properly carries the return-value burden by explaining the wholesale block, availability states, faqs and bestseller fields. What it omits is error/not-found behavior for an invalid PID and any hint about response size or shape, which matters somewhat for a 'full details' tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description genuinely adds meaning: it explains what locale actually localises (name, currency, pricing, URL), lists the same five locale codes, and adds the non-obvious caveat that descriptions remain English. pid is only described as 'by PID', with no format or not-found behavior, which keeps it from a 5.

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?

Opens with a specific verb and resource ('Get full product details by PID') and immediately scopes what 'details' means (branded pricing, wholesale block). It is clearly a single-product lookup rather than a search, which separates it from search_products/find_products_by_colour. It does not name a sibling explicitly, so it stops short of a 5.

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 implied rather than stated: the PID requirement signals a known-product lookup, and the locale/availability notes imply when those matter. There is no explicit 'use this instead of X when…' or exclusion, and no guidance on which endpoint/market to target beyond 'defaults to the endpoint host's market' in the schema.

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