Skip to main content
Glama

security_cookie_check

Read-only

Cookie Security Audit — Audit the cookies a website sets. Fetches the URL (following up to 5 redirects) and parses every Set-Cookie header: Secure, HttpOnly, SameSite, Domain scope, __Host-/__Secure- prefix rules, lifetime (400-day browser cap), size, and category (session/auth, analytics, marketing, bot-management). Returns per-cookie findings with severity, a 0-100 score, A-F grade and OK/REVIEW/FIX verdict. Cookie values are never returned. Param: url. Price: $0.003 USDC (Base, via x402).

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": "security_cookie_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag read-only, open-world, non-destructive, but the description adds material behavior: redirect-following depth (up to 5), the 400-day browser cap applied to lifetime checks, the exact verdict taxonomy (OK/REVIEW/FIX), and an explicit privacy guarantee that cookie values are never returned. It also discloses a per-call cost of $0.003 USDC via x402, which the agent needs to know 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 action, then the mechanism, then the output, then cost — a sound order with no filler sentences. Slightly dense list-of-checks wording and the redundant 'Cookie Security Audit — Audit the cookies' opener cost it a point.

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 steps in to describe the return payload precisely (per-cookie findings, severity, 0-100 score, A-F grade, verdict), plus cost and redirect behavior. For a one-parameter read-only tool, nothing an agent needs to call it 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?

Schema coverage is 100% for the single `url` parameter and the schema itself supplies a format example, so the description adds nothing beyond repeating 'Param: url'. Baseline 3 applies; no extra syntax or constraint guidance is offered.

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 — 'Audit the cookies a website sets' — then details the mechanism (fetch URL, follow up to 5 redirects, parse every Set-Cookie header). The enumerated checks (Secure, HttpOnly, SameSite, prefix rules, lifetime, size, category) make it unmistakably distinct from sibling tools like security_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?

The scope 'cookies a website sets' clearly delimits when this tool applies versus broader header/URL checks, and the described return shape tells the agent what question it answers. However, it names no alternative or exclusion (e.g., use security_headers for non-cookie headers), leaving routing to inference.

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