Skip to main content
Glama

Get emission factor

lca_get_factor
Read-onlyIdempotent

One emission factor in full by its x<N> ref, optionally × an amount. Returns value, gas split, scope, boundary, factor and data years, price year for spend factors, source and version, CO2e basis, geography, licence and the credit line the licence asks for. With amount and unit, returns amount × factor in kg CO2e when unit is the factor's own activity unit; there is no unit conversion (kg and t, kWh and MWh are different units) and no inflation or currency adjustment. Nothing is saved.

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": {
      "ref": "<ref>"
    },
    "name": "lca_get_factor"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesAn `x<N>` ref from `lca_search_factors`.
unitNoThe amount's unit; must be the factor's activity unit.
amountNoAn amount of the activity, in `unit`. Not zero.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, and the description adds substantial context beyond them: the exact returned fields (value, gas split, scope, boundary, factor/data years, price year, source and version, CO2e basis, geography, licence and credit line) and the explicit limits (no unit conversion between kg/t or kWh/MWh, no inflation adjustment). 'Nothing is saved' confirms the non-persistent behavior, which matters given there is no output schema.

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 core operation and its optional multiplier are front-loaded, and the dense return-field list is packed efficiently. The middle sentence is long and somewhat run-on, but every clause carries information that is not duplicated in structured fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 must explain return values, and it enumerates them thoroughly while also clarifying the arithmetic behavior with `amount`/`unit`. Nothing an agent needs to call this correctly appears to be missing.

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?

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning beyond the schema: it explains that `amount` multiplies the factor and yields kg CO2e only when `unit` equals the factor's own activity unit, and that mismatched units (kg vs t, kWh vs MWh) are not converted.

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 resource ('One emission factor in full by its `x<N>` ref') plus an optional scope extension ('optionally × an amount'). It is clearly distinguishable from the listing sibling lca_search_factors, which supplies the ref.

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 description makes clear when to supply `amount`/`unit` and sets hard expectations about what will not happen (no unit conversion, no inflation or currency adjustment), which steers callers away from misuse. It does not explicitly name which sibling to use for alternative needs (e.g. searching or analysing), so it stops short of full when/when-not 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.

Resources