Skip to main content
Glama

SiteCheck Web Intel

Reads the Content-Security-Policy header of a site's home

security_csp_evaluator_audit
Read-only

Reads the Content-Security-Policy header of a site's home page and lists weak points: 'unsafe-inline' and 'unsafe-eval' in script sources, bare wildcards, data: or http: script sources, a missing default-src or script-src, and a missing policy altogether. Reports directives. Header only; a CSP in a meta tag is not read. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>"
    },
    "name": "security_csp_evaluator_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name such as github.com (required)

Output Schema

NameRequiredDescriptionDefault
domainNo
issuesNo
sourceNo
presentNo
checkedAtNo
directivesNo
reportOnlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations by disclosing the meta-tag blind spot and the full billing model: $0.002 per successful call, x402 with USDC on Base, Solana and 10 more networks, with failed calls not charged. For a paid, open-world fetch, cost and failure-charging semantics are exactly the context an agent needs before invoking.

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?

Front-loaded with the core action and the weak-point list before the caveat and pricing. The pricing sentence is long because of the network enumeration ('USDC on Base, Solana and 10 more networks'), which is material but slightly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with an output schema, readOnly annotations, and 100% schema coverage, the description supplies everything else: what is inspected, what counts as a finding, the header-only limitation, and the cost model. Nothing needed to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter and schema coverage is 100%, so the schema already documents 'domain' with an example ('github.com'). The description adds the useful framing that the domain is resolved to its home page rather than an arbitrary URL, but contributes no format or normalization rules beyond that.

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?

States a concrete verb ('Reads the Content-Security-Policy header') plus a precise scope ('of a site's home page') and then enumerates exactly which weak points it flags (unsafe-inline/eval, bare wildcards, data:/http: sources, missing default-src/script-src, no policy). This is unmistakably distinct from siblings such as security_cookie_security or security_referrer_policy_audit, which target different headers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit applicability boundary: 'Header only; a CSP in a meta tag is not read,' which tells the agent when results will be empty or misleading. It does not name an alternative tool for the meta-tag case or set preconditions (e.g., site must be reachable), so no full when/when-not/alternative triad.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources