Skip to main content
Glama

Carbon Node UK — GHG & DESNZ Carbon Accounting

Calculate UK SIC 2007 Spend Emissions

calculate_uk_sic_spend
Read-onlyIdempotent

Pro & Enterprise tool. Maps a procurement category or 2-digit UK SIC 2007 code (110 UK DEFRA multipliers) and optionally computes Scope 3 kg_co2e and t_co2e from GBP spend.

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": {
      "query_or_sic_code": "<query_or_sic_code>"
    },
    "name": "calculate_uk_sic_spend"
  }
}

Input Schema

NameRequiredDescriptionDefault
spend_gbpNoOptional spend amount in GBP (£) to compute kg_co2e and t_co2e.
spend_yearNoOptional 4-digit spend year (defaults to 2022 IO base year; pass e.g. 2025 or 2026 for ONS CPI-deflated GBP multipliers).
query_or_sic_codeYesProcurement description or UK SIC 2007 code (e.g. 'IT consultancy', '62', 'legal services').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, closed-world and non-destructive behavior, so the bar is lower. Beyond that, the description discloses the emission factor source and coverage (110 UK DEFRA multipliers), that computation is conditional on supplying spend, and the units returned, which is meaningful operational context.

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

Conciseness5/5

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

Two compact sentences with the tier gate stated up front and the mapping/computation behavior dense in the second. Nothing is redundant or padded.

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?

With no output schema, the description takes on return-value explanation and does so at a high level (kg_co2e and t_co2e). What is missing is modest: whether a no-spend call returns the matched SIC code and multiplier, and how ambiguous category text is resolved.

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?

The schema documents all three parameters at 100% coverage, so the baseline is 3. The description still adds real meaning: it constrains the SIC input to 2-digit codes, ties spend to GBP and to kg_co2e/t_co2e outputs, and notes that the SIC universe is the 110 UK DEFRA multipliers — context the schema does not carry.

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?

States a specific verb (maps / computes) and resources (procurement category or UK SIC 2007 code to Scope 3 emissions from GBP spend), plus the DEFRA multiplier basis. It is clear what the tool does but never names or contrasts with siblings like calculate_emission or search_uk_factors, so an agent must infer that this is the spend-based SIC route.

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?

Usage is only implied: the mention of 'Pro & Enterprise tool' signals a tier prerequisite, and 'optionally computes' implies a lookup-only mode when spend is omitted. There is no explicit statement of when to pick this over calculate_emission, calculate_batch, or search_uk_factors.

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.