Skip to main content
Glama

Add an SSH key

ssh_key_add

Add an SSH key. Adds an SSH public key. Running VMs in your teams accept it within seconds.

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": {
      "label": "<label>",
      "publicKey": "<publicKey>"
    },
    "name": "ssh_key_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes
publicKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, non-idempotent write with no open-world access. The description adds one genuinely useful behavioral fact beyond that: running VMs in your teams pick up the key within seconds, implying team-scoped propagation and delayed effect. It does not say what happens when the same key or label already exists, nor what the call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences are front-loaded and easy to scan, but the first two say the same thing, so a third of the text does no work. Tightening to a single clause about adding a public key plus the propagation note would lose nothing.

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

Completeness3/5

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

For a two-parameter mutation with no output schema, the definition covers the core action and its propagation effect, which is the most agent-relevant detail. It still leaves the label's role, duplicate behavior, and result of the call undocumented, so an agent cannot predict failure modes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two required parameters, so the description must carry the burden. It clarifies that publicKey is an SSH public key, but gives no meaning to 'label' (naming, uniqueness, whether it is user-visible) and adds nothing about accepted key formats beyond what the pattern already enforces.

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

Purpose3/5

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

"Add an SSH key. Adds an SSH public key." restates the name and title with only the public-key qualifier as new information. It is clear that this creates a key, but the two sentences are largely tautological rather than distinguishing scope or effect from siblings.

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?

There is no guidance on when to add a key versus listing existing ones with ssh_key_list, no prerequisites, and no note on duplicate labels or key reuse. The agent must infer usage entirely.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.