Skip to main content
Glama

update_ssh_settings

Change a server's SSH settings to prevent root login, enable passwordless login, or use DNS for SSH access.

Instructions

Update SSH configuration for a server

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": {
      "serverId": "<serverId>"
    },
    "name": "update_ssh_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
useDnsNoUse DNS for SSH
serverIdYesThe ID of the server
preventRootLoginNoPrevent root login
passwordlessLoginNoEnable passwordless login

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.9/5.0
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 behavioral disclosure. It does not say whether the update is a partial patch or a full replacement of the SSH configuration, whether omitted flags are reset, what permissions are required, or whether changes are reversible — all critical for a mutation tool affecting server access.

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?

A single efficient sentence with the resource and scope front-loaded and no wasted wording. It is terse to the point of under-specification, but nothing is padded.

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?

A four-parameter mutation tool with no annotations and no output schema needs more than one sentence. Missing are the patch-vs-replace semantics, permission requirements, and confirmation of what is returned after the update.

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%, so each of the four parameters already carries its own description. The description adds no meaning beyond the schema, which is the baseline-3 case.

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 ('Update SSH configuration') and names the scope ('for a server'). The 'update' verb implicitly distinguishes it from the sibling get_ssh_settings read counterpart, though the description never names that alternative explicitly.

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?

No guidance on when to use this tool versus get_ssh_settings, add_ssh_key, or the many other update_*_settings siblings. The only hint is the verb itself; prerequisites and exclusions are absent.

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