Skip to main content
Glama

pg_secrets

List secret key names or delete keys in a local 0o600 vault without exposing plaintext values, enabling safe secret inventory and cleanup.

Instructions

List key names (never plaintext values) or delete keys in the local 0o600 Secret Vault.

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": {
      "op": "<op>"
    },
    "name": "pg_secrets"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYes
keyNo
scopeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.7.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does disclose two useful behaviors: plaintext values are never returned, and the vault is local with 0o600 permissions. However, it never states that delete is destructive and irreversible, whether confirmation is required, or what happens when a key does not exist — critical omissions for a mutation path.

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?

A single tight sentence with the safety-relevant parenthetical placed inline where it matters, and no filler. It is well sized for the information it conveys, though the list/delete dual mode could be structured more explicitly.

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

Completeness2/5

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

No annotations, no output schema, and 0% parameter coverage mean the description is the only documentation an agent has, and it leaves `scope` undefined and the delete path's destructiveness unstated. For a tool that can permanently remove secrets, this falls well short of complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for all three parameters. It only implicitly covers `key` (via 'key names' / 'delete keys') and mirrors the `op` enum, while `scope` is left entirely unexplained in both the schema and the description.

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 two concrete verbs (list, delete) and a specific resource (keys in the local Secret Vault), and the parenthetical clarifies that only key names are returned. It is immediately distinguishable from every sibling tool, none of which touch secrets, though it does not explicitly say so.

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

Usage Guidelines2/5

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

The description restates the two operations implied by the op enum but gives no guidance on when to choose list versus delete, no prerequisites, and no exclusions. An agent gets no signal about when this tool is preferable to any alternative workflow for secret handling.

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