Skip to main content
Glama

Taiwan Carbon Open Data (Unofficial)

Compare emissions

compare_emissions
Read-onlyIdempotent

Compare two calculations (for example two years). Separates the effect of changed activity data from the effect of a changed factor, and flags when the calculation method differs so the difference is not read as an actual reduction. 比較兩筆計算(例如不同年度)。區分活動量改變與排放係數改變的影響;計算方法不同時會標示,避免把差異誤讀為實際減碳成效。

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": {
      "baseline": "<baseline>",
      "comparison": "<comparison>"
    },
    "name": "compare_emissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
baselineYes基準(例如去年)。
comparisonYes比較對象(例如今年)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so this is not the description's burden. The description nonetheless adds genuine behavioral context: the result splits activity-data effect from factor effect, and it flags method mismatches so a difference is not misread as a reduction. That is real value about how to interpret output.

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?

The English text is two tight, front-loaded sentences that each earn their place, and the key caveat about method differences is placed last as a warning. The full bilingual duplication roughly doubles length for the same content, which is a minor structural cost.

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?

The tool has complex nested inputs but no output schema, so the description must convey what comes back. It does explain the conceptual return (separated activity vs. factor effects, method-mismatch flag), which is enough to call and interpret it; exact result field shapes remain unspecified.

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?

With 100% schema description coverage and deeply annotated nested objects (factor_id, quantity_unit, year, optional_context, refrigerant, lower_heating_value), the schema carries parameter meaning almost entirely. The description only conveys that two calculation objects are supplied (baseline and comparison), so the baseline score of 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 states a specific verb and resource ('Compare two calculations') and adds scope via the effect-decomposition it performs, which helps separate it from calculate_emissions. It stops short of naming a sibling or explicitly stating what it does not do, so it is clear but not fully differentiated.

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?

The parenthetical '(for example two years)' implies the comparison use case, and the mention of differing calculation methods hints at a caveat to check. There is no explicit when-to-use vs. when-not guidance and no named alternative such as calculate_emissions for single-period results.

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.