Skip to main content
Glama

calculate_inventory

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
request_idNo
payment_refNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It enumerates a rich set of outputs (reports, rollups, dual reporting, factor lineage, notary payload, dry-run weave) and discloses pricing and payment requirements. This goes well beyond a simple 'calculate' statement and gives the agent a clear picture of what to expect.

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 compact and front-loaded with purpose, then outputs, a boundary statement, and pricing in four sentences. It earns its length with valuable details, though some jargon (e.g., 'dry-run weave') could be simplified without losing meaning.

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?

The tool has four parameters, no schema descriptions, and no annotations. The description provides rich output expectations, which partially compensates for the lack of output schema visibility, but leaves the input side under-specified: the format of activity records, options, and request_id are not explained. Given the complexity, more input guidance is needed for full 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 description coverage is 0%, so the description must compensate, but it only explains 'explicit activity records' and hints at payment_ref through the payment process. The options and request_id parameters are completely unexplained, and even the structure of what constitutes an activity record is not defined, leaving the agent uncertain how to populate the required 'activities' array.

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 opens with a specific verb+resource: 'Calculate an auditable GHG inventory from explicit activity records.' It then lists concrete outputs (per-line gas/CO2e, Scope 1/2/3 rollups, dual Scope 2 reporting, factor lineage), clearly distinguishing it from siblings 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 Guidelines3/5

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

The description provides a boundary with 'This is calculation, not advice' and mentions usage limits, but it does not explicitly state when to use this tool over alternatives like classify_activity or verify_result. Usage context is implied by the verb 'calculate' rather than explicitly guiding the agent on tool selection.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct action: calculate, classify, describe, get, list, and verify. There is no overlap or ambiguity between the tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in lowercase snake_case, making the API predictable and easy to navigate.

Tool Count5/5

The server has 6 tools, which is well-scoped for its purpose of GHG inventory calculation and verification. Each tool serves a clear role without redundancy.

Completeness5/5

The tool set covers the core workflows: calculating inventories, classifying activities, retrieving factor packs, listing available packs, and verifying results. No obvious gaps are present for the stated domain.