Skip to main content
Glama

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

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": "compare_chain_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes商品關鍵字

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds no behavioral context beyond that: it does not say which chains are covered, whether results are per-chain rows or a summary, whether the lookup is live or cached, or how ambiguous keywords are handled. For an open-world lookup tool with zero added disclosure, this is a real gap.

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?

A single short sentence that front-loads the purpose and then appends an input example. Nothing is redundant, though the parenthetical example does most of the work that usage guidance would otherwise do.

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?

The tool is simple (one required string, no nesting), but there is no output schema and the description never indicates what comes back — presumably a per-chain price list, but that is inferred from the title. Combined with the absence of any when-to-use routing, the definition is adequate but leaves the agent guessing about the result shape.

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 coverage is 100% and there is a single required parameter q documented as 商品關鍵字, so the schema carries the semantics. The description only restates that a keyword is expected and adds a concrete example brand, which gives slight extra signal about expected input granularity but nothing on matching behavior or format.

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 states a specific verb and resource: comparing the price of the same product across chain stores (售價比較 across 各連鎖通路). An agent can tell this apart from a single-price lookup or a promo listing. It stops short of naming a specific sibling to defer to, so the differentiation is implicit rather than explicit.

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

Usage Guidelines2/5

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

The only guidance is that the input is a product keyword with an example (舒酸定). There is no statement of when this tool should be chosen over neighbors such as get_product_price, list_lowest_prices, or search_products, nor any exclusion or prerequisite. Usage must be inferred from the name alone.

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.