Skip to main content
Glama

get_secrets

Retrieves stored API keys, tokens, and passwords for a specified service or all services to diagnose authentication issues.

Instructions

Retrieve stored API keys, tokens and passwords for a service (or 'all').

Critical for debugging authentication issues.

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

Input Schema

NameRequiredDescriptionDefault
serviceNoall

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden for a highly sensitive read. It says what kind of data comes back but says nothing about permissions required, whether values are masked or returned in plaintext, whether the access is audited, or what the default 'all' scope actually exposes — the details an agent most needs before invoking a secret-dumping tool.

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?

Two short sentences, front-loaded with what is retrieved and the scope sentinel. No filler, though the second sentence is an editorial claim rather than operational detail.

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?

The output schema means return values need not be described, and the parameter is covered. However, for a credential-reading operation with zero annotation coverage, the absence of any safety, permission, or scope-blast-radius context leaves a real completeness gap.

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 0% and the only parameter is bare, but the description compensates well by explaining that the argument takes a service name and that 'all' is the catch-all value. For a single-parameter tool this is essentially complete parameter semantics.

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 uses a specific verb ("Retrieve") plus a concrete resource set ("stored API keys, tokens and passwords") scoped by service or 'all'. It is clearly distinguishable from a generic file read, though it does not name or differentiate itself from credential-adjacent siblings like get_cloud_credentials or dump_credentials.

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?

"Critical for debugging authentication issues" supplies a use context, but there is no guidance on when NOT to call it, no mention of the sibling credential tools, and no warning about pulling 'all' secrets versus a single service. Usage is implied rather than directed.

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