Skip to main content
Glama

List User SSH Keys

hestia_list_user_ssh_keys
Read-onlyIdempotent

Lists authorized SSH public keys configured for a HestiaCP user, so you can audit panel-managed keys for that account.

Instructions

List authorized SSH public keys configured for a HestiaCP user via v-list-user-ssh-key. Use when auditing panel-managed SSH keys for one user; prefer hestia_host_access_inventory (host toolset) for host-wide SSH key SHA-256 fingerprints across system accounts. Returns { ok, targetId, command, data (map keyed by key ID) }.

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": {
      "user": "<user>"
    },
    "name": "hestia_list_user_ssh_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesHestiaCP account username.
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds context beyond that: it discloses that results come from the panel's v-list-user-ssh-key command (i.e., panel-managed keys, not OS-level authorized_keys) and describes the return envelope, including that data is a map keyed by key ID.

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?

Three short sentences, each load-bearing: purpose, usage routing, and return shape, with the core verb front-loaded. There is no filler or restatement of the title.

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?

With no output schema, the description compensates by sketching the response envelope (ok, targetId, command, data). For a simple two-parameter read tool with full annotation coverage and full schema coverage, this is nearly complete; only prerequisite/auth details for reading another user's keys are unstated.

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 parameters (user, targetId) are documented inline, so the baseline is 3. The description mentions the user scope but adds no extra meaning, such as username format constraints or what targetId selects among, leaving the schema to carry parameter semantics.

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?

The description states a specific verb and resource ('List authorized SSH public keys configured for a HestiaCP user') and names the underlying command (v-list-user-ssh-key), which pins down scope to panel-managed keys for a single account. It also distinguishes itself from a differently-scoped alternative (host-wide fingerprints via hestia_host_access_inventory), so an agent can tell the two apart without reading either schema.

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

Usage Guidelines4/5

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

It gives an explicit usage condition ('Use when auditing panel-managed SSH keys for one user') and names an alternative tool plus the condition that selects it (host-wide SHA-256 fingerprints across system accounts). There is no explicit 'do not use when' case, such as a missing or non-existent user, so it falls just short of the top mark.

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