Skip to main content
Glama

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

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing the data shape returned (live per-store quotes plus a 90-day statistical window), which matters because there is no output schema. It does not state quote freshness or behavior when an 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?

A single sentence, front-loaded with the action and followed by the returned values, with no filler. Nothing can be removed without losing information.

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?

With no output schema, the description rightly carries the return-value burden and covers current lowest price, per-store quotes, and 90-day statistics — enough to decide whether to call it. Minor gaps remain around data freshness and failure on an invalid or unknown id.

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?

There is one parameter with 100% schema description coverage, including a concrete example id format (pchome:DYAJCH-1900JLHPE), so the baseline is 3. The description's '單一商品' reinforces that the id must resolve to exactly one product but adds no format or sourcing detail beyond the schema.

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 verb and resource (取得單一商品) and enumerates exactly what is retrieved: current lowest price, per-store quotes, and 90-day min/max/average. The phrase '單一商品' implicitly contrasts with list/search siblings, though no sibling is named explicitly.

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?

Usage is only implied through the 'single product' scoping; there is no statement of when to prefer this over search_products or list_price_drops, and no prerequisite guidance (e.g., that the id typically comes from a search). An agent can infer the case but must do the work.

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