GovTribe Documentation MCP tool
Search and retrieve GovTribe documentation articles and article segments using query, article selectors, and token-budgeted content retrieval.
- MCP tool name:
Documentation - Returns: Documentation MCP response
- Annotations: Read only, not destructive, idempotent, closed world
- Surfaces: GovTribe MCP, GovTribe Compact MCP server
Examples
Use Documentation when prompt guidance is not enough and the agent needs GovTribe documentation context. Start with a search query to discover article names, article URLs, collections, and part_id values, then retrieve exact content with one of those selectors.
Filter by collection
collections is an optional array enum in the MCP schema. Use it to limit search or retrieval to one or more documentation collections:
| Collection | Use when the agent needs |
|---|---|
data-model | Data types, attributes, identifiers, and record-relationship guidance. |
govtribe-for-agents | MCP tools, tool responses, agent guides, and GovTribe for Agents behavior. |
govtribe-user-guide | User-facing GovTribe product workflows, account guidance, and CSV export column references. |
Search without collections when the agent is unsure which documentation area applies. The response includes available_collections so agents can discover the current collection values before narrowing a follow-up call.
Which docs explain saved searches?
Set include_content to false when the agent only needs to discover matching articles and retrievable segments.
{
"tool": "Documentation",
"arguments": {
"query": "saved search",
"limit": 8,
"include_content": false
}
}Which GovTribe for Agents docs explain search mode behavior?
Use collections to narrow discovery when the agent already knows the documentation area. Collection values come from the top-level GovTribe Docs sections returned by prior searches or by the response available_collections object.
{
"tool": "Documentation",
"arguments": {
"query": "keyword semantic search mode",
"collections": [
"govtribe-for-agents"
],
"limit": 5,
"include_content": true,
"max_tokens": 2500
}
}Retrieve an article by name after search
Use article_names after a search result returns the article name. The selector is free-form and normalized, so agents do not need a full article enum.
{
"tool": "Documentation",
"arguments": {
"article_names": [
"Saved searches"
],
"max_tokens": 3000
}
}Retrieve one returned segment
Use part_ids when a prior result already points to the exact section the agent needs. Increase max_tokens or call additional returned part_id values when the response is truncated.
{
"tool": "Documentation",
"arguments": {
"part_ids": [
"govtribe-user-guide/capture/saved-searches::row-actions-07"
],
"max_tokens": 1200
}
}Retrieve by article URL
Use article_urls when the agent has a GovTribe Docs URL from search results, a user message, or another documentation response.
{
"tool": "Documentation",
"arguments": {
"article_urls": [
"/docs/govtribe-user-guide/capture/saved-searches"
],
"max_tokens": 5000
}
}Related articles
- Documentation MCP response: Review the response shape returned by this tool.
- GovTribe for Agents: Use GovTribe for Agents as the starting point for MCP tools, MCP tool responses, and guides.
- MCP servers: Review where this MCP tool can be used.
Delete task
Deletes a task.
Invoke Search Tool
Describe or call a typed GovTribe search tool through a compact search wrapper. Call the Documentation MCP tool first for search query and search_mode guidance, then use mode=describe to retrieve the selected tool schema and documentation before mode=call. Search_GovTribe and Search_Vector_Store stay top-level; use this tool only for represented typed Search_* tools.