Generate and audit a Content-Security-Policy from a page's resources
Single tool 'cspbuilder_scan' has a basic description (89 chars) and minimal input schema. The tool name lacks a clear action verb (scan is acceptable but vague about CSP generation vs. audit). Input parameter 'target' has a description but no type constraints, format guidance, or examples. No output schema is documented, the tool returns JSON but the structure is not formally specified. No error handling guidance, no parameter validation rules, and no indication of what fields the JSON response contains. The implementation is simple but the tool definition falls short of production standards.
Generate and audit a Content-Security-Policy from a page's resources. Returns JSON findings.
No output schema documented. Tool returns JSON but structure is not specified, LLM cannot plan downstream operations or extract fields reliably.
Input parameter 'target' lacks format constraints, validation rules, or examples. Description does not clarify whether it accepts URLs, file paths, or both, or what happens on invalid input.
No error handling guidance. Tool description does not explain what errors are possible, when to retry, or how to recover from failures (e.g., unreachable URL, invalid path).
Tool name 'cspbuilder_scan' is vague. Does it generate a CSP, audit an existing one, or both? Description clarifies but name alone does not convey intent clearly enough for LLM selection.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | 2026-07-28+ | v2 |
No parameter type validation or bounds. 'target' accepts any string; no guidance on max length, character restrictions, or what constitutes a valid target.