Skip to main content
Glama

security_vault_policy_check

Read-only

HashiCorp Vault Policy Audit — Offline audit of a HashiCorp Vault ACL policy (HCL or JSON): policy= (required). Flags root wildcards, sudo, dangerous sys/ paths (raw, seal, rekey, generate-root), writable sys/policy, sys/auth, sys/mounts and sys/audit, token minting, auth role and identity writes, PKI root signing, transit key export, mount-wide wildcards, deprecated policy= shorthand and duplicate paths. Returns each path's capabilities, findings with fixes, score, grade and PASS/REVIEW/FAIL. Price: $0.005 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_vault_policy_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYese.g. path "secret/*" { capabilities = ["read","update"] } path "sys/policy/*" { capabilities = ["update"] }

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly and non-destructive, and the description adds real context beyond them: the audit is offline, it names the specific findings it emits with remediation fixes, states the score/grade/PASS-REVIEW-FAIL outcome model, and discloses the x402 payment cost ($0.005 USDC on Base). That pricing and offline-execution detail is behavior an agent would otherwise not know. It stops short of describing output format or any limits.

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 and scope before the long list of detected issues, and every clause is substantive. The detection list is dense and comma-chained, which costs a little readability, but nothing is padding.

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?

There is no output schema, so the description must carry the return-value burden — and it does, naming per-path capabilities, findings with fixes, score, grade, and verdict. Combined with the cost disclosure and the single fully-documented parameter, an agent has what it needs to call this correctly; only the exact result structure remains implicit.

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% and the schema's own example already shows the expected HCL shape, so the description's "policy= (required)" and "(HCL or JSON)" add only the format note. That is a genuine but small increment over the schema; 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?

Opens with a specific verb+resource: "Offline audit of a HashiCorp Vault ACL policy (HCL or JSON)". That is clearly distinct from the neighboring password_policy_check, iam_policy, and gcp_iam_check siblings, and the enumerated check categories (root wildcards, sudo, sys/ paths, PKI) confirm exactly what the audit covers.

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?

The description makes the use case inferable — feed it a Vault ACL policy document — and marks the sole parameter as required. However, it never states when to reach for this versus security_iam_policy or security_gcp_iam_check, nor any preconditions or limits on policy size/format beyond "HCL or JSON".

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