Skip to main content
Glama
midnight-devnet-mcp

midnight-devnet-mcp

by devrelaicom

fund-account-from-mnemonic

Derives a wallet from a BIP39 mnemonic, transfers NIGHT, and registers DUST to set up a funded Midnight devnet account.

Instructions

Derive wallet from mnemonic, transfer NIGHT, and register DUST. Full account setup.

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": {
      "name": "<name>",
      "mnemonic": "<mnemonic>"
    },
    "name": "fund-account-from-mnemonic"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for the account
mnemonicYesBIP39 mnemonic phrase (24 words)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does flag a real behavioral trait beyond the schema — that NIGHT is transferred and DUST registered, i.e. a value-moving side effect — but it gives no amount, no funding source, no indication of whether this is reversible or what happens on partial failure, and no note that a running network may be required.

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?

Three short clauses front-load the sequence of operations and end with a summary label; there is no filler. It is perhaps too terse for a value-moving tool, but every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a multi-step, fund-transferring tool with no annotations and no output schema, so the description must explain consequences and prerequisites. It omits the NIGHT amount, where funds come from, whether the account must already exist, environment prerequisites, and what the caller gets back after setup — significant gaps for an operation that moves value.

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 both parameters are already documented ('Display name for the account', 'BIP39 mnemonic phrase (24 words)'). The description adds only the fact that the mnemonic is used to derive the wallet, which is a modest supplement to the schema rather than new semantics — the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names three concrete operations (derive wallet from mnemonic, transfer NIGHT, register DUST) and sums them up as 'Full account setup', so the agent knows this is a composite provisioning tool rather than a simple write. It does not differentiate itself from the sibling 'fund-account' or 'fund-accounts-from-file', which the agent must infer differ by input source.

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?

Usage is only implied: 'Full account setup' suggests this is the tool for standing up a brand-new account from a mnemonic, as opposed to funding an existing one. There is no explicit when-to-use/when-not statement and no named alternative, so an agent comparing it to 'fund-account' has to reason from the description alone.

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