Rules catalog
153 checks. Each finding in a report links here by its id.
- blockercount.zero
Server exposes at least one tool
tools/list returned nothing. Register at least one tool and declare the `tools` capability; check that auth is not hiding the list.
- blockerdesc.missing
Every tool has a description
Write a one to three sentence description for each tool: what it does, when to call it, and its limits. Both directories reject tools without one (ChatGPT 6.1, Claude 2.A).
- blockererrors.secrets-in-output
Tool output contains no secrets
Strip keys, tokens and connection strings from results and error text. Never echo upstream error bodies or DSNs. OpenAI: keep secrets, access tokens and unnecessary personal data out of results.
- blockernaming.duplicate
Tool names are unique
Give every tool a distinct name. Duplicate names make clients drop or overwrite tools.
- blockerschema.missing
Every tool has an object inputSchema
Every tool needs `inputSchema` with `type: "object"`. For no parameters use `{ "type": "object", "additionalProperties": false }`.
- majorannotations.contradictory
Hints do not contradict each other
A tool cannot be both `readOnlyHint: true` and `destructiveHint: true`. Pick the one that matches behaviour.
- majorauth.credential-in-url
No API key or token in the URL
Accept credentials in an `Authorization` or `x-api-key` header, or use OAuth, not `?key=`. URLs end up in logs, proxies and history, and the MCP authorization spec prohibits tokens in the query string. Keep a query-key fallback only for legacy clients and do not publish it in listings.
- majorauth.discovery-urls-unsafe
Discovery URLs are HTTPS and publicly routable
Serve the resource metadata, authorization servers and every endpoint in their metadata over HTTPS on public hostnames. MCP security best practices tell clients to reject http:// and private, loopback and link-local targets (SSRF), so such servers fail to connect or get blocked.
- majorauth.issuer-mismatch
Authorization server issuer matches the protected resource metadata
Make `issuer` in authorization server metadata exactly equal the entry in `authorization_servers` (same scheme, host, path, trailing slash). RFC 8414 requires it and ChatGPT compares the strings without normalization.
- majorauth.write-tools-unauthenticated
Write tools are not open without authentication
Require OAuth for tools that create, update or delete. The spec says servers MUST implement access controls; both directories accept no-auth only for public read-only data.
- majorerrors.expectation-unmet
Fixture results contain the expected facts
The tool answered but the result lacked the strings the owner expects. Check data freshness, filters and defaults.
- majorerrors.unhelpful-message
Error messages are specific and actionable
Return `isError: true` with text that says what was wrong and how to fix it ("Unknown team 'XYZ'. Use list_teams for valid codes."). Generic errors like "Internal Server Error" fail Claude review (5.A) and models cannot self-correct from them.
- majorlatency.handshake
initialize completes quickly
An initialize timeout is the most common connection failure. Remove cold starts (keep one instance warm), skip database work in initialize and keep any WAF from holding the response.
- majornaming.charset
Tool names use only A-Z a-z 0-9 _ - .
Rename the tool to letters, digits, underscore, hyphen or dot only, with no spaces or commas (for example `get_player_stats`).
- majoroutput.schema-not-object
outputSchema has an object root
Keep `outputSchema.type` as "object" and wrap arrays (`{ items: [...] }`). MCP 2026-07-28 allows any JSON Schema and any JSON value as structuredContent, but 2025-11-25 clients require an object root, so a dual-era server should keep object roots.
- majorschema.required-not-in-properties
required lists only declared properties
Every name in `required` must exist in `properties`; otherwise clients cannot build a valid call.
- majorschema.x-mcp-header-invalid
x-mcp-header annotations follow the 2026-07-28 constraints
Each `x-mcp-header` value must be a non-empty HTTP header token, unique case-insensitively within the schema, and sit on a top-level or nested object property of type string, integer or boolean (not number, not inside arrays or anyOf). Streamable HTTP clients drop the whole tool otherwise. Never put passwords, keys or PII in a mirrored header; intermediaries can read it.
- majorserver.name-missing
Server reports a name
Set `serverInfo.name` (and a human-readable `title`) in the initialize result and, for 2026-07-28, in `_meta["io.modelcontextprotocol/serverInfo"]` of the `server/discover` result.
- majorserver.tools-capability
tools capability is declared
Servers that support tools MUST declare `capabilities.tools` (add `listChanged: true` if the list can change).
- minorauth.cimd-preferred
CIMD is offered alongside DCR
Add Client ID Metadata Document support. MCP 2026-07-28 deprecates Dynamic Client Registration in favor of CIMD; Claude registers a new DCR client on every fresh connection, which floods your authorization server under directory traffic; OpenAI prefers CIMD too. Keep DCR for older clients.
- minorauth.scopes-omnibus
Scopes are specific, not wildcard or all-access
Publish narrow scopes (for example `players:read`) in `scopes_supported` and challenge for extra scopes with `WWW-Authenticate: ... scope="..."` when a privileged tool is first used. Clients with no scope in the challenge request everything in `scopes_supported`, so wildcard scopes (`*`, `all`, `full-access`, `admin:*`) hand every token full access (MCP scope minimization).
- minorcount.definition-tokens
Tool definitions are a reasonable size
Shorten descriptions and schemas. Every tool definition is loaded into the model's context on each turn; Claude policy 5.B asks for proportionate token use. Aim for under about 20,000 tokens total; no directory states a limit, but Claude can defer large tool sets only when asked.
- minorcount.too-many
Tool count is manageable (40 or fewer)
Trim or merge tools toward 40 or fewer. Models pick worse as the list grows and Grok Build (formerly Cursor) warns around 40 active tools across all servers (community-documented). Remove tools nobody calls; keep rarely used ones behind separate server URLs.
- minordesc.too-long
Descriptions stay proportionate
Trim descriptions to the essentials (under about 2,000 characters). Move long reference material to docs or server instructions. Claude policy 5.B asks for token use proportionate to the task; no directory states a character limit.
- minorerrors.stack-trace-leak
Errors do not leak stack traces or internals
Log stack traces server-side and return a short message. The spec requires sanitised tool output.
- minorlatency.tools-list
tools/list responds quickly
Build the tool list from static data, not a database. Clients call tools/list on every connect and reconnect.
- minornaming.confusable
No two names differ only by case, separators or plural
Merge or rename near-duplicates such as `get_player` and `getPlayers`. Models pick between them at random and reviewers read them as duplicated functionality.
- minornaming.spec-length
Tool names are 1 to 128 characters (MCP spec)
Keep tool names between 1 and 128 characters. The MCP tools spec (2026-07-28) says names SHOULD be in that range; Claude's own limit is stricter (64).
- minorschema.array-unbounded
Array parameters declare items
Give every array parameter an `items` schema (and ideally `maxItems`).
- minorschema.enum-missing
Closed-set string parameters use enum or list their values
For parameters like `sort`, `format`, `period` or `league`, add `enum: [...]` or list the allowed values in the description. Models guess values otherwise and get validation errors.
- minorschema.limit-unbounded
Page-size parameters have a maximum
Add `maximum` (and `default`) to `limit`-style parameters so one call cannot return a database dump. Claude policy 5.B asks for proportionate token use.
- minorschema.param-undescribed
Optional parameters have descriptions
Describe every parameter, including optional ones, with defaults and allowed values.
- minorserver.protocol-outdated
Server speaks a current protocol version
Upgrade the MCP SDK so the server negotiates 2025-06-18 or later (2025-11-25 and 2026-07-28 are current). Older versions lack structured output and OAuth resource indicators.
- minorserver.version-missing
Server reports a version
Set `serverInfo.version` to a real semver and bump it on each release; monitoring uses it to explain tool changes.
- infoannotations.write-idempotent-unset
Write tools declare idempotentHint
Set `idempotentHint` on write tools so clients know whether a retry repeats the effect. ChatGPT 1.2 asks tools to be safe to retry or say explicitly when they are not.
- infoauth.iss-parameter
RFC 9207 iss response parameter is supported
Set `authorization_response_iss_parameter_supported: true` and return `iss` on every authorization response (success and error), exactly equal to `issuer`. MCP 2026-07-28 says authorization servers SHOULD do this and clients MUST validate a present `iss` (mix-up defence); ChatGPT uses its stable redirect URI only for servers that meet it.
- infonaming.mixed-style
Tool names use one naming style
Pick snake_case (the most common) and use it for every tool. Mixed styles make the list harder for models and people to scan.
- infonaming.verb-first
Tool names start with a verb (verb_noun)
Name tools by action and object: `get_game`, `list_teams`, `search_players`. ChatGPT review asks for human-readable, ideally verb-based names.
- infooutput.no-schema
Structured tools declare an outputSchema
Add `outputSchema` and return `structuredContent` (plus the same JSON as a text block) for tools that return data. OpenAI recommends it and the MCP spec says clients validate against it; Smithery also scores it.
- infoschema.empty-open
No-parameter tools set additionalProperties: false
For tools without parameters use `{ "type": "object", "additionalProperties": false }` (the spec's recommended form).
- infoschema.free-text-unbounded
Free-text parameters have a maxLength
Add `maxLength` (for example 500) to free-text inputs such as `query` or `message`. The spec requires servers to validate inputs; bounded schemas also tell clients the limits.
- infoserver.deprecated-capabilities
Server does not adopt features deprecated in 2026-07-28
Drop the `logging` capability from a 2026-07-28 server: log to your own stack or use OpenTelemetry (MCP SEP-2577). Roots and Sampling are deprecated too; pass paths as tool parameters and call model providers directly.
- infoserver.instructions-missing
Server provides instructions
Add `instructions` to the initialize response: how tools fit together, id formats, common pitfalls. Keep the key points in the first 512 characters.