Skip to main content
Glama

独行录 / opcmenu

查产品评分摘要

get_product_rating_summary
Read-only

产品星级汇总:平均/分布/总数,不取文字;评价文字get_product_ratings。

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": {
      "productId": "<productId>"
    },
    "name": "get_product_rating_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYes产品 id(cuid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / productId / description
      Previous value: -"产品 id(cuid)"New value: +"产品 id(cuid)"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuinely new behavioral information: the response contains only aggregates and no text payload. It stops short of noting auth requirements, rate limits, or pagination, which keeps it below 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact line, front-loaded with what is returned and immediately followed by the routing hint to the alternative. No redundant restatement of the title.

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

Completeness5/5

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

No output schema exists, and the description compensates by listing exactly what the response contains (平均/分布/总数, no text). For a single-parameter read tool this leaves nothing material an agent needs missing.

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?

There is a single parameter (productId) with 100% schema description coverage ('产品 id(cuid)'). The description adds no further meaning about the id format or lookup behavior, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (product star rating summary) and enumerates the returned aggregate fields (平均/分布/总数). It also explicitly excludes review text, which cleanly separates it from get_product_ratings.

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

Usage Guidelines5/5

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

Names the alternative tool get_product_ratings and the condition that selects it (需要评价文字). The '不取文字' clause tells the agent both when to use this tool and when not to.

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