Skip to main content
Glama

check-secret-literals

Read-only

Scan a directory tree for hardcoded secret literals and compare matches against a configured secret store to detect exposed credentials.

Instructions

dbabrain common.cli check-secret-literals: A tree to scan for secret values. Request fields (pass them as request):

  • root: The tree.

  • paths: Paths within it.

  • store: The secret store compared against.

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-literals"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that a tree and specific paths within it are scanned against a named secret store, which is useful behavioral context, but it doesn't say what is reported when literals are found or whether the scan is exhaustive.

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?

The description is short, front-loaded with the tool's purpose, and cleanly separates the request fields into a list. There is no redundancy, though the field glosses are so terse they verge on under-specification rather than waste.

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?

An output schema exists, so return values needn't be explained. Still, for a scanning tool whose only parameter is an untyped object, the description should clarify what a secret store reference looks like and what the scan covers; it stops short of that.

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?

The schema is a single opaque `request` object with additionalProperties:true and 0% description coverage, so the description's enumeration of root, paths and store is the only documentation of the payload. However the definitions are circular ("The tree.", "Paths within it."), adding naming but little semantic meaning such as expected formats or whether paths are optional filters.

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?

The description says it scans "a tree" for "secret values" and compares against a secret store, which conveys the general intent. But it is phrased as a noun fragment ("A tree to scan for secret values") rather than a clear verb+resource statement, and it doesn't distinguish itself from the sibling check-secret or check-credentials.

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 statement of when to use this tool, when not to, or which sibling (e.g. check-secret) to prefer for single-value versus tree-wide scanning. The agent must infer the use case from the name and the word "tree".

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