Skip to main content
Glama

Center AI Vision GPU cloud

Change a machine's SSH keys

set_machine_ssh_keys
Idempotent

Replaces the SSH keys allowed on an Ubuntu + SSH machine; a running machine picks it up in about 20 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": {
      "orderId": "<orderId>",
      "sshKeyIds": "<sshKeyIds>"
    },
    "name": "set_machine_ssh_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYes
sshKeyIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly=false, idempotent=true and destructive=false, but the description adds genuinely new behavior: the change propagates to a running machine in about 20 seconds. That timing detail is exactly the kind of operational context annotations cannot convey. It does not address lockout risk from removing keys, which is the main behavioral hazard here.

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 sentence with no waste: the mutation and its scope come first, the operational timing second. Every clause earns its place and nothing is buried.

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 mutation with annotations covering the safety profile and no output schema, the description supplies the precondition, the replacement semantics, and the propagation delay. Remaining gaps (whether the machine must be running, what happens to in-flight sessions) are secondary but would matter for safe invocation.

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 0%, so the description must carry the burden; it does not mention either parameter by name or explain that orderId identifies the machine. It does add real semantic value by framing the keys as the complete allowed set ('Replaces the SSH keys allowed'), implying sshKeyIds is the full replacement list rather than an addition, which constrains how an agent should populate the array.

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+resource: 'Replaces the SSH keys allowed on an Ubuntu + SSH machine.' The word 'Replaces' distinguishes the operation from an additive sibling such as add_ssh_key, and the Ubuntu+SSH qualifier scopes applicability. It stops short of naming the alternative explicitly, so it is clear but not fully differentiated.

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?

Usage is implied rather than stated: 'Replaces' signals this is for overwriting an existing key set on an already-provisioned machine. There is no explicit when-to-use/when-not guidance, no mention of the add_ssh_key or list_ssh_keys siblings, and no statement about required machine state (running vs stopped).

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.

Resources