Skip to main content
Glama

Prepare a Regen credit retirement sized to your own compute (keyless, you sign)

prepare_regen_compute_retirement
Read-onlyIdempotent

Build ONE unsigned Regen Ledger transaction that retires a small slice of a United States carbon credit from YOUR OWN regen1 account, sized to the minutes of compute you report. Keyless: this tool never signs, never asks for a key and never holds one. You sign and broadcast it yourself with your own wallet, CLI or agent, and you pay the seller in REGEN and your own gas; Vealth holds none of your money and takes no fee. It reads the live Regen marketplace, takes the first REGEN-priced United States ton order, sizes the quantity at 6 grams of CO2e a minute (a rough count by an estimator, not a measurement; one gram is one smallest unit of a credit), checks the cost and your balance, and returns the unsigned buy message with auto-retire on, a bid equal to the ask, and no max fee, plus its bytes read back. Your minutes are your own count and nothing checks them. A retirement is a real, public, permanent claim for the grams it covers; it takes those tons off the market. The order can change before you sign, and a stale bid is refused by the chain. Refuses with a plain reason when the size is too small for the gas, the balance is too low, no such order is open, or a read fails. Cost and signer: this call is free; the retirement is paid by the person from their own wallet, the credit's price and the chain's fee, and the house never holds a key.

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": {
      "address": "<address>",
      "compute_minutes": "<compute_minutes>",
      "jurisdiction": "<jurisdiction>"
    },
    "name": "prepare_regen_compute_retirement"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional. Your own words for the retirement record, at most 256 characters, no phone numbers, emails or links. It follows a fixed lead and is written onchain for good.
addressYesYour OWN regen1... address: the account that will sign, pay and own the retirement. Never send a private key anywhere.
jurisdictionYesThe place the retirement is recorded for: a two-letter country in capitals, or country, a dash and a region, such as US-CA.
compute_minutesYesYour own count of minutes of compute to cover, a whole number from 1 to 1440 (one day) a call.

Output Schema

NameRequiredDescriptionDefault
okNo
toolNo
fundedNo
payUsdNo
workIdNo
claimIdNo
claimableNo
next_callNo
proofRuleNo
fulfillableByNo
definitionOfDoneNo
needs_from_callerNo
notClaimableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

This is essential context beyond the annotations: readOnlyHint=true could otherwise mislead an agent into thinking nothing durable happens, and the description clarifies the tool only reads the marketplace and returns an unsigned message, while the signed retirement is public and permanent. It further discloses no-fee/no-custody behavior, that the quantity estimator is a count rather than a measurement, that the order can change before signing and a stale bid is chain-rejected, and how failures surface.

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 key facts are front-loaded: what it builds, that it is keyless, and what the caller must do, with mechanics and failure modes following. It is dense but nearly every sentence carries operational weight, though the no-key/no-custody point is restated in the final line after being made in the opening sentence.

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 a 4-parameter tool with an output schema, the description covers the mechanics, cost model, signer identity, refusal cases, and the staleness risk that matters for a prepare-then-sign flow. Nothing an agent needs to invoke it correctly is missing, though it does not touch on how much time is available between preparing and signing.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all four parameters, setting the baseline at 3. The description does add real meaning by explaining the sizing math (6 grams CO2e per compute minute, one gram = one smallest credit unit) and the resulting message shape (auto-retire on, bid equal to ask, no max fee), but it adds no new detail on address, jurisdiction, or reason beyond what the schema descriptions already say.

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 states a precise verb and artifact: it builds ONE unsigned Regen Ledger transaction that retires a US carbon credit from the caller's own regen1 account, sized to reported compute minutes. The scope (first REGEN-priced United States ton order, 6 grams CO2e per minute) is specific enough that an agent can distinguish this from generic offer/settlement preparation siblings without opening the schema.

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?

It clearly establishes the usage context: keyless preparation, the caller signs and broadcasts, the call is free, and the retirement is paid from the caller's wallet. It also enumerates refusal conditions (size too small for gas, balance too low, no open order, read failure). It stops short of naming when another prepare_* sibling is the better choice, so the agent must infer alternatives.

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.

Resources