Skip to main content
Glama

Vanity Identity Preview

vanity_preview
Read-onlyIdempotent

Preview the node ID and display colors an X25519 private key produces without a device. Verify a key someone else ground before writing it.

Instructions

What node id and color a private key produces. No device, no grinder.

Returns the node id, NodeNum, the RGB the apps paint it (and the black/white they put on top), and whether the scalar is clamped. Use it to check a key someone else ground before vanity_apply writes it.

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": {
      "private_key": "<private_key>"
    },
    "name": "vanity_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
private_keyYesThe X25519 private key, hex or base64.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, closed-world and non-destructive, so the bar is lower. The description still adds real context: this is a pure computation touching no device, and it discloses the 'scalar is clamped' flag, which warns the caller that some keys are silently altered.

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 core answer and no wasted clauses; 'What node id and color a private key produces' is the point. The fragment 'No device, no grinder' is terse jargon but earns its place by killing a likely misconception about hardware involvement.

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?

For a one-parameter, safe, deterministic tool with an output schema, this covers purpose, cost, and the pre-write check that motivates it. Enumerating return fields duplicates what the output schema presumably carries, but it does not leave the agent short of anything needed to call it correctly.

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% and the single parameter already documents 'hex or base64' encoding, so the description only adds the provenance nuance that the key is one 'someone else ground'. That is a modest addition over structured data, landing at the high-coverage baseline.

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 concrete transformation: given an X25519 private key, produce the node id and RGB color. The phrase 'No device, no grinder' draws a sharp boundary against the sibling vanity_apply, so an agent can pick between them without opening a 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?

Explicitly says to use it 'to check a key someone else ground before vanity_apply writes it', naming the alternative and the triggering condition. It stops short of saying what to do if no key exists yet (presumably the grinding path), so it is not a full when/when-not matrix.

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