Skip to main content
Glama

mcp_config_audit

Audit MCP client config files to flag unresolved commands, missing paths, plaintext secrets, shell launches, and full-drive access without running configured entries.

Instructions

Audit an MCP client config file: commands that do not resolve, argument paths that do not exist, env values that look like secrets stored as plain text (the key is named, the value is never shown), entries that start through a shell, and arguments that hand a server the whole drive. Nothing named in the config is run.

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": {
      "path": "<path>"
    },
    "name": "mcp_config_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the folder or file to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so on the two points that matter most: "Nothing named in the config is run" establishes it is non-executing, and "the key is named, the value is never shown" pre-announces secret redaction in the output. It does not address behavior on unreadable or malformed files, or whether a folder path is walked recursively, which keeps it from a 5.

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 verb and resource are front-loaded in the opening clause, and the five-item findings list is dense but every item earns its place by naming a distinct check. The closing safety sentence is short and high-value; nothing is redundant.

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 single-parameter, read-only audit with no output schema, the description covers what is inspected and the execution/redaction safety profile. It does not indicate the shape or granularity of the findings returned (severity, counts, per-file grouping), which leaves a modest gap an agent would want when planning follow-up.

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 there is a single required parameter, so the baseline is 3. The description adds no argument-level detail and in fact narrows the mental model to "config file" while the schema permits "folder or file" — a small tension the description could have resolved by mentioning directory traversal.

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 an MCP client config file") and then enumerates the exact classes of findings: unresolved commands, non-existent argument paths, plaintext secrets, shell-launched entries, and over-broad drive arguments. That enumeration distinguishes it clearly from siblings like package_audit or secret_scan, which cover adjacent but different surfaces.

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 list makes the intended use case obvious and implicitly excludes non-MCP-config auditing, so an agent can tell when this tool applies. It stops short of explicitly naming an alternative or a when-not-to-use condition, which is the only reason it is not a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.