Skip to main content
Glama

mechacut

secret_scan

Leak gate for agent output: 24 published secret formats (OpenAI/GitHub/AWS/Slack/Stripe/Google/Discord/Telegram keys, private-key blocks, JWT), Luhn-verified cards with brand, mod-97 IBAN, and BIP39 seeds checked with the REAL checksum (published vectors in tests). Previews only — the value never echoes. Free.

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": {
      "text": "<text>"
    },
    "name": "secret_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
kindsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the privacy behavior ("previews only — the value never echoes"), the validation rigor behind matches (Luhn, mod-97, BIP39 with real checksum), and a bounded format list. It omits false-positive handling, performance/limits, and the scan's default scope, which keeps it short of a 5.

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 dense sentence, front-loaded with the core purpose before the coverage detail, and the privacy guarantee is placed where it matters. Only the trailing "Free." and the parenthetical test claim are non-essential, which is minor noise rather than structural 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?

For a two-parameter, no-annotation, no-output-schema tool, the definition explains detection coverage and privacy but leaves the return shape (preview format, match locations, counts) and the `kinds` filter entirely unspecified. An agent knows what the tool is for but not fully how to call it or what it gets back.

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% across two parameters, so the description must compensate and does not: the implicit string input is never described (size limits, whole-document vs line semantics), and the `kinds` array — presumably a format filter — is never mentioned at all, leaving an agent to guess its meaning and accepted values.

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

Purpose5/5

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

"Leak gate for agent output" is a specific verb+resource framing, and the definition enumerates exactly what is detected (24 named key formats, private-key blocks, JWT, Luhn cards with brand, mod-97 IBAN, BIP39 seeds). An agent can immediately tell this is a secret-detection scanner and distinguish it from unrelated utility siblings like check_format or csv_diff.

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?

"Leak gate for agent output" implies the intended moment of use (scanning text before it is emitted), but there is no explicit when-to-use/when-not statement and no named alternative for related tasks such as redaction or sanitization. Usage is inferable rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.