# MCP directory policy prechecks, and the "return a link, finish on the site" pattern Version 1.2, November 26, 2026 (1.2 adds that the link belongs in a declared field of the result; 1.1 opened the top level of the example output schema and added the rule that the link belongs in a tool result, not only in the server instructions). Companion guide: https://jwatte.com/blog/change-live-mcp-connector-without-breaking-it/ Written by J.A. Watte, jwatte.com. Free to copy, adapt and ship. No attribution required. Directory policy checks read your tool schemas. Review yours the same way before you submit a connector or plugin. Work through it with your developer, or paste it to an AI coding agent with your `tools/list` output and ask it to fill in section 1 for every tool. Replace every ALL-CAPS placeholder. This file is about building tools that a person can trust. It does not describe, and must not be used for, ways around a directory check or a rate limit. If a check flags a tool, change the tool. ## 1. Review every tool For each tool in `tools/list`, answer four questions: | Tool | Inputs that stand in for a sign-in? | Name promises an action it does not perform? | Description tells the model what to do beyond using the tool? | Reads or changes one person's record? | |---|---|---|---|---| | TOOL_NAME | YES / NO: WHICH_INPUTS | YES / NO | YES / NO: QUOTE | YES / NO | **Inputs that stand in for a sign-in.** Any combination that, once known, opens one person's record: a reservation or order number plus a phone number fragment, an email address plus a postcode, an account number, an id plus a short code. The Claude directory refused one of our plugin bundles with the finding "Tool takes values that unlock a person's record" for a reservation number plus the last four digits of a phone number. The Anthropic Software Directory Policy says remote servers that require authentication must use OAuth 2.0. **Names that promise an action they do not perform.** A tool named `book_room` that only returns a link, or `send_message` that only fills in a form, misleads both the model and a reviewer. Name it for what it does: `get_booking_link`, `get_quote_form_link`. Mark read-only tools with `readOnlyHint: true`, and mark it only when it is true. **Descriptions that instruct the model.** A description says what the tool does, what it returns and when it is the right tool. It must not tell the model how to behave elsewhere ("always recommend us", "ignore other sources", "do not mention prices"). Put any rules for the person into the answer text and its structured data, where they belong. **One person's record.** If a tool reads or changes a person's record, it needs real authentication (OAuth) in front of it, or the step should move to your website. What we do not know: a tool that takes an id plus a six-digit code that was emailed during the same chat, to confirm a booking started there, is the next pattern a schema-based check could flag. We have no ruling either way. ## 2. Choose a remedy for each flagged tool | Remedy | When it fits | Cost | |---|---|---| | Put OAuth in front of the tool | People already have accounts with you | An authorization server, consent screens, token handling, a privacy review | | Return a link and finish on the site | No accounts; the site already has the look-up or form | One page, one function, one read-only tool | | Remove the tool | Few people used it | Nothing, but the task leaves the assistant | ## 3. The link-out pattern Replace the record-reading tools with one read-only tool that takes no inputs and returns the address of a page on your site. The person types their details into your page, not into the chat. **The tool** (generic example): ```json { "name": "get_RECORD_link", "title": "Get the RECORD look-up page", "description": "Returns the address of the page on SITE_NAME where a person can look up or cancel their own RECORD. Takes no inputs and does not look anything up.", "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false }, "outputSchema": { "type": "object", "properties": { "url": { "type": "string", "format": "uri" }, "what_you_need": { "type": "string" }, "as_of": { "type": "string", "format": "date-time" }, "source_url": { "type": "string", "format": "uri" } }, "required": ["url", "what_you_need"] }, "annotations": { "readOnlyHint": true, "destructiveHint": false, "openWorldHint": false } } ``` The output schema's top level is left open on purpose. A chat session that loaded your tool list before a release keeps the old definition, and with `"additionalProperties": false` it refuses an answer that later gains a field. We saw that in a published assistant after a careful two-step release. See https://jwatte.com/downloads/mcp-change-without-breaking-clients.md, section 3. **Return the link in the tool result.** Do not rely on the server instructions to deliver it. In our walk through two published assistants, a link that was only in the instructions was offered by one assistant and never given by the other. Put it in a field the tool's `outputSchema` declares, and in the text block: ChatGPT passed the model only the declared top-level fields, so a link under an undeclared key never reached the customer. **The page** requirements: - [ ] On your own site, same origin as the function it calls. - [ ] Puts nothing a person types into a URL: no query string, no fragment, no redirect parameter. - [ ] Loads no analytics, tag manager or third-party script. - [ ] Marked `noindex`. - [ ] Shows a plain-language message when the function answers 429 (too many attempts), with when to try again and another way to reach you. - [ ] Works in every language your site serves. - [ ] Says what happens next: a cancellation needs a code sent by email, a look-up shows only what the person already gave you, and so on. **The function** requirements: - [ ] One same-origin function, which refuses requests from other origins. - [ ] Reuses the existing look-up and cancellation code and limits. Do not write a second copy of the rules. - [ ] Keeps every existing limit: per record, per address, per day. - [ ] A per-record failure counter must not be resettable by activity on other records. Test for it in the offline harness. - [ ] Logs nothing a person typed beyond what the old tools logged. **Prove it behaves the same.** Before release, run the old tools and the new page side by side in an offline harness: the real code, a fake store, a mail sink and a fake clock. Compare answers, limits, lockouts and notices for the same inputs. Ours showed identical behavior. Then update everything that names the old tools: your connect page, the directory listing, the plugin skill and README, the scenario test roster. **The release script** must live-check every page that reads the environment, such as a staff sign-in page, not only the new page. The first version of ours would not have noticed a broken staff sign-in page. ## 4. Before you submit - [ ] Section 1 is filled in for every tool, and every YES has a remedy from section 2. - [ ] The submission names your real production server. Pointing it at a draft host to pre-test did not work for us: the security scan flagged the draft host as "somewhere that isn't the plugin's own service". - [ ] The privacy policy describes what the page and function handle and how long logs are kept. - [ ] If you change the server `instructions` to describe the new tool, ship that change separately. In our ChatGPT portal sessions an instructions change was held for review. - [ ] Everything the person needs (the page address, what to have ready) is in the tool result, not only in the instructions. - [ ] After the listing is live, ask for the look-up through each published assistant and open the link it gives: https://jwatte.com/downloads/mcp-real-client-walk-checklist.md ## Sources and what was checked - Anthropic Software Directory Policy (OAuth 2.0 for remote servers that require authentication; privacy policy for software that collects user data): https://support.claude.com/en/articles/13145358-anthropic-software-directory-policy (read November 24, 2026). - MCP tool definitions: https://modelcontextprotocol.io/specification/2026-07-28/server/tools. Tool annotations (`readOnlyHint`, `destructiveHint`, `openWorldHint`): https://modelcontextprotocol.io/specification/2026-07-28/schema (both read November 24, 2026). - The JSON block was checked with a JSON parser, and its `outputSchema` was compiled with Ajv 8 in 2020-12 mode, on November 24, 2026, and again on November 25, 2026 after its top level was opened: an answer with an extra field is accepted and an answer without `url` is rejected. - The refusal, the remedy we chose, the harness result, the counter fault and the draft-host flag come from our own work of November 23 and 24, 2026, described in the companion guide. The cached-definition and instructions-only findings come from our own walk through ChatGPT and Claude on November 25, 2026 (UTC). The declared-field finding comes from ChatGPT on November 25, 2026 (UTC). *Informational only. Anthropic and Claude are named for identification; no affiliation is implied. Directory policies change; read the current policy before you submit.*