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

@guardbee/mcp-security-proxy

Official

oauth_auditor__scan_file

Scans a single file for OAuth and token-handling anti-patterns, helping identify insecure token storage, leakage, or misuse before it reaches production.

Instructions

Scan a single file for OAuth/token-handling anti-patterns

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute or relative path to the file to scan

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

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. 'Scan' reasonably implies a read-only analysis, but the description does not disclose what a scan produces (findings format), whether the file is modified, or performance characteristics. For a low-risk read scan this is acceptable but thin.

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; the resource and domain are stated immediately. It is efficient, though it could carry one more differentiating clause without becoming bloated.

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 one-parameter, no-output-schema tool, the description establishes purpose but does not describe what the scan returns or how findings are surfaced (no output schema exists to offload this). This leaves a modest gap for an agent deciding what to expect.

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?

The single 'path' parameter has 100% schema description coverage ('Absolute or relative path to the file to scan'), so the schema already documents it. The description adds no syntax or format detail beyond that, making the baseline 3 appropriate.

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 ('Scan'), resource ('a single file'), and domain ('OAuth/token-handling anti-patterns'). The 'single file' qualifier implicitly distinguishes it from scan_text and scan_directory siblings, though it doesn't name them explicitly.

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: the 'single file' scope suggests it is for one file versus a text blob (scan_text) or a tree (scan_directory), but no explicit when-to-use or when-to-avoid guidance is given. The reader must infer routing from the tool name.

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