Skip to main content
Glama

List API Access Keys (Metadata Only)

hestia_list_access_keys
Read-onlyIdempotent

Lists HestiaCP API access key metadata such as key IDs, users, permissions, and timestamps without exposing secret keys. Filter by account username to audit credentials safely.

Instructions

List API access key metadata (key IDs, user, permissions, comment, timestamps) via v-list-access-keys. Never exposes secret access keys (v-list-access-key remains blocked). Returns { ok, targetId, command, data }.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hestia_list_access_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNoOptional HestiaCP account username to filter access keys.
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds real value beyond that: it guarantees secret access keys are never exposed and specifies the response envelope { ok, targetId, command, data }, which is the key behavioral concern for a credentials-adjacent 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?

Three tight sentences with zero filler, masthead being the metadata scope and the security guarantee. The response-shape sentence is compact and earns its place given there is no output schema.

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?

For a two-parameter, read-only listing tool, the definition covers scope, the security boundary, the underlying command, and the return envelope. With annotations handling the safety profile and no output schema to rely on, nothing an agent needs to call it correctly is missing.

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 both parameters (user filter, targetId) are already documented in the schema. The description adds no extra meaning about parameter behavior — the field list it gives (key IDs, user, permissions, comment, timestamps) describes returned data, not inputs. Baseline 3 is appropriate.

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 (list API access key metadata), enumerates exactly what metadata is included, and names the underlying command v-list-access-keys. It also disambiguates from the secret-exposing variant (v-list-access-key remains blocked), so an agent knows precisely what this tool returns versus what it does not.

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?

The description makes clear this is the tool to use for enumerating access keys when only metadata is wanted, and that secret retrieval is not available here. It does not explicitly name an alternative tool or state when not to call it, but the scope is unambiguous for selection.

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