Skip to main content
Glama

ssh_keygen

Generate SSH key pairs for authentication by specifying algorithm, bit size, and save path, including optional passphrase.

Instructions

Generate a new SSH key pair

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bitsYesKey size in bits
pathYesPath to save the key
algorithmYesKey algorithm (rsa, ed25519, ecdsa)
passphraseNoPassphrase (optional)
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing behavior. It only states the action 'generate' but doesn't mention side effects like overwriting existing keys, directory creation, file permissions, or what output is returned. This lack of transparency could lead to unexpected behavior in workflows.

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?

The description is one short sentence, front-loaded with the core action and resource. It is highly concise with no wasted words, making it easy to parse quickly.

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 mutation tool with no output schema and no annotations. The description is too sparse to be considered complete: it doesn't explain return values, behavioral constraints, or edge cases like path conflicts. The agent would need additional information to invoke it safely and effectively.

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?

The input schema covers all parameters with descriptions (100% coverage). The description adds no further semantic meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 is concise and specific: 'Generate a new SSH key pair' clearly states the action (generate) and resource (SSH key pair). It distinguishes from sibling tools like ssh_list_keys or ssh_fingerprint, which have different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention typical use cases, prerequisites (e.g., needing a passphrase), or situations where another tool might be more appropriate. For a key generation tool, this leaves the agent without context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/XNet-NGO/ssh-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server