Skip to content

Document MCP tool modes and on-demand tool discovery - #798

Merged
bryantgillespie merged 3 commits into
mainfrom
bry/tool-registry-docs
Aug 19, 2026
Merged

Document MCP tool modes and on-demand tool discovery#798
bryantgillespie merged 3 commits into
mainfrom
bry/tool-registry-docs

Conversation

@bryantgillespie

Copy link
Copy Markdown
Member

Documents the search-first tool registry from directus/directus#27797.

  • MCP: new Choose a Tool Mode section covering default vs tool_mode=registry (search, execute, schema), when to use each, and the approval trade-offs
  • Assistant: updated default system prompt, on-demand tool discovery, and revised disabled-tool/cost guidance
  • Troubleshooting and security notes for registry mode

@bryantgillespie
bryantgillespie requested a review from a team as a code owner August 6, 2026 22:24
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 19, 2026 6:55pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Directus docs to explain the new MCP “tool registry” approach (default vs tool_mode=registry) and aligns AI Assistant guidance with on-demand tool discovery, including troubleshooting and security implications of registry mode.

Changes:

  • Documented MCP tool modes (default vs registry), including the search → tool-details → execute flow and trade-offs.
  • Added troubleshooting and security guidance specific to registry mode (notably around approvals for execute).
  • Refined AI Assistant tips/tools/setup language around on-demand tool discovery and disabling tools for capability-limiting (not cost).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
content/guides/12.ai/2.mcp/1.installation.md Adds “Choose a Tool Mode” section and registry-mode guidance; also updates examples/settings tables.
content/guides/12.ai/2.mcp/3.tools.md Introduces “Tool Modes” section describing default vs registry behavior and trade-offs.
content/guides/12.ai/2.mcp/5.troubleshooting.md Adds a troubleshooting entry explaining why only three tools appear in registry mode.
content/guides/12.ai/2.mcp/7.security.md Adds a registry-mode-specific warning about auto-approving execute.
content/guides/12.ai/1.assistant/1.setup.md Updates the default system prompt template and cost guidance bullets.
content/guides/12.ai/1.assistant/3.tools.md Clarifies on-demand tool discovery and reframes disabling tools as a capability restriction.
content/guides/12.ai/1.assistant/4.tips.md Refines best practices and revises cost/tool-disable guidance to match on-demand loading.
Suppressed comments (1)

content/guides/12.ai/2.mcp/1.installation.md:382

  • The chat example block is malformed (## :::chat heading + missing opening --- frontmatter delimiter). Other pages use the :::chat component with --- delimiters; as-is this will likely render as plain text instead of a chat component.
## :::chat

chatId: "verify-connection"
messages:


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread content/guides/12.ai/2.mcp/1.installation.md Outdated
Comment thread content/guides/12.ai/1.assistant/1.setup.md

@JamesW1 JamesW1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if fix the formatting issue mentioned in comments

Comment thread content/guides/12.ai/2.mcp/1.installation.md Outdated
Comment thread content/guides/12.ai/2.mcp/1.installation.md Outdated
@bryantgillespie
bryantgillespie merged commit 43e65e4 into main Aug 19, 2026
6 checks passed
@bryantgillespie
bryantgillespie deleted the bry/tool-registry-docs branch August 19, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants