Skip to main content
Glama

owasp_scan__owasp_scan_path

Scans a file or directory for OWASP MCP Top 10 risks, orchestrating secret, OAuth, toxic-flow, and tool-poisoning audits to return an A–F security grade.

Instructions

Run a unified OWASP MCP Top 10 scan over a filesystem path — orchestrates secret, server, oauth, audit-gap, context-oversharing, toxic-flow, and tool-poisoning auditors; optional MCP04 supply-chain and MCP06 content injection. Returns A–F grade.

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": {
      "path": "<path>"
    },
    "name": "owasp_scan__owasp_scan_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile or directory to scan
maxFilesNo
withContentNoAlso run MCP06 (prompt injection on content under the path)
allowlistPathNoAllowlist file for Shadow MCP discover
discoverShadowNoAlso discover Shadow MCP on this host (MCP09)
withSupplyChainNoAlso run MCP04 (OSV + slopsquat; needs network)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.10
    • addedInput schema / properties / withContent
      Added value: +{
      +  "description": "Also run MCP06 (prompt injection on content under the path)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / withSupplyChain
      Added value: +{
      +  "description": "Also run MCP04 (OSV + slopsquat; needs network)",
      +  "type": "boolean"
      +}
  2. 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"
  3. Addedv0.1.1

TDQS

A3.7/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 disclosure burden and does reasonably well: it lists exactly which auditors fire by default, which are opt-in (MCP04 supply-chain, MCP06 content injection), and even notes that the supply-chain path needs network. It stops short of stating that the scan is read-only, expected runtime, or whether it mutates anything on disk.

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?

The whole definition is one front-loaded sentence that leads with the action and outcome (A–F grade), with zero filler. It is somewhat run-on in enumerating auditors and optional flags, but every clause conveys operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter orchestration tool with no output schema, the description is nearly sufficient: it names the auditors, flags the opt-in modes, notes the network prerequisite, and states the return is an A–F grade. The remaining gap is the undocumented maxFiles cap and any indication of scan duration or depth.

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 coverage is 83%, so the baseline is 3. The description does add real meaning beyond the schema by mapping withContent to MCP06, withSupplyChain to MCP04 with an OSV/slopsquat implementation detail plus a network caveat, and discoverShadow to MCP09; but maxFiles is documented nowhere, and allowlistPath's role is only sketched in the schema.

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 names a specific verb and resource — a unified OWASP MCP Top 10 scan over a filesystem path — and enumerates the auditors it orchestrates (secret, server, oauth, audit-gap, context-oversharing, toxic-flow, tool-poisoning). This implicitly distinguishes it from the single-auditor siblings, but it never explicitly contrasts with owasp_scan__owasp_scan_live or individual auditor tools.

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: run this when you want the full Top 10 sweep rather than a single auditor, with optional flags to extend coverage. However, there is no explicit when-to-use/when-not guidance and no named alternative such as the live-scan sibling, leaving the choice to inference.

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