Choose where readers can find a page and which tier can read it.
Keep a folder off the website
Add navigation: mcp to pages you want agents to read but your website not to
show. Add tier to decide who can read them. Callers whose tier includes a page
then find and read it with the default tools, list_pages, search_docs and
read_page. You don't need glue.json for that. A page with
published: false is never returned. See the
frontmatter reference.
navigation and tier are separate settings:
| Setting | What it does | What it does not do |
|---|---|---|
navigation: listed | The default. Shows the page in navigation, folder cards, site search, list_pages and search_docs. | It does not restrict who can read the page. |
navigation: hidden | Removes the page from navigation, folder cards, site search, list_pages and search_docs. read_page and a content tool over its folder still return it over MCP. | It does not restrict who can read the page. Anyone who may read it can still open it at its direct address. |
navigation: mcp | Takes the page off the website for everyone outside your project team: no navigation, search, sitemap, direct address or raw Markdown. list_pages, search_docs, read_page and content tools return it. | It does not restrict who can read the page over MCP. The hosted agent does not use it in website chat, ask_agent or its content tool lookups. |
tier | Limits reading to customers whose access includes that tier, on the site and over MCP. | It does not hide the page from navigation. |
Use navigation: mcp and tier together for a private folder. read_page
returns no installUrl for an MCP-only page, because the website does not serve
it. Pages outside a skills/<name>/ folder are not copied to a customer's
machine by an install. A page inside skills/<name>/ still ships with that
skill, whatever its navigation.
Example: a private playbook folder
Put each playbook in playbooks/ with frontmatter like this:
---
title: Refund a damaged order
published: true
navigation: mcp
tier: paid
topic: returns
---
Publish a release. The playbooks do not appear on your website, but a
customer's agent with the paid tier can find them:
Find the pages
It calls search_docs with query set to damaged, or list_pages to list
the pages it may read.
Collect the page addresses
It collects the slug from each result. That is the page's address.
Read the pages
It calls read_page with those addresses as pages and reads them in one
call.
A caller without the paid tier does not see these pages. list_pages and
search_docs leave them out. If the caller asks read_page for one of their
addresses, the page is reported as unavailable. If the whole channel requires a
tier the caller does not have, the channel refuses the call and names the tier
it needs.
When to add a content tool as well
The default tools cover the whole project. search_docs returns at most 50
matches, and none of them filters on your frontmatter. Add a content tool when
callers need a named lookup over one folder, for example to filter playbooks by
topic or to page through a large folder. Declare it in root glue.json:
{
"schemaVersion": 1,
"mcp": {
"tools": [
{
"name": "find_playbooks",
"description": "Find support playbooks by topic or text.",
"folder": "playbooks",
"filters": ["topic"],
"search": true
}
]
}
}
An agent can then call find_playbooks with topic set to returns and
query set to damaged, and pass the results to read_page. The tool returns
MCP-only and hidden pages in its folder to callers whose tier includes them. A
caller without the tier gets none of them: a query never matches them and
total does not count them.
A content tool is also how agents find navigation: hidden pages, which the
default tools leave out of list_pages and search_docs.