Skip to main content
Glama

security_password_policy_check

Read-only

Password Policy Compliance Check — Audit a password policy against NIST SP 800-63B-4 (2025) and PCI DSS v4.0.1 section 8.3, offline. policy= takes a JSON object, key=value or key: value lines, Windows net accounts output, login.defs or pwquality.conf / pam_faillock text (min_length, max_length, require_uppercase/digit/symbol, expiry_days, history, lockout_threshold, lockout_minutes, breach_check, rate_limit, hints, security_questions, allow_paste, hash, iterations...). Optional standard=all|nist|pci and mfa=true|false. Returns per-standard verdict (COMPLIANT / GAPS / NON-COMPLIANT), score and grade, findings with control references and fixes, the parsed settings, unrecognized keys and a recommended policy. Flags short minimums, composition rules and forced rotation (NIST), missing breached-password checks, no lockout/rate limit, lockout over 10 attempts or under 30 minutes (PCI), history under 4, hints and security questions, truncation, and weak hashing (plain, reversible, fast SHA/MD5, low PBKDF2 iterations or bcrypt cost). Price: $0.004 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": {
      "policy": "<policy>"
    },
    "name": "security_password_policy_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYesmin_length=8; require_uppercase=true; require_digit=true; require_symbol=true; expiry_days=90; history=5; lockout_threshold=5; lockout_minutes=15; hash=sha256

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, yet the description still adds substantial value: it enumerates the returned artifacts (per-standard verdict, score/grade, findings with control references and fixes, parsed settings, unrecognized keys, recommended policy) and lists the specific failure conditions detected. It also discloses the cost/auth model ($0.004 USDC via x402 on Base), which annotations do not cover. Minor tension: it calls the audit 'offline' while openWorldHint=true, though the x402 payment plausibly explains the open-world flag.

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 purpose, standards, and return shape, and the dense key/format enumeration is functional rather than filler. It is one long run-on paragraph with no structural breaks, which slightly hurts scanability, but little text is truly wasted.

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

Completeness4/5

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

For a one-parameter tool with no output schema, the description thoroughly covers return values, detected violations, and pricing, so an agent needs nothing else to invoke it correctly. The phantom standard/mfa parameters are the only notable completeness defect.

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

Parameters2/5

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

Schema coverage for the single 'policy' parameter is 100% and the description usefully enumerates accepted formats and setting keys, which is real added meaning. But it advertises 'Optional standard=all|nist|pci and mfa=true|false' as parameters that do not exist in the input schema, which can mislead an agent into passing unsupported arguments and failing validation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Audit a password policy against NIST SP 800-63B-4 (2025) and PCI DSS v4.0.1 section 8.3' — so the agent knows exactly what is being evaluated and against which standards. It does not name any sibling (e.g., security_password_strength or security_pwned_password) to disambiguate single-password checks from policy audits, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is implied through the accepted input formats (JSON, key=value, net accounts, login.defs, pwquality.conf, pam_faillock) and the key list, which tells an agent what kind of content to supply. However, there is no explicit when-to-use / when-not-to-use guidance and no routing to the sibling password tools, leaving the agent to infer boundaries.

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