Skip to main content
Glama

bugscan-secret-scanner-mcp

scan_secrets

Scans text for hardcoded secrets, API keys, passwords, and PII.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes要扫描的文本内容
filenameNo可选文件名,用于上下文展示
scan_typeNo扫描类型,可选 all / secret / pii / entropyall
max_findingsNo最多返回的问题数量

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It never says whether the scanned content is stored or transmitted, whether the operation is read-only, how it behaves on empty or huge input, or what the findings look like. For a security-scanning tool with zero annotation coverage, that is a substantial gap.

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 front-loaded sentence with no filler, which is appropriate sizing. It is efficient but arguably under-specified rather than optimally concise.

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?

With no output schema and no annotations, the description should describe the return shape and key behaviors. It says nothing about what a finding contains, ordering, or truncation via max_findings, leaving an agent unable to anticipate results for a 4-parameter tool.

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?

Schema description coverage is 100%, so the schema already documents content, filename, scan_type and max_findings. The description adds no parameter meaning beyond that — notably it never mentions the scan_type enum (all/secret/pii/entropy) or the max_findings cap, so baseline 3 applies.

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?

States a specific verb (scans) and resource (text) plus the target classes of findings (secrets, API keys, passwords, PII). It is clear what the tool does, though with no sibling tools there is nothing to differentiate against.

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 guidance on when to use this tool, when not to, or what prerequisites exist. Nothing indicates whether it is intended for pre-commit checks, log review, or ad-hoc inspection of pasted content.

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.

Resources