Skip to main content
Glama

agent-compute-ledger

record_work

Record a unit of agent compute work. energy_j = power_w * duration_s; carbon_g follows from grid intensity. If bit_ops is declared, the entry is validated against the Landauer floor (bit_ops * kB * T * ln2) — physically impossible claims are rejected. Idempotent on entry_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo
bit_opsNo
power_wYes
agent_idYes
entry_idYes
duration_sYes
temperature_kNo
price_minor_per_kwhNo
grid_intensity_g_per_kwhNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries full behavioral disclosure weight. It discloses idempotency on entry_id, validation against the Landauer floor, and rejection of physically impossible claims. It also explains energy and carbon calculations. It does not cover permissions or error handling, but the described behaviors are valuable and non-obvious.

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 two sentences, front-loaded with the primary purpose. The second sentence packs the formulas and validation logic without unnecessary words. Every part contributes meaning.

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?

Given the 9-parameter schema and the existence of an output schema, the description provides strong context for invocation: it explains core input relationships, validation, and idempotency. Missing details about price/task are minor and likely covered by defaults. Overall, it is complete enough for effective use.

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 input schema has 0% description coverage, so the description must compensate. It does so by explaining the relationships: energy_j = power_w * duration_s, carbon_g follows grid_intensity_g_per_kwh, and bit_ops validation using temperature_k. It also mentions entry_id for idempotency. However, it omits semantics for price_minor_per_kwh and task, which are less critical.

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 begins with a specific verb+resource: 'Record a unit of agent compute work.' It clearly distinguishes from sibling tools like record_inventory by focusing on compute work and energy/carbon accounting. The inclusion of formulas and validation adds specificity beyond the tool name.

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 clearly indicates this tool is for recording compute work events. It provides enough context (energy/carbon tracking, idempotency, Landauer validation) that an agent would know when to use it. However, it does not explicitly name alternatives or state when not to use it, but the context is unambiguous.

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.