Skip to main content
Glama

vulnforge_fuzz_api

Fuzzes REST/API route handlers and schemas using dynamic feedback-guided mutations (boundary values, type mismatches, prototype pollution probes, oversized payloads) to uncover unhandled crashes and input validation gaps, synthesizing…

Instructions

Fuzzes REST/API route handlers and schemas using dynamic feedback-guided mutations (boundary values, type mismatches, prototype pollution probes, oversized payloads) to uncover unhandled crashes and input validation gaps, synthesizing defensive Zod/sanitizer validation patches.

Input Schema

NameRequiredDescriptionDefault
filePathNoSource filename or route path identifier (optional)
routeCodeYesAPI route handler source code to analyze for mutation resilience (Express, Fastify, Next.js, etc.)
endpointUrlNoTarget endpoint URL or route path (optional)
fuzzStrategyNoMutation fuzzing strategy (default: ALL)
mutationRoundsNoNumber of mutation variants per field (default: 5)
schemaDefinitionNoOptional schema or OpenAPI definition snippet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.19.0

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 full burden. It does disclose the mutation techniques and that it synthesizes defensive Zod/sanitizer patches, but it never says whether the handler is actually executed (sandboxed runtime vs. static simulation), whether files are written or patches are merely returned, or what permissions are needed — significant gaps for a security-mutation tool.

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 that leads with the verb and resource before the technique list and outcome. Dense and slightly overloaded with parenthetical technique names, but no sentence is wasted.

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 six-parameter tool with no annotations and no output schema, the description omits what the return value looks like (crash reports, patch text, findings list) and the execution model. It covers the 'what' adequately but leaves the agent guessing about the shape and side effects of results.

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 the schema already documents all six parameters including the fuzzStrategy enum. The description's mention of boundary values, type mismatches, and prototype pollution loosely maps to enum members but adds no format, default, or interaction details beyond the schema, 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?

States a specific verb and resource: 'Fuzzes REST/API route handlers and schemas', with named techniques and a stated goal (crashes, validation gaps, patch synthesis). It implicitly separates itself from the auditing siblings by technique (dynamic fuzzing vs. audit), but never names an alternative, so the differentiation is left for the agent to infer.

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: you supply route handler source and get mutation resilience findings. There is no explicit when-to-use statement, no mention of when to prefer vulnforge_audit_api or vulnforge_full_scan, and no prerequisites such as whether a live endpoint must be running for endpointUrl.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.