Skip to main content
Glama

ghg-ledger__calculate_inventory

Calculate auditable GHG inventories (Scope 1, 2, 3) from activity records. Returns per-line gas/CO2e results, scope rollups, and dual Scope 2 reporting.

Instructions

[ghg-ledger — deterministic GHG inventories (Scope 1/2/3 + dual Scope 2)] Calculate an auditable GHG inventory from explicit activity records. Returns per-line gas/CO2e results, Scope 1/2/3 and category rollups, dual Scope 2 reporting, indeterminate lines, factor lineage, notary payload, and an offset-clearinghouse dry-run weave. This is calculation, not advice. Price: $1.00 per call after 10 free calls/day. Pay at /x402/ghg-ledger/calculate_inventory with Base USDC, cash-fund payment_ref through escrow_checkout + confirm_escrow_funding, or use /seats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionsNo
activitiesYes
payment_refNo
Behavior4/5

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

No annotations provided, so the description carries the burden. It discloses outputs (per-line gas/CO2e, rollups, etc.), states it's deterministic, and mentions pricing and payment flow. However, it does not explicitly address side effects, authentication, or idempotency, but overall provides substantial behavioral insight.

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 description is a single paragraph starting with domain and function, which is effective. However, the lengthy list of output names (e.g., 'per-line gas/CO2e results, Scope 1/2/3 and category rollups...') could be shortened without losing clarity. Overall, it is concise and well-structured.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (GHG calculation), the description covers purpose, outputs, and cost well. However, it lacks details on input parameter structure (e.g., format of activities), prerequisites (e.g., need for factor packs), and does not clarify the payment_ref parameter beyond mentioning payment methods. These gaps reduce completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the description adds minimal parameter detail. It mentions 'explicit activity records' hinting at the activities parameter, and payment info for payment_ref, but lacks structure, types, or examples for activities and options. The description fails to compensate for the lacking schema descriptions.

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 clearly states the purpose: 'Calculate an auditable GHG inventory from explicit activity records.' It specifies the domain (GHG inventories Scope 1/2/3 dual Scope 2) and lists key outputs, distinguishing it from sibling tools like classify_activity or verify_result.

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 implies usage: when you have explicit activity records and need a GHG inventory. It notes 'This is calculation, not advice,' but does not explicitly state when not to use or provide alternative tools. Context is clear but lacks exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jdhart81/viridis-agent-fleet'

If you have feedback or need assistance with the MCP directory API, please join our Discord server