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

@guardbee/mcp-security-proxy

Official

toxic_flow_auditor__scan_source

Scans TypeScript/JavaScript MCP server source for .registerTool and .tool registrations, then audits them for toxic flows to expose unsafe tool interactions.

Instructions

Scan TypeScript/JavaScript MCP server source for .registerTool(...) and .tool(...) registrations and audit them for toxic flows

Input Schema

NameRequiredDescriptionDefault
labelNo
contentYesSource code 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

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It says the tool scans and audits for toxic flows but does not clarify what 'toxic flows' means, what the output looks like, whether the operation is purely read-only, or any limits/rate behavior; this leaves meaningful behavioral gaps for an unannotated 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?

The description is a single front-loaded sentence with no filler. Every phrase contributes specific information about file types, target patterns, and audit purpose.

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 two-parameter scan tool with no output schema and no annotations, the description gives enough to know what input to provide, but it omits what the scan returns, what constitutes a 'toxic flow', and how it relates to sibling scan_file/scan_directory tools. It is minimally adequate but leaves real gaps.

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 only 50%, so the description must compensate. It adds useful meaning for 'content' by specifying TypeScript/JavaScript MCP server source and the registration patterns to look for, but it never mentions the 'label' parameter, so the undocumented parameter remains unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (scan), resource (TypeScript/JavaScript MCP server source), and exact registration patterns (.registerTool(...) and .tool(...)) it targets. It also states the audit goal (toxic flows), which distinguishes it from generic scanners and from sibling scan_file/scan_directory tools that operate on paths rather than raw source content.

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 by the content parameter and the phrase 'scan ... source', suggesting this tool is for raw source snippets rather than files or directories. However, it never explicitly says when to use this versus toxic_flow_auditor__scan_file, scan_directory, or other scanner siblings, and it provides no exclusions or prerequisites.

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