Skip to main content
Glama

商品详情

get_product
Read-onlyIdempotent

Retrieves product descriptions, specifications, stock status, and purchase links using a positive integer product ID from the ZeroAi MCP catalog.

Instructions

按正整数商品 ID 读取说明、规格、库存和购买链接。不能使用别名。不返回评价。质保订阅,不保封号。

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
idYes商品数字 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real scope context beyond that: it does not return reviews, and it carries a caveat that the warranty covers the subscription but not account bans. The final clause is terse and its operational relevance is unclear, which keeps this from a 5.

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?

Four short sentences, front-loaded with the core action and returned fields, with exclusions following. The closing warranty disclaimer is telegraphic and only loosely tied to tool selection, so it slightly dilutes an otherwise tight definition.

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 single-parameter read tool with full annotation coverage and no output schema, the description covers the action, the returned data set, and what is explicitly excluded (reviews). The only gap is that it never states the failure mode when an invalid or unknown ID is supplied.

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 the baseline is 3, and the description earns above that by clarifying that the ID must be a positive integer and that aliases/names are rejected — meaning the agent must resolve a numeric ID first. It does not mention the upper bound already documented in 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?

The description gives a specific verb and resource (read product details by numeric ID) and enumerates the returned fields: description, specs, stock, purchase link. It does not explicitly contrast with siblings such as check_stock or search_products, so it falls 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 by 'by positive integer product ID' plus the constraint 'aliases cannot be used', which tells the agent what input form is required. There is no explicit statement of when to prefer this over check_stock (stock-only) or search_products (ID discovery), and no stated prerequisites.

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