Skip to main content
Glama

auditdeck_scan_secrets

Scan a local repository for committed .env files and leaked credentials like AWS, Stripe, GitHub, and AI API keys, plus private keys and DB passwords. Masks all secret values in results.

Instructions

Scan a local repository for committed .env files and leaked credentials (AWS, Stripe, GitHub, AI API keys, private keys, DB passwords) with all secret values masked.

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

Input Schema

NameRequiredDescriptionDefault
pathNoLocal repository directory path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose one valuable trait beyond the schema: results mask all secret values, which tells the agent output is safe to surface. It does not state that the scan is read-only, whether it needs local filesystem access or network, how large repos are handled, or what the findings look like.

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?

One front-loaded sentence with no filler: the action, the target, the detection coverage, and the masking guarantee all land immediately. Nothing is repeated or restated from the schema.

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 simple one-parameter scan tool the description covers purpose and detection scope, but with no output schema it leaves the return shape (findings list? counts? per-file grouping?) unexplained. It also omits default behavior for the optional path, which is the only thing an agent must decide before calling.

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?

There is a single 'path' parameter already documented at 100% schema coverage as 'Local repository directory path.', so the baseline is 3. The description adds only that the target is a local repository, and notably does not say what happens when path is omitted, even though the parameter is optional.

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 gives a specific verb ('Scan') and resource ('a local repository') and enumerates exactly what it looks for (.env files, AWS/Stripe/GitHub/AI keys, private keys, DB passwords). It is clearly distinct from the sibling tools (audit_repo, export_report, generate_pdf) by subject matter, though it never names an alternative to route against.

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?

Usage is implied by 'Scan a local repository' and the enumeration of credential types, so an agent can infer this is the pre-commit/leak-detection step. There is no explicit when-to-use versus when-not-to-use guidance, no statement of prerequisites (does the path need to be a git repo?), and no mention of how it relates to auditdeck_audit_repo.

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