Skip to main content
Glama

Check security basics

check_security
Read-onlyIdempotent

Check the basic, passive security of a URL: HTTPS and whether the http:// address redirects to it, Strict-Transport-Security, Content-Security-Policy (and whether it really limits scripts), clickjacking protection (frame-ancestors or X-Frame-Options), X-Content-Type-Options, Referrer-Policy, cookie flags (Secure, HttpOnly, SameSite), mixed content, forms that post to http://, third-party scripts without integrity hashes, headers that reveal software versions, and security.txt. Nothing is attacked or scanned, so it does not find vulnerabilities in the site’s code. Returns a score and copy-ready headers. Use it for questions like "is my site secure", "which security headers am I missing" or "check my CSP".

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": {
      "url": "<url>"
    },
    "name": "check_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL or bare domain to check, for example "example.com/pricing". Private and local addresses are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, and the description adds substantive context beyond them: the check is passive, it will not find code vulnerabilities, and it returns a score plus copy-ready headers. Missing are failure modes, rate limits, or handling of non-HTML/unreachable responses.

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 purpose, then a long but load-bearing enumeration that defines checking scope, closing with return values and example questions. The middle list is dense enough that a bulleted form would scan faster, but no sentence is filler.

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 no output schema, the description correctly supplies the return shape ("a score and copy-ready headers"), the execution model (passive, non-attacking), and the input domain restriction. An agent has everything needed to select and invoke it correctly.

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?

Single required parameter with 100% schema description coverage, so the schema already carries the semantics including the private/local address refusal. The description adds no parameter detail, which is acceptable at this coverage level.

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 ("Check the basic, passive security of a URL") and then enumerates the exact checks performed, which makes its scope distinguishable from generic siblings like check_url or check_performance without opening any schema.

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?

Names concrete user questions it answers ("is my site secure", "which security headers am I missing", "check my CSP") and excludes a whole class of usage with "Nothing is attacked or scanned." It does not name a sibling alternative for active vulnerability scanning, so it stops short of a 5.

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