Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

auth_import-key

Imports an existing Ethereum private key into local config, preferring stdin to avoid leaking it to shell history or transcripts; existing saved addresses stay unchanged.

Instructions

Import an existing Ethereum private key into the local config, next to any keys already saved. Importing an address that is already saved changes nothing. Prefer stdin to avoid leaking the key to shell history or tool-call transcripts: echo $PRIVATE_KEY | splits auth import-key. The derived address is echoed to stderr before writing; the key itself is never returned.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "auth_import-key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional human-readable label. Defaults to a short form of the address.
privateKeyNoPrivate key (0x-prefixed or raw hex). Refused under MCP mode; prefer stdin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses where state is written (local config, alongside existing keys), that the operation is idempotent, that the derived address is echoed to stderr before writing, and that the key itself is never returned. It also flags the security-sensitive failure mode (key leaking into shell history or transcripts) and directs the agent to stdin.

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?

Three sentences, front-loaded with purpose, then idempotency, then the security-critical invocation pattern. No filler, and the most important constraint (don't pass the key as a parameter) is visible rather than buried.

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?

There is no output schema, yet the description covers what happens on return (address to stderr, key never returned) and what happens on disk (written next to existing keys, no-op on duplicate). For a two-parameter, unannotated, security-sensitive mutation tool, nothing essential is 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 earns more by giving the practical invocation form (`echo $PRIVATE_KEY | splits auth import-key`) and by reinforcing that the privateKey parameter must not be used in MCP mode, which is the key semantic decision an agent has to make. The name parameter's default behavior is left to the schema, which is acceptable given full coverage.

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 opens with a specific verb and resource ('Import an existing Ethereum private key into the local config') and adds scope ('next to any keys already saved'). The word 'existing' implicitly distinguishes it from the sibling auth_create-key, so an agent can tell whether it is generating or importing.

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 gives concrete invocation guidance: prefer stdin because passing the key through a tool-call transcript leaks it, and it notes that the privateKey parameter is refused under MCP mode. It also states idempotency (re-importing an existing address changes nothing). What it lacks is an explicit statement of when to choose this over auth_create-key or auth_register-signer.

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

Deploy Server

Other Tools