Skip to main content
Glama

Taiwan Carbon Open Data (Unofficial)

Get electricity factor

get_electricity_factor
Read-onlyIdempotent

Get Taiwan's official electricity emission factor (kgCO2e/kWh) for a given year, published by the Energy Administration. From the 2025 factor year there are three values by usage; earlier years have one. Never substitutes another year: if the year is missing it says so and lists the years available. 查詢經濟部能源署公布的指定年度電力排碳係數(公斤CO2e/度)。114 年度(2025)起依用途有三個數值,之前每年一個。不會以其他年度代替:該年度沒有資料時會明說並列出可用年度。

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": {
      "year": "<year>"
    },
    "name": "get_electricity_factor"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes適用年度(西元),例如 2025。
usage_typeNo用途別(114 年度起才有劃分):industry_inventory 產業盤查使用;residential_tariff 表燈非營業與包燈用戶;utility_average 公用售電業整體平均。不給就回該年度全部數值。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, and the description adds real value beyond them: the publisher, the 2025 granularity change, and the explicit no-substitution rule with a fallback that lists available years. It still says nothing about the shape of the response, such as how the single value versus the three usage-split values are returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, which is good. However, the entire content is then repeated verbatim in Chinese, doubling length without adding information for an agent that already parsed the English; one language would suffice unless bilingual indexing is a deliberate requirement.

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?

This is a simple read-only lookup with two fully described parameters and a complete safety profile in its annotations, and the description covers its data source and failure behavior. The only gap is that there is no output schema, so a short note on the returned fields would have made it fully self-contained.

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 the schema already documents the 1990–2100 range, the usage_type enum meanings, and the default of returning all values when usage_type is omitted. The description's only addition is that pre-2025 years carry a single value, which largely restates the schema note, so the baseline of 3 is right.

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?

States a specific verb and a tightly scoped resource: the official Taiwan electricity emission factor in kgCO2e/kWh for a given year, with its publisher named. That resource scoping is enough to separate it from the generic siblings get_emission_factor and search_emission_factors without opening any 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?

Explains when the usage_type distinction applies (only from the 2025 factor year) and what happens when data is unavailable: it reports the miss and returns the years that exist rather than substituting. It gives no explicit comparison to the sibling factor tools, so it stops short of full routing guidance.

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.