Skip to main content
Glama

add_ssh_key

Register a new SSH public key on the account to enable SFTP access.

Instructions

Register a new SSH public key on the account for SFTP access.

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>",
      "public_key": "<public_key>"
    },
    "name": "add_ssh_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable label for the SSH key
public_keyYesOpenSSH public key string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

The only annotation is readOnlyHint=false, and the description's 'Register a new ... key' is consistent with a mutating operation. It adds the meaningful detail that the key grants SFTP access, but says nothing about duplicate-key handling, per-account key limits, or whether access takes effect immediately.

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?

A single front-loaded sentence with the action, resource, and scope first and no redundant or filler wording. Every phrase contributes information.

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 two-parameter create tool with full schema documentation and one annotation, the description tells the agent what is created, where, and what it is for. Only secondary behavioral details (duplicates, limits, propagation) are absent.

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 description coverage is 100%, and both properties already document 'Human-readable label for the SSH key' and 'OpenSSH public key string'. The description adds no constraint, format, or naming-convention detail beyond the schema, so baseline 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?

States a specific verb and resource ('Register a new SSH public key') plus the target scope ('on the account') and the intended use ('for SFTP access'). An agent can distinguish this from remove_ssh_key and list_ssh_keys without inspecting their schemas, though it never names those siblings explicitly.

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?

The purpose clause 'for SFTP access' implies when the tool is relevant, but there is no explicit when-to-use or when-not-to-use guidance and no reference to the complementary list/remove operations. Usage must be inferred from the tool name and the SFTP mention.

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