Skip to main content
Glama

同一商品在各連鎖通路的售價比較

shop__compare_chain_prices
Read-onlyIdempotent

[熱門連鎖比價]同一商品在各連鎖通路的售價比較(輸入商品關鍵字,例如:舒酸定)。

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": {
      "q": "<q>"
    },
    "name": "shop__compare_chain_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes商品關鍵字

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

The annotations already state that the operation is read-only, idempotent, non-destructive, and open-world, so the safety profile is clear. The description adds almost no behavior of its own: it does not say what the result looks like, whether prices are returned per chain store, whether some chains may be missing, or whether the data is live. The bracketed '熱門' tag is marketing, not behavior.

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?

It is a single front-loaded sentence with an inline example, and it has no padding. The bracketed promotional prefix adds little, but costs little space.

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

Completeness3/5

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

For a one-parameter read-only lookup, purpose and input are adequately covered. However, there is no output schema, and the description never says what a response contains, such as per-chain price rows or sorting, so an agent cannot anticipate the result shape.

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?

There is one parameter with 100% schema coverage, so the schema already defines the keyword field. The example value meaningfully clarifies the level of the keyword, showing that it is a product or brand term, not a chain name or SKU.

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 a specific action and object: comparing the price of one product across chain stores, with the input being a product keyword. This is more than a restatement of the title, because it makes the comparison scope explicit. However, it does not distinguish the tool from sibling tools that look similar, such as shop__get_product_price or shop__list_lowest_prices.

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?

The example keyword (舒酸定) implies how to call the tool and suggests the intended use case, where the agent enters a brand or product name. It does not say when an agent should choose this tool over the price-related siblings, and it does not mention any exclusions or prerequisites.

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