Csp Parse
csp_parseCSP Analyzer: Content-Security-Policy header analysis & grade
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
csp_parseCSP Analyzer: Content-Security-Policy header analysis & grade
| Name | Required | Description | Default |
|---|---|---|---|
| q | No |
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility. It merely restates the tool's purpose ('CSP Analyzer... analysis & grade') without explaining input format, whether it fetches a URL, what 'grade' means, or any side effects. This is essentially a tautology of the tool name.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one short phrase, which is concise in length but not in value. It repeats the name/title and provides no actionable information. It is under-specified rather than appropriately sized; not every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema (which may cover return values), the description fails to explain how to invoke the tool: what 'q' should contain, whether it's a header value or URL, or what the output grade means. For a tool with one parameter and no annotations, this is highly incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has zero description coverage for the single parameter 'q'. The description does not mention 'q' at all, leaving the agent unaware that this parameter even exists or what value it should take. Complete failure to compensate for the schema gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the specific resource (Content-Security-Policy header) and the actions (analysis & grade). It distinguishes from siblings like 'headers' or 'cors' by focusing on CSP. However, it is phrased as a title rather than a clear verb-driven sentence, and doesn't explicitly mention what the tool does with the input.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool vs alternatives. With dozens of related security tools (headers, cors, clickjacking), the agent is left to guess whether csp_parse expects a raw header string, a URL, or something else. No mention of prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.