Skip to main content
Glama

The MCP Census

Audit an MCP client config

census_audit_config

Audit a whole MCP client config in one call (.mcp.json, claude_desktop_config.json, .cursor/mcp.json, .vscode/mcp.json, Codex config.toml text). Resolves every entry without guessing (url → remote_url, npx → npm package, uvx → PyPI package) and returns one PASS / REVIEW / BLOCK / UNKNOWN verdict per entry under a built-in policy, plus CENSUS-AUDIT/1 text, valid_until_epoch and exit_code (1 on any BLOCK). UNKNOWN is never upgraded to PASS. Cost 1 credit per config per UTC day; keyless callers get one config of ≤25 entries per IP per day. Not a malware scan; PASS is not a sandbox. Strip env/headers before sending.

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": "census_audit_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesThe config document: an object with mcpServers | servers | mcp_servers, a list under entries[], or raw text (JSON or Codex config.toml)
formatNo
strictNoexit_code 2 when any entry is REVIEW or UNKNOWN
policy_idNobuiltin:baseline
previous_tools_digestsNoalias → tools_digest from your last audit; sets tools_drift per entry

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations: it discloses the verdict taxonomy (PASS/REVIEW/BLOCK/UNKNOWN), that UNKNOWN is never upgraded to PASS, the CENSUS-AUDIT/1 text plus valid_until_epoch and exit_code (1 on any BLOCK), credit cost, rate limits, and the security caveat. None of this is derivable from readOnlyHint/destructiveHint/openWorldHint.

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-loads the verb, resource, and supported formats, then stacks the return shape, cost, and caveats. It is a dense paragraph rather than a list, so the cost and safety caveats can be skimmed past, but essentially every sentence carries non-redundant information.

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?

With no output schema, the description does the work of describing return values (per-entry verdict, CENSUS-AUDIT/1 text, valid_until_epoch, exit_code) and adds cost/rate-limit context, so an agent can call it correctly. The residual gap is policy selection semantics for the three enum values.

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?

At 60% schema coverage the description adds real meaning for `config` (accepted shapes, resolution of url/npx/uvx entries, the env/headers stripping advice) and indirectly for `previous_tools_digests`. But `policy_id` is only alluded to as 'a built-in policy' with no explanation of what builtin:baseline vs first-party vs strict actually enforce, and `format` is never tied to the json/toml enum.

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 concrete verb-plus-resource ('Audit a whole MCP client config in one call') and enumerates the exact file formats accepted (.mcp.json, claude_desktop_config.json, .cursor/mcp.json, .vscode/mcp.json, Codex config.toml). The phrase 'whole config in one call' implicitly separates it from the single-entry lookup siblings, so an agent can pick it without opening a schema.

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?

Gives clear conditions and exclusions ('Not a malware scan; PASS is not a sandbox'), a prerequisite ('Strip env/headers before sending'), and hard limits (1 credit per config per UTC day; keyless callers limited to one config of ≤25 entries per IP per day). It never names a concrete alternative sibling tool for single-server checks, which is the one routing gap.

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