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

@guardbee/mcp-security-proxy

Official

elicitation_auditor__scan_directory

Recursively scan a directory of MCP server source to identify elicitation anti-patterns and audit code for risky prompt or data-exposure patterns.

Instructions

Recursively scan a directory of MCP server source for elicitation anti-patterns

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute or relative path to the directory to scan
excludeNoSkip files/dirs whose path contains one of these strings
includeNoOnly scan files whose path contains one of these strings
maxFilesNoMaximum number of files to scan (default: 5000)

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

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description bears the burden: it conveys that scanning is recursive and confined to a directory tree, which is useful scoping context. It does not disclose whether files are merely read (static analysis) versus executed, whether results are truncated at maxFiles, or how findings are aggregated, which matters for a scanner tool.

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 sentence, front-loaded with the core action and scope, with no filler. Nothing to trim and no delay before the essential information.

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?

With four parameters, no output schema, and no annotations, the description covers the 'what' but not the 'what to expect': no mention of the result shape, per-file versus aggregated findings, or behavior on large trees. Adequate to invoke, but not to set expectations.

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 path, include/exclude filters, and the maxFiles default of 5000 are already fully documented in the schema. The description adds no syntax, matching semantics, or interaction details (e.g. how include and exclude combine), 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?

Specific verb+resource ('recursively scan a directory') scoped to 'MCP server source' and a named class of findings ('elicitation anti-patterns'), so an agent knows exactly what it produces. It does not, however, distinguish itself from the sibling scan_file/scan_text variants of the same auditor.

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 only implied by the word 'directory': an agent can infer this is the bulk/batch variant versus elicitation_auditor__scan_file and scan_text, but the description never states when to pick one over the other. No prerequisites (e.g. that the directory must contain server source) are given.

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