Skip to main content
Glama

list_ssh_keys

Retrieve SSH keys for a specific system user on a server so you can review authorized access and manage key-based connections.

Instructions

List SSH keys for a system user

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>",
      "userId": "<userId>"
    },
    "name": "list_ssh_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesThe ID of the system user
serverIdYesThe ID of the server

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?

No annotations are supplied, so the description carries the full behavioral burden and falls well short. It does not say whether key material or fingerprints are exposed, whether results are scoped to one server or one user, whether it paginates, or whether elevated permissions are needed — all material for an SSH key listing.

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 short sentence with no filler, front-loading the verb and resource. It is efficient but borders on under-specification rather than being genuinely well-structured.

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?

This is a simple two-parameter list tool with full schema coverage and no output schema, so the description needn't explain return values. Still, for an SSH-key listing it omits whether sensitive key material appears in the response and whether results are filtered by server or user, leaving a modest but real gap.

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 coverage is 100%, so both serverId and userId are already documented in the schema, and the baseline is 3. The phrase 'for a system user' reinforces that userId scopes the listing, but the description says nothing about how serverId interacts with it, adding little beyond structured data.

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?

The description states a specific verb and resource ('List SSH keys') and adds scope ('for a system user'), so the agent knows exactly what is returned. It does not, however, distinguish itself from nearby siblings such as list_external_api_keys or get_ssh_settings, so the agent must infer which listing applies.

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 when-to-use guidance, no mention of prerequisites or permissions, and no reference to alternatives (e.g., add_ssh_key or list_external_api_keys). The agent must infer usage purely from the name and required parameters.

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