Skip to main content
Glama

SiteCheck Web Intel

Checks how a site's home page answers a cross-origin

security_cors_misconfig
Read-only

Checks how a site's home page answers a cross-origin request from a made-up origin: whether it echoes that origin back, sends a wildcard (*), and whether credentials are allowed with it. Echoing an arbitrary origin together with credentials is the risky case. One GET of the home page; it does not test API routes or the null origin. 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_cors_misconfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name such as httpbin.org (required)

Output Schema

NameRequiredDescriptionDefault
domainNo
sourceNo
verdictNo
finalUrlNo
checkedAtNo
httpStatusNo
allowOriginNo
probeOriginNo
allowCredentialsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only and open-world behavior, and the description adds materially more: exactly one GET of the home page, the scope limits, and a full cost model ($0.002 per successful call via x402, failed calls free). For a paid, externally-facing probe, the pricing and failure-billing terms are the details an agent needs before invoking it and are not carried by any structured field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what is checked, then the interpretation heuristic, then the scope limits, then cost. Three sentences and every clause carries information an agent would otherwise have to guess; the pricing clause is not filler because it affects invocation economics.

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?

With an output schema present, return format needn't be described; annotations cover safety, and the schema covers the parameter. The description closes the remaining gaps — request count, coverage boundaries, and billing — so nothing an agent needs to call this correctly is missing.

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?

There is a single parameter with 100% schema description coverage ('Domain name such as httpbin.org (required)'), so the schema already carries the full specification. The description adds no further meaning — no note on scheme handling, subdomains, or how the made-up origin value is chosen — so baseline 3 applies.

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 specific verb and resource — checks how a site's home page answers a cross-origin request — and names exactly what signals it inspects: origin echo, wildcard, and credential allowance. It also bounds the scope by declaring what it does not cover (API routes, null origin), so an agent can tell it apart from a broader CORS test.

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?

The description explains the risky condition that makes the result actionable (arbitrary origin echoed with credentials) and gives explicit exclusions ('does not test API routes or the null origin'), which functions as when-not guidance. It stops short of naming an alternative tool to use for those uncovered cases, leaving the agent to infer one from the broader catalog.

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