Skip to main content
Glama

agent-compute-ledger

carbon_receipt

Emit an x402-C carbon receipt for a recorded work entry — the physically-grounded {version, g_co2e, energy_j, method, landauer_*, ...} object an x402 machine-payment receipt can carry. method is 'landauer-floor' when the workload declared bit_ops (thermodynamically validated), else 'measured'. Pass offset_ref (a retirement id from the offset clearinghouse) to assert carbon-neutrality. Read-only; the returned attestation_hash binds the receipt to the ledger's hash chain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entry_idYes
offset_refNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries full disclosure. It states 'Read-only', explains how 'method' is determined based on 'bit_ops', describes the effect of passing 'offset_ref', and notes that the returned 'attestation_hash' binds to the ledger's hash chain. This is rich, non-obvious behavioral 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?

The description is compact, using three sentences that front-load the primary action and then efficiently cover method logic, optional argument, and a key output property. No redundant or filler content.

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?

Given an output schema exists, the description needn't detail return fields, but it still covers the essential aspects: purpose, method derivation, optional offset parameter, read-only nature, and ledger binding. For a two-parameter tool with moderate domain complexity, it is fully adequate.

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 description coverage is 0%, so the description must explain parameters. It explicitly explains offset_ref ('a retirement id from the offset clearinghouse') and its purpose. entry_id is implied via 'recorded work entry' but not explicitly labeled; still, the meaning is clear in context.

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 starts with a specific action—'Emit an x402-C carbon receipt for a recorded work entry'—naming the resource and target. It clarifies the receipt's physical grounding and differentiates itself from sibling tools like footprint or record_work by focusing on emission/creation of a receipt object.

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?

Provides clear context for use: it is for emitting a carbon receipt on a recorded work entry, with method selection logic and optional offset_ref to assert carbon-neutrality. Does not explicitly name alternatives or exclusions, but the usage situation is evident.

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

B3.3/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: recording work, recording inventory, listing, verifying, and attesting. 'attest' and 'carbon_receipt' are somewhat related but serve different functions (general attestation vs. carbon-specific receipt), so they are not easily confused.

Naming Consistency3/5

The majority follow a verb_noun pattern (record_work, list_entries, verify_chain), but 'carbon_receipt' and 'footprint' are noun-only, and 'attest' is verb-only. This slight inconsistency in verb usage makes the pattern less predictable.

Tool Count5/5

With 12 tools, the server is well-scoped for a compute ledger and carbon accounting domain. Each tool covers a distinct concern—recording, querying, verifying, and summarizing—without redundancy.

Completeness5/5

The surface covers the full lifecycle: recording compute work and inventory, retrieving and listing data, verifying chains and attestations, and generating summaries. No obvious gaps exist for the stated domain.