Skip to main content
Glama

独行录 / opcmenu

查产品评价

get_product_ratings
Read-only

公开产品评分分布/总数/评论,登录含my;空勿借官网评价充数。get_product无此表;写评rate_product。

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_ratings"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNorecent 最新(默认)| helpful 最有用
limitNo返回条数,默认 20
cursorNo分页游标
productIdYes产品 id(cuid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"返回条数,默认 20"New value: +"返回条数,默认 20"
    • changedInput schema / properties / productId / description
      Previous value: -"产品 id(cuid)"New value: +"产品 id(cuid)"
    • changedInput schema / properties / sort / description
      Previous value: -"recent 最新(默认)| helpful 最有用"New value: +"recent 最新(默认)| helpful 最有用"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds real behavioral context beyond that: the response is public-only unless logged in (then includes the caller's own ratings), and the result set may legitimately be empty rather than padded. That auth-dependency and empty-result caveat are exactly what an agent needs and are not in the structured fields.

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?

Very compact and front-loaded: return contents first, then auth nuance, then sibling routing. Every clause carries information, though the compressed punctuation-separated style costs some readability.

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 4-parameter read-only list tool with no output schema, the definition covers what is returned, the login-dependent scope, empty-result handling, and the write alternative. Pagination and sorting behavior are left entirely to the schema, which is acceptable given full schema coverage.

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%, with sort/limit/cursor/productId all documented inline including the enum meanings and default of 20. The description adds no additional parameter semantics, so the 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?

The description names the resource and enumerates what is returned (rating distribution / total count / reviews), and explicitly contrasts with get_product ("无此表") and rate_product (write path), so the agent can separate it from the nearest read sibling. The phrasing is telegraphic and never states a clean verb like "retrieve", which keeps it just 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?

It routes one alternative correctly ("写评rate_product" for writing) and clarifies that get_product does not expose this data. However, there is no explicit statement of when to call this versus other read paths, and the "空勿借官网评价充数" line is a data-quality instruction rather than a selection guideline.

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