Skip to main content
Glama
@odatano/nightgate-mcp

@odatano/nightgate-mcp

Official
by ODATANO

burn_token

Burn factory tokens to remove them from circulation and reduce the factory supply ledger. Specify token name, contract address, and amount; the tool settles the sponsored transaction and returns status and tx hash.

Instructions

Burn an amount of a factory token this wallet holds: the coins leave circulation and the factory's supply ledger drops. Built, proven and signed here, a sponsor pays; the factory has to be on the sponsor's contract list and burn on its circuit list. Names the token by its name and issuer: without issuerKey the token is one this wallet minted. The tool waits until the job settled (about 1 minute) and returns { status, txHash, transactionHash, result }. failed: next says what to do. If the call was cut off or came back pending, run it again with the same arguments: it picks up the job it started and submits nothing new (the answer says deduplicated). With an idempotencyKey that also holds after a restart of this server. A second, separate call with the same arguments needs a new idempotencyKey.

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": {
      "contractAddress": "<contractAddress>",
      "name": "<name>",
      "amount": "<amount>"
    },
    "name": "burn_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesToken name, at most 32 UTF-8 bytes
amountYesAtoms to burn; a decimal string is exact
issuerKeyNoThe issuer of the token (64 hex, from mint_token); default this wallet's own issuer
idempotencyKeyNoDedupes retries
contractAddressYesThe token-factory deployment the token was minted on

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.20.3

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it says a sponsor pays, that the call blocks for about a minute until settled, what the return object holds, that failed results carry a `next` instruction, and precisely how retries dedupe (same arguments resume the job; idempotencyKey holds across server restarts, while a deliberate second burn needs a new key). That is exactly the mutation, cost, and retry context an agent needs.

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?

Front-loaded with the action and effect, then preconditions, then the blocking/return behavior, then retry semantics — a sensible ordering. It is densely packed and the parenthetical about txHash/transactionHash is minor clutter, but nearly every sentence carries decision-relevant information.

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?

For a 5-parameter mutation with no annotations and no output schema, the description covers cost, prerequisites, latency, return shape, failure recovery, and idempotency. Nothing an agent needs to call it correctly or safely appears to be missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: issuerKey selects the issuer and defaults to this wallet's own issuer, and idempotencyKey's scope (retries vs. deliberate repeat calls across restarts) goes well beyond the schema's one-line 'Dedupes retries'.

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?

States a specific verb and resource (burn an amount of a factory token) plus the effect: coins leave circulation and the factory's supply ledger drops. It also scopes it to a token this wallet holds, which distinguishes it from sibling mint_token and send_token.

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?

Gives concrete preconditions for use (the factory must be on the sponsor's contract list and burn on its circuit list) and explains how to identify the token, including the default when issuerKey is omitted. It never names an alternative tool for cases where burning is wrong, so it stops short of full when-not guidance.

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