Skip to main content
Glama

Engine Heart

fuel.query_oil_price

查询国内成品油价格(92号/95号/98号汽油、0号柴油)。传入省份名查该省油价,如"山东";不传则返回全国31个省区市油价列表。返回下一轮调价窗口日期。

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": "fuel.query_oil_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
provinceNo省份名称(可选),如 "山东"、"北京"、"广东"。 不传或传空字符串则返回全国各省油价列表。 支持简称(鲁→山东,京→北京)、全称(山东省)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the branching behavior (single province vs. full national list) and one notable return value (the next adjustment window date), which implies a read-only lookup. It does not state data freshness/update cadence, source, or failure behavior for invalid province names, which matters for a price tool.

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?

Three compact sentences, front-loaded with the resource and product scope, then the two call modes, then the return detail. Minor redundancy with the schema on the default national-list behavior, but no wasted framing.

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 one-optional-parameter tool with no output schema and no annotations, the description covers products, both call modes, and a key return field. Only edge-case behavior (invalid province) and data currency are left unstated, which are secondary for a lookup tool.

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 schema already documents the province parameter, including abbreviation support (鲁→山东) and full names. The description's '如"山东"' example and default behavior largely restate the schema, adding no syntax or validation detail beyond it.

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 verb and resource (query domestic refined oil prices), enumerates the covered products (92/95/98 gasoline, 0 diesel), and states both operating modes plus the extra return field (next price adjustment window date). An agent can tell exactly what this tool delivers without opening the schema.

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

Usage Guidelines4/5

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

The two modes are spelled out: supply a province name (e.g. 山东) to get that province, omit it to get all 31 provinces. That is clear context for choosing how to call it, but there is no explicit when-not guidance or mention of what happens with an unrecognized province.

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