Skip to main content
Glama

discover_secrets

Lists available secret identifiers and metadata so AI assistants can identify which stored API keys or tokens they can request under policy, without exposing secret values.

Instructions

List all available secret identifiers and their metadata

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only that results are unfiltered ('all'). It does not say whether listed secrets are scoped by the caller's permissions, whether pagination applies, or whether an auth step is required. The one useful hint is that only identifiers and metadata are returned, not secret values, but that is thin coverage for a zero-annotation tool.

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?

A single front-loaded sentence with no filler; every word ('List', 'all available', 'identifiers', 'metadata') carries meaning. Nothing is padded or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only listing tool with no output schema or annotations, the definition covers the core action but leaves the agent guessing about result shape, scope (all secrets vs. permitted secrets), and whether pagination exists. These gaps matter less here than for a mutation tool, but the description is only minimally sufficient.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline is 4. The absence of arguments is consistent with the 'list all' framing, though the description does not note that no filtering is possible (the agent must filter client-side).

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?

States a specific verb (List) and resource (secret identifiers plus metadata), so the agent knows this is an enumeration of secrets rather than an operation on one. It does not explicitly contrast itself with use_secret, but the 'identifiers and metadata' phrasing implies it does not expose secret values, which is the key distinction.

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?

The word 'List all available' implies a discovery step preceding use_secret, but the description never states when to call this versus use_secret or describe_policy, nor any prerequisite such as needing an existing secret name. Usage is inferable from the name and phrasing rather than spelled out.

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