Skip to main content
Glama

List database keys

helix_list_database_keys
Read-onlyIdempotent

List the gateway keys of one database: each key's id, name, permissions and status. A key's secret is returned only once, by create_database_key; Helix's own operational keys are never listed.

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": {
      "database": "<database>"
    },
    "name": "helix_list_database_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseYesThe database: tenant:<id> or cluster:<id>.

Output Schema

NameRequiredDescriptionDefault
resultYesUntrusted typed admin operation result.
targetYes
operationYes
content_trustYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real behavior the annotations cannot express: key secrets are never returned here (only once, at creation) and Helix's internal operational keys are filtered out of the listing, which prevents an agent from expecting a secret field or a complete inventory.

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?

Two sentences, no filler. The scope and return shape come first, followed by the two important negative constraints, which is the right front-loading for a low-risk list call.

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?

An output schema exists, so the description need not explain result structure, and the single required parameter is fully documented. The remaining minor gap is that nothing is said about result size or pagination behavior for databases with many keys.

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% and the single parameter's description already spells out the 'tenant:<id>' or 'cluster:<id>' format. The prose adds no further meaning about the database argument, so the baseline 3 applies.

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 names a specific verb and resource ('List the gateway keys of one database') and even enumerates the returned fields (id, name, permissions, status). It clearly is not the indexes/usage listing tools, but it never explicitly contrasts itself with a sibling, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by the phrase 'of one database' and by pointing at create_database_key as the way to obtain a secret, which tells the agent this is a discovery/metadata call and not a credential-retrieval call. There is no explicit when-to-use or when-not-to-use statement against other listing tools such as helix_list_database_indexes.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources