Skip to main content
Glama

IA-QA — 130+ QA & Dev Tools for AI Agents

cookie_security_audit

Read-only

Audit the security attributes of cookies set by any URL. Fetches the URL and inspects all Set-Cookie headers for: HttpOnly, Secure, SameSite, Domain scope, Path scope, Max-Age/Expires, __Host-/__Secure- prefixes. Flags insecure patterns: missing HttpOnly on session cookies, missing Secure flag, SameSite=None without Secure, overly broad Domain, and excessive TTL. Returns per-cookie grades and an overall security score (0–100) — the score is the WEAKEST cookie, not the average, so one leaking session cookie cannot be averaged into a green result (average_score is reported separately).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull URL to audit (e.g. https://example.com/login)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameNo
pathNo
scoreNo
domainNo
issuesNo
secureNo
cookiesNo
max_ageNo
messageNo
httpOnlyNo
sameSiteNo
host_prefixNo
cookies_foundNo
secure_prefixNo

TDQS

A4.3/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond annotations: it fetches the URL, inspects Set-Cookie headers, and flags specific insecure patterns. It also reveals the scoring model (weakest cookie, not average) and that average_score is separate. This adds value beyond the readOnlyHint and destructiveHint annotations, though it does not discuss potential side effects like redirects or network latency.

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?

The description is a compact, information-dense paragraph with a clear front-loaded purpose. It lists checked attributes and flag conditions without fluff, and every sentence adds value. The scoring explanation is valuable and not redundant.

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?

Despite having an output schema, the description explains the return values (per-cookie grades, overall score, average_score) and the scoring semantics. It covers the tool's behavior sufficiently for an agent to select and invoke it correctly, including edge cases like SameSite=None without Secure. No significant gaps remain.

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?

The schema already provides 100% coverage for the single 'url' parameter with a clear description and example. The tool description adds 'any URL' and clarifies what the URL is used for, but this is marginal. Given the high schema coverage, a baseline of 3 is appropriate.

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?

The description begins with a specific verb+resource: 'Audit the security attributes of cookies set by any URL.' It clearly distinguishes from siblings like security_headers_check and web_security_audit by focusing exclusively on cookie attributes and set-cookie behavior. The list of inspected attributes and flagged patterns further specifies the tool's exact scope.

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 provides clear context for when to use the tool: it audits cookies from any URL and lists specific security checks. However, it does not explicitly name alternatives or state when not to use this tool, even though siblings like security_headers_check and web_security_audit overlap somewhat. The context is clear but exclusions are absent.

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.

TDQS

A3.6/5.0
Disambiguation2/5

Multiple tools overlap significantly: compare_models/llm_fit_finder/model_info/list_llm_models all compare models; similarity_score/embedding_similarity/run_semantic_tests all measure text similarity; detect_secrets/secret_scan/analyze_diff_bugs/pr_gatekeeper all scan for secrets. Descriptions attempt to differentiate, but the boundaries between many tools are unclear, making selection error-prone.

Naming Consistency4/5

The vast majority of tools follow a snake_case verb_noun pattern (validate_email, generate_uuid, parse_csv), making the set mostly predictable. A few notable deviations exist (pr_gatekeeper, llm_fit_finder, cot_analyzer, jira_to_test_suite, needle_haystack_generate) but they are the exception rather than the rule.

Tool Count1/5

With 149 tools, this set is far beyond the 50+ threshold for an extreme mismatch. Even as a general-purpose QA & Dev toolkit, the sheer number overwhelms and exceeds any reasonable scope, making discovery and selection impractical.

Completeness4/5

The toolkit covers an impressively broad range: text processing, LLM evaluation, security auditing, web checks, MCP validation, Jira/Confluence integration, and more. Minor gaps exist, such as missing delete/update for webhooks and Confluence pages, and no create/update for Jira issues, but these are workable around.

Resources