Skip to main content
Glama
@guardbee/mcp-security-proxy

@guardbee/mcp-security-proxy

Official

toxic_flow_auditor__scan_directory

Scan MCP server source directories recursively to detect toxic flows across all registered tools, helping identify risky data exposure and security issues before deployment.

Instructions

Recursively scan a directory of MCP server source for toxic flows across all registered tools

Input Schema

NameRequiredDescriptionDefault
pathYes
excludeNo
maxFilesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.5
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.1.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It never says whether the scan is read-only, how large a directory it will traverse, whether it follows symlinks, or what "across all registered tools" actually means — that phrase is ambiguous and could refer to tools declared in the source or tools registered with the auditor.

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. It is efficient, though the trailing clause "across all registered tools" adds ambiguity rather than information.

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 annotations, no output schema, and zero-documented parameters, the description needed to do much more: explain the ambiguity around "registered tools", describe filtering/limits, and give a sense of the returned findings. As written an agent can attempt a call but cannot predict cost or output.

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% for three parameters. The description only hints at the required `path` via the word "directory"; `exclude` and `maxFiles` are never mentioned, so their format and effect (glob patterns? file count cap?) must be guessed entirely.

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 and scope ("Recursively scan a directory of MCP server source") plus the target finding ("toxic flows across all registered tools"). The word "directory" implicitly separates it from toxic_flow_auditor__scan_file, but the other siblings (scan_source, audit_catalog) are never addressed, so differentiation is only partial.

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 choose this over toxic_flow_auditor__scan_source, scan_file, or audit_catalog, and no prerequisites or exclusions. The only usage signal is the implied 'point it at a directory', which an agent must infer from the verb.

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