Skip to main content
Glama

LexGrid Financial Risk & CSRD ESG

CSRD ESG Scope 1 & 2 Emissions Calculator

csrd_esg_calculator
Read-onlyIdempotent

[Deterministic corporate ESG carbon accounting. Pure calculation, read-only, side-effect free]. Calculates official Scope 1 direct emissions and Scope 2 indirect emissions (Location-based & Market-based tCO2e) and standard European VSME / ESRS governance and workforce indicators using ISPRA, DEFRA, and EEA official emission factors. Usage: Use this tool for corporate carbon accounting and CSRD sustainability reporting. For product-level carbon border tariff liabilities on imported raw materials, use 'cbam_embedded_emissions' instead. Returns: JSON object with { scope1_tCO2e: number, scope2_location_tCO2e: number, scope2_market_tCO2e: number, totalEmissions_tCO2e: number, esrsMetrics: { genderPayGap: number, femaleManagerRatio: number, accidentFrequencyRate: number } }.

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": {
      "scope1": "<scope1>",
      "scope2": "<scope2>"
    },
    "name": "csrd_esg_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
scope1YesDirect Scope 1 fuel and refrigerant consumption
scope2YesIndirect Scope 2 purchased electricity consumption
companyMetricsNoWorkforce and governance social indicators for ESRS S1 / G1 disclosures

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / companyMetrics / description
      Added value: +"Workforce and governance social indicators for ESRS S1 / G1 disclosures"
    • addedInput schema / properties / scope1 / description
      Added value: +"Direct Scope 1 fuel and refrigerant consumption"
    • addedInput schema / properties / scope2 / description
      Added value: +"Indirect Scope 2 purchased electricity consumption"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false; the description reinforces this with 'deterministic', 'pure calculation', 'side-effect free', and adds genuinely new context by naming the emission-factor sources (ISPRA, DEFRA, EEA), which tells the agent results are authoritative and reproducible. It stops short of disclosing behavior for missing optional inputs (e.g., absent companyMetrics or countryCode defaulting).

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?

Structure is strong: bracketed behavioral summary, then a Usage sentence, then a Returns sentence, all front-loaded. The Returns block is dense but useful since no output schema exists; minor redundancy between the bracket and the opening sentence.

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 nested three-object calculator with no output schema, the description supplies the full return shape and field names, which is the key missing piece. Residual gaps are minor: it does not clarify that companyMetrics is optional or which metrics are emitted when it is omitted.

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% with per-field descriptions for electricityKwh, countryCode, renewableSharePercent and the workforce metrics, so the schema already carries parameter meaning. The description adds only indirect hints (official emission factors, location- vs market-based) without explaining how renewableSharePercent drives the market-based figure or how companyMetrics maps to the ESRS outputs.

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: calculates Scope 1 direct and Scope 2 indirect emissions (location- and market-based tCO2e) plus VSME/ESRS governance and workforce indicators. It also explicitly distinguishes itself from the product-level sibling 'cbam_embedded_emissions', so an agent can select it without opening schemas.

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

Usage Guidelines5/5

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

It states the use case ('corporate carbon accounting and CSRD sustainability reporting') and names the concrete alternative with the condition that selects it ('product-level carbon border tariff liabilities on imported raw materials'). This is explicit routing guidance rather than inferred usage.

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