Skip to main content
Glama

AI 代理人任務中樞

取得單一商品的目前最低價、各商店報價

shop__get_product_price
Read-onlyIdempotent

[熱門連鎖比價]取得單一商品的目前最低價、各商店報價,以及近 90 天最低、最高、平均價。

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": {
      "id": "<id>"
    },
    "name": "shop__get_product_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes商品 id,例如 pchome:DYAJCH-1900JLHPE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds useful context about the shape of the data returned, including a 90-day statistical window, which the annotations do not convey. It says nothing about data freshness, coverage, or what happens when the product id is unknown.

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 front-loaded sentence that states the payload contents in priority order: current lowest price first, then per-store quotes, then historical statistics. No filler or redundant restatement of the tool name.

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 simple, single-parameter, read-only lookup with no output schema, the description does the important work of enumerating what comes back, including the 90-day window. Only edge behavior, such as a missing product or stale pricing, is left unaddressed, which is a minor gap given the tool's simplicity.

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% and the single id parameter already includes an illustrative value (pchome:DYAJCH-1900JLHPE), so the schema carries the parameter burden. The description adds no additional meaning about id format, accepted store prefixes, or lookup behavior. Baseline 3 is appropriate.

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 gives a specific verb (取得) and a well-scoped resource: a single product's current lowest price, per-store quotes, and 90-day min/max/average. It is immediately clear what the call returns. It stops short of distinguishing itself from siblings like shop__compare_chain_prices or shop__list_lowest_prices, so an agent must infer the boundary.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The bracketed tag [熱門連鎖比價] hints at a category but does not route the agent between this tool and similar price-listing siblings. The agent is left to infer the choice from the purpose sentence 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.