Skip to main content
Glama

security_wp_config_check

Read-only

WordPress wp-config.php Audit — Offline security review of a WordPress wp-config.php: config= (required; secret values are never echoed). Checks placeholder, missing or short auth keys and salts, root DB user, empty or weak DB password, WP_DEBUG with on-screen errors, public debug.log, WP_ALLOW_REPAIR, unfiltered uploads, file editor enabled, FORCE_SSL_ADMIN, http:// site URLs, disabled auto-updates, SAVEQUERIES, default wp_ table prefix and wide cookie domain. Ignores commented-out defines. Returns findings with fixes, score, grade and PASS/REVIEW/FAIL. 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": {
      "config": "<config>"
    },
    "name": "security_wp_config_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYese.g. define('DB_USER','root'); define('DB_PASSWORD','pass123'); define('AUTH_KEY','put your unique phrase here'); define('WP_DEBUG', true);

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only establish that this is a safe read of an open-ended context; the description goes well beyond by disclosing the privacy guarantee ('secret values are never echoed'), the commented-out-define handling, the exact return contract (findings with fixes, score, grade, PASS/REVIEW/FAIL), and the $0.004 USDC x402 cost. The cost disclosure is especially valuable for a paid tool and is not derivable from any structured field.

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 the required parameter, then the long check list, then output format and price. The enumeration is dense but each item is a distinct detectable condition, so it earns its place; a bulleted or grouped structure would improve scanability at the same length.

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, and the description compensates by naming the return contract (findings with fixes, score, grade, verdict). Pricing and input shape are also covered; only the PASS/REVIEW/FAIL thresholds and any size limits on the config string are left unstated.

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?

With a single parameter at 100% schema coverage, the schema already carries the format via its example. The description only adds that the parameter is required and that submitted secrets are not echoed back, which is marginally more than the schema provides — baseline 3 for high coverage.

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 precise verb and resource ('Offline security review of a WordPress wp-config.php') and then enumerates the exact misconfigurations it detects. The resource is unambiguous against the sibling set (apache, nginx, docker, k8s checks), so an agent can route to it without opening the schema.

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 word 'offline' plus 'config= (required)' implies you supply the file contents rather than a host, which is useful usage context. However, there is no explicit when-to-use/when-not framing or any pointer to complementary siblings (e.g. a live-site checker), so the agent must infer applicability from the resource name alone.

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