Analyze GraphQL introspection for risky fields, depth, and authz gaps
Single tool 'graphqlmap_scan' has a basic description (89 chars) and minimal input schema. The description lacks WHEN to use it, prerequisites, and what the output structure contains. Parameter 'target' has a description but no type constraints (format, length, allowed values). No output schema is documented, LLMs cannot plan downstream steps or extract structured data. No error handling guidance. The tool name lacks a clear action verb (scan is weak; 'analyze_graphql_introspection' would be stronger). Overall, this is a bare-minimum implementation that would not pass code review.
Analyze GraphQL introspection for risky fields, depth, and authz gaps. Returns JSON findings.
No output schema documented. LLMs cannot infer what fields the response contains (e.g., findings array structure, severity levels, remediation guidance). This blocks downstream tool composition and forces LLMs to guess at response shape.
Parameter 'target' lacks format/constraint documentation. No indication whether it accepts file paths, URLs, or both; no length limits; no validation rules. Description should state: 'Local file path or HTTP(S) URL to a GraphQL introspection JSON document (max 50MB).'
Tool description (89 chars) is too brief and lacks context. Does not explain WHEN to call it (e.g., 'Use this after discovering a GraphQL endpoint to identify attack surface'), what prerequisites exist (valid introspection JSON), or what the output enables (security hardening decisions). Should be 150 - 250 chars.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 38 | 2026-07-28+ | v2 |
No error handling guidance. If the target file is invalid JSON, unreachable, or too large, what does the tool return? How should the LLM recover? Current code likely returns a raw exception or generic error.
Tool name 'graphqlmap_scan' is weak. 'scan' is a generic verb. Stronger names: 'analyze_graphql_introspection', 'assess_graphql_security', or 'identify_graphql_risks'. Current name does not clearly convey the security analysis intent.