Skip to main content
Glama

取得台灣中油本週油價

get_fuel_prices
Read-onlyIdempotent

取得台灣中油本週油價(92、95、98 無鉛汽油、酒精汽油、超級柴油,每公升新台幣)與比上週漲跌。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_fuel_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds value beyond that by disclosing the returned content and its shape: five product grades, currency, unit (per liter TWD), and that week-over-week change is included. What it omits is data freshness (when in the week prices refresh) and whether values are live or cached.

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 sentence, front-loaded with the resource name, with the product list and unit placed in parentheses so the core claim reads first. No redundant restatement of the title and nothing that could be cut 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?

For a zero-parameter read tool with no output schema, the description carries the right load by naming the products, currency, unit and the delta field. The only meaningful gap is timing: it does not say when during the week the data refreshes or which day 'this week' starts.

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?

The tool takes zero parameters, so there is no parameter semantics to document; baseline 4 applies. The empty schema is consistent with the description, which presents this as a parameterless snapshot lookup.

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 names a specific resource (台灣中油本週油價) and enumerates exactly what is covered: 92/95/98 unleaded, alcohol gasoline, super diesel, priced per liter in TWD, plus the week-over-week delta. It is unambiguous and cannot be confused with any sibling tool, which all cover unrelated domains (holidays, invoices, outages).

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: an agent can infer this is the tool for current Taiwanese fuel prices, and the '本週' wording signals the weekly cadence. There is no explicit when-to-use statement, no note about historical prices being unavailable, and no prerequisites or alternatives mentioned.

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