Skip to main content
Glama

List secret names

secrets_read
Read-onlyIdempotent

Read-only: the NAMES of the project's secrets per environment; values are never shown. action "list" (env: preview or production). To set, delete or request secrets use the secrets tool.

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": {
      "action": "<action>",
      "project": "<project>"
    },
    "name": "secrets_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNopreview
actionYes
projectYesProject slug or id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description adds the crucial behavioral fact that values are never returned, only names, which the annotations do not convey. It stops short of describing ordering, pagination, or what happens for an environment with no secrets.

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 short sentences, front-loaded with the read-only constraint and the names-only guarantee, followed by the sibling redirect. No redundant restatement of the title or schema.

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 correctly supplies the most important return-shape fact (names, never values). Minor gaps remain — result ordering/format and behavior on empty environments — but nothing essential for correct invocation 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 coverage is only 33% (only `project` is documented), but the description compensates partially by explaining that `env` selects preview or production and that `action` is fixed to "list". It does not clarify `project` beyond the schema or state the effect of the preview default.

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 names the concrete resource (the project's secret names), the scoping dimension (per environment), and the sole action ("list"), and explicitly contrasts itself with the `secrets` tool for mutations. An agent can distinguish it from the sibling without opening 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 Guidelines5/5

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

It states the use case (enumerate secret names for an environment) and names the alternative with its condition: "To set, delete or request secrets use the secrets tool." When-not guidance is explicit rather than implied.

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