Skip to main content
Glama

Deploy SSH key

deploy_ssh_key
Destructive

Deploy an SSH key to a VPS using a service order number and key ID, enabling SSH access; returns an event UUID to track completion before connecting.

Instructions

Deploy an SSH key to VPS. Returns a noty UUID; follow it with wait_for_event until it reports completed before attempting SSH. Use list_ssh_keys to get available key IDs. To add your own key first: read ~/.ssh/id_rsa.pub from local machine, then create_ssh_key, then deploy it here. Remote OAuth requires vm:exec; direct API-key use requires services:manage and a full-access key.

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": {
      "orderNo": "<orderNo>",
      "ssh_key": "<ssh_key>"
    },
    "name": "deploy_ssh_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
ssh_keyYesSSH key ID from list_ssh_keys

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, destructive, non-idempotent operation; the description adds genuinely new behavior: it is asynchronous, returns a noty UUID, and must be settled via wait_for_event before SSH works. It also discloses the required scopes (vm:exec, services:manage plus a full-access key). It does not explain why the operation is destructive (e.g. whether it replaces or appends to existing authorized keys), which is the one remaining gap.

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?

Four tight sentences, front-loaded with the action and the mandatory follow-up call before any prerequisites or auth detail. Slightly dense, with the auth-scope sentence appended as a run-on, but no sentence is filler.

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?

No output schema exists, yet the description covers the return value (noty UUID), the required follow-up (wait_for_event), the prerequisite (create_ssh_key), and both auth paths. For a two-parameter async mutation tool, an agent has everything needed to invoke and complete the workflow 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 description coverage is 100%, with both orderNo and ssh_key already documented in the schema, including the note that ssh_key comes from list_ssh_keys. The description restates the key-ID source but adds nothing about the orderNo format or constraints, so it neither compensates for nor extends the schema meaningfully.

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 specific verb and resource ('Deploy an SSH key to VPS') and distinguishes itself from its nearest siblings by naming list_ssh_keys as the ID source and create_ssh_key as the key-creation step. An agent can tell this apart from create_ssh_key/delete_ssh_key without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit ordering guidance: call list_ssh_keys to obtain the key ID, create the key first if it doesn't exist, then deploy, then poll wait_for_event until 'completed' before attempting SSH. It also states the auth prerequisites for both OAuth and API-key paths, so the when/how is fully specified.

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