Skip to main content
Glama

check-secret

Read-only

Verifies secret references by proving them through use, sending each only to its configured host and reporting any ref with no valid target.

Instructions

dbabrain common.cli check-secret: Which secret refs to prove by using them. Request fields (pass them as request):

  • refs: The refs; all when absent.

  • match: Or a pattern.

  • allow_name_host: Removed in 0.26.0: a request carrying true is refused. A secret is sent only to a host the configuration names for its ref - never to one read from the ref's name; a ref nothing names answers NO_TARGET.

  • timeout_seconds: How long to wait.

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": "check-secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, but the description adds real behavioral context beyond them: the secret is transmitted only to a host the configuration names for that ref (corroborating and qualifying the open-world hint), and a ref with no named target answers NO_TARGET. It also discloses versioned refusal behavior for allow_name_host. It does not describe result shape or what a successful proof looks like, but the annotations and output schema cover much of that.

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?

Purpose is front-loaded in one line, followed by a scannable field list with no filler. The allow_name_host bullet is a long, comma-heavy run-on that mixes version history with runtime behavior, which slows parsing but contains no removable content.

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?

For a single free-form parameter with an output schema present, the definition covers selectors, the removed field, target-restriction behavior, and one result code. The main remaining gap is the absence of a default for timeout_seconds and any statement of what a successful proof returns, though the output schema and annotations reduce that burden.

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% — the schema is a bare free-form `request` object with no properties — so the description carries the full burden, and it enumerates four request fields with meaning: refs (all when absent), match as an alternative selector, allow_name_host as removed/refused, and timeout_seconds. That is a substantial improvement over the schema. It loses a point because timeout_seconds is defined only as "How long to wait" with no unit or default stated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Which secret refs to prove by using them" names the resource (secret refs) and the mechanism (proving by use), which is more than a restatement of the name. However, the phrasing is dense and indirect, and it never distinguishes this from siblings such as check-secret-literals or check-credentials, so an agent must infer the boundary between them.

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?

There is no when-to-use guidance, no preconditions, and no named alternative. The only exclusion is a field-level one (allow_name_host=true is refused since 0.26.0), which tells the agent how not to call a parameter, not when to choose this tool over another.

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

Deploy Server

Other Tools