Skip to main content
Glama

List API Keys

apikey_list
Read-onlyIdempotent

Lists Unraid API keys with names, ids, roles, creation dates, and optional permissions detail, without exposing key values. Use it to find key ids for apikey_manage.

Instructions

Read-only. Lists the Unraid API keys configured on the server: name, id, roles, and creation date, plus description and permissions with response_format: detailed. Key VALUES are never selected or returned. Use it to get the key ids that apikey_manage takes. Requires an API key with permission to read API keys (typically ADMIN).

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": "apikey_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNo`detailed` returns full JSON instead of readable text.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
  2. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: annotations only declare readOnly/idempotent/non-destructive, while the description adds the security-relevant guarantee that key VALUES are never selected or returned, plus the auth requirement (read-API-keys permission, typically ADMIN). These are exactly the facts an agent needs before calling a secrets-adjacent endpoint.

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?

Four compact sentences with the read-only guarantee front-loaded and no filler; each sentence carries a distinct fact (safety, fields, usage routing, auth). Slightly dense in the second sentence, but nothing is wasted.

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?

There is no output schema, so the description must describe return content itself, and it does — field list plus the detailed-mode extras plus the explicit exclusion of secret values. Auth prerequisites and sibling routing are also covered, leaving no material gap for a one-parameter list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it specifies that `detailed` surfaces the description and permissions fields, which the schema only describes generically as "full JSON instead of readable text." That tells the agent which mode to pick for which data.

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 ("Lists the Unraid API keys configured on the server") and enumerates the returned fields (name, id, roles, creation date). It also distinguishes itself from the write-side sibling by framing itself as the id source for apikey_manage.

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?

Explicitly says when to reach for it: "Use it to get the key ids that apikey_manage takes," which routes the agent correctly between the read and mutate siblings. It stops short of stating when not to use it (e.g. listing keys vs. auditing permissions), so it is clear context rather than a full when/when-not matrix.

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