Skip to main content
Glama

御府和田玉 在售作品查询

对比几件作品

compare_products
Read-only

对比 2~6 件作品(官网编号),并排返回料子、重量、尺寸、价格、获奖。客人在几件之间犹豫时用。

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": {
      "ids": "<ids>"
    },
    "name": "compare_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes官网作品编号列表,如 ["99654","96413"]

Output Schema

NameRequiredDescriptionDefault
missingNo
ai_labelNo
productsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "ai_label": {
      +      "type": "object"
      +    },
      +    "missing": {
      +      "type": "array"
      +    },
      +    "products": {
      +      "items": {
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "price_cny": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "price_text": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / ids / description
      Added value: +"官网作品编号列表,如 [\"99654\",\"96413\"]"
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile needs no restating. The description adds a behavioral constraint the schema does not encode: the comparison is only valid for 2–6 IDs and it returns a side-by-side layout of five attribute categories. It does not say what happens with an invalid or unknown ID, which leaves a small gap.

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?

Two short sentences: the operation and its bound come first, then the return contents, then the usage trigger. Nothing is redundant and nothing needs to be read twice.

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?

With one required, fully documented parameter, an output schema covering return values, and annotations covering read-only/environment scope, the description supplies everything else an agent needs: the item-count bound, what is compared, and the selection cue. No meaningful gap remains for a tool of this complexity.

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% and there is only one parameter, so the schema already explains the ID list format. The description still adds meaning beyond the schema by imposing the 2–6 item count, a bound absent from the schema (no minItems/maxItems), and by clarifying the IDs are official-site record numbers.

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?

The description states a specific verb (对比/compare), a specific resource (作品/official-site IDs), an explicit cardinality bound (2–6 items), and the dimensions returned (material, weight, size, price, awards). This lets an agent distinguish it from single-item lookups like get_product or search_products without opening the schema.

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

Usage Guidelines4/5

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

It gives a clear triggering condition: use it when a customer is hesitating among several pieces. That is a real usage cue rather than a restatement of the name. It stops short of naming alternatives (e.g. get_product for a single item) or stating when not to use it, so it is not a full 5.

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