get_product_detail
获取单个产品的结构化信息。compact=true时只返回摘要字段,适合Agent快速浏览;默认返回完整信息含条款详情。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | 精简模式:只返回核心字段+coverage前8项摘要,省略条款/FAQ详情 | |
| product_id | Yes | 产品ID |
获取单个产品的结构化信息。compact=true时只返回摘要字段,适合Agent快速浏览;默认返回完整信息含条款详情。
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | 精简模式:只返回核心字段+coverage前8项摘要,省略条款/FAQ详情 | |
| product_id | Yes | 产品ID |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry behavioral disclosure. It explains compact vs full response but does not mention safety, permissions, or side effects. Since it's a read operation, this is adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with main purpose. No redundant or unnecessary information; every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Without an output schema, the description provides reasonable detail on what is returned (structured info, modes). It mentions '条款详情' (clause details) in full mode, but could elaborate on the actual fields. Still, it is fairly complete for a simple fetch tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with detailed parameter descriptions. The description adds context for compact mode ('只返回摘要字段,适合Agent快速浏览') but does not significantly exceed schema info. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states '获取单个产品的结构化信息' (get structured information for a single product), specifying it's for one product and distinguishing from siblings like search_products. It also explains compact mode for quick browsing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides context on when to use compact=true vs default, noting compact is suitable for 'Agent快速浏览' (Agent quick browsing). However, it does not explicitly exclude other tools or mention when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.