Skip to main content
Glama

The MCP Census

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.

Input Schema

TableJSON 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?

The description discloses several behavioral traits beyond annotations: it is not a malware scan, PASS is not a sandbox, UNKNOWN is never upgraded to PASS, it costs credits, and keyless callers have rate limits. It also advises stripping env/headers before sending, which is critical for safe invocation. Annotations are minimal (readOnlyHint false, etc.), so the description carries the full transparency burden and does so thoroughly.

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?

The description is a single dense paragraph that front-loads the purpose and packs in essential details (verdicts, exit codes, costs, security). Every sentence adds value, though it is longer than average; it remains efficient given the tool's complexity.

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 complex tool with 5 parameters and no output schema, the description covers the core return format (verdicts, CENSUS-AUDIT/1 text, valid_until_epoch, exit_code) and includes security and cost constraints. It omits details on policy_id and format parameters, but the schema covers some and the description provides enough for a competent agent to call it correctly.

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 60%, with descriptions for config, strict, and previous_tools_digests. The description adds context about config formats (object/string/array, Codex config.toml) and the overall audit behavior, but it does not explain format or policy_id, which lack schema descriptions. It partially compensates but leaves gaps.

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?

The description clearly states a specific action: auditing a whole MCP client config, listing the exact config file types and describing the resolution and verdict behavior. It distinguishes itself from siblings like census_lookup by emphasizing whole-config auditing, so an agent can tell it apart without ambiguity.

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?

It provides strong context on when to use it (whole-config audit, resolving entries) and implicitly contrasts with per-entry tools, but it does not explicitly name an alternative or state when not to use it. The cost and rate-limit details further clarify appropriate usage.

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