---
title: "MCP Tools for Documentation: Document Profiles, Composition, and Recommendations"
description: "Every Nodinite MCP Endpoint tool in the Documentation group: build profile-based Articles from Document Profiles, gather the facts to document a Resource or C4 node, check Documentation Health, and get Snippet and Template recommendations."
---

# <i class="fal fa-file-lines" aria-hidden="true"></i> MCP Tools for Documentation

The Documentation group of the [MCP Endpoint][] helps an AI assistant write documentation the way your team has agreed to write it. It reads the [Document Profiles][] that define an [Article][Articles]'s sections, collects everything known about a [Resource][Resources] or a C4 node, recommends the [Snippets][] and [Templates][] that fit, and builds profile-based Articles part by part. The group is selected by default in the [AI Assistant][].

* ✅ 15 tools: 8 read, 6 write, 1 delete  
* ✅ Facts, relations, and existing Articles for a Resource or C4 node in one call  
* ✅ Change impact before you edit a shared Snippet, Template, or Document Profile  

![The AI Assistant asked which Articles are already linked to the Resource Contoso: Orders awaiting confirmation and which Template to use, answering with the linked Article Contoso: orders waiting for their ERP confirmation, the recommended Contoso Runbook Template, and a two-sentence summary, animated walkthrough (7.12)][1]  
*Animated walkthrough: before documenting a [Resource][Resources], the [AI Assistant][] finds the Article already linked to it and recommends a Template, with the Documentation tools.*  

1. Open the [AI Assistant][].
2. Ask: *I want to document the Resource Contoso: Orders awaiting confirmation. Which Articles are already linked to it, and which Template do you recommend? Summarize the linked Article in two sentences.*
3. The model collects the Resource's facts and its linked Articles with `get_documentation_context` and `get_resource_by_name`, and ranks the Templates with `recommend_templates`.
4. The answer names the linked Article, the recommended Template, and a short summary. The chat shows only the answer, not the tools the model called.

The [MCP Tool Reference][] explains the OAuth scopes, the paging rules, and the other groups. To see the group at work, follow [Migrate Azure DevOps Wiki Pages to Profile-Based Articles with AI][Migrate Azure DevOps Wiki].

## <i class="fal fa-key" aria-hidden="true"></i> Understanding the Scopes in This Group

The read tools need `mcp:repository.read`. The write tools need **both** `mcp:repository.read` and `mcp:repository.write`, unlike the Article, Snippet, and Template writes in [Repository Tools][], which need only `mcp:repository.write`. `delete_document_profile` needs `mcp:repository.delete`, like the Article, Snippet, and Template deletes; `restore_document` in [Repository Tools][] brings a deleted Document Profile back.

<h2 id="fa-list-tools-14"><i class="fal fa-list" aria-hidden="true"></i> Tools (15)</h2>

| Tool | Kind | What it does |
| --- | --- | --- |
| `get_article_composition` | Read | The structure of a [profile-based Article][Writing a Profile-Based Article]: its profile, main body, sections, and [dangling parts][Dangling Content Parts] |
| `get_change_impact` | Read | Every document that depends on a [Snippet][Snippets], [Template][Templates], [Document Profile][Document Profiles], or [Article][Articles] |
| `get_document_profile` | Read | One [Document Profile][Document Profiles] by slug, with its ordered parts |
| `get_documentation_context` | Read | Everything needed to document a [Resource][Resources] or a [C4][C4 Diagrams] node: facts, relations, and the [Articles][] already linked to it, by title and slug (not their text) |
| `get_documentation_health` | Read | The current Documentation Health findings over all live [documents][Articles] |
| `list_document_profiles` | Read | Live [Document Profiles][] (id, title, slug), optionally filtered by a `search` text on title or slug; no paging |
| `recommend_snippets` | Read | Ranks the [Snippets][] that fit a [Resource][Resources], [C4 diagram][C4 Diagrams] or node, Article, or free text |
| `recommend_templates` | Read | Ranks the [Templates][] that fit a [Resource][Resources], [C4 diagram][C4 Diagrams] or node, Article, or free text |
| `create_article_from_profile` | Write | Creates an [Article][Articles] composed from a [Document Profile][Document Profiles] |
| `create_document_profile` | Write | Creates a [Document Profile][Document Profiles] |
| `set_article_document_profile` | Write | Assigns, changes, or removes (`profileSlug` null) an [Article][Articles]'s [Document Profile][Document Profiles] |
| `set_document_profile_parts` | Write | Replaces the whole ordered part list of a [Document Profile][Document Profiles] |
| `update_article_content_parts` | Write | Writes the [main body][Main Body] and content parts of a [profile-based Article][Writing a Profile-Based Article], and resolves [dangling parts][Dangling Content Parts] |
| `update_document_profile` | Write | Renames or retags a [Document Profile][Document Profiles] by slug (`newSlug` renames it) |
| `delete_document_profile` | Delete | Soft-deletes a [Document Profile][Document Profiles] with its part definitions; [Articles][] composed from it keep their content |

`set_article_document_profile`, `set_document_profile_parts`, and `update_article_content_parts` overwrite what is there, so they are flagged as destructive, like `delete_document_profile`; an MCP client such as VS Code may ask you to confirm before it runs them.

`recommend_snippets` and `recommend_templates` take an optional `take` from 1 to 25. Outside that range they answer *take must be between 1 and 25.* instead of adjusting the value.

## <i class="fal fa-comment-dots" aria-hidden="true"></i> Prompts

The server also offers two MCP prompts, which are not tools: ready-made instructions that a client can start, and that bring the tools they need with them.

| Prompt | Use it to |
| --- | --- |
| `document-resource` | Document a monitored [Resource][Resources] |
| `document-c4-node` | Document a node of a [C4 diagram][C4 Diagrams] |

In the AI Assistant, a prompt adds the tools it declares to your selection before the limit of 128 tools is checked.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-book" aria-hidden="true"></i> [MCP Tool Reference][] - Scopes, paging rules, and the other groups  
* <i class="fal fa-wand-magic-sparkles" aria-hidden="true"></i> [Migrate Azure DevOps Wiki Pages to Profile-Based Articles with AI][Migrate Azure DevOps Wiki]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Tools][]  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [C4 Diagram Tools][]  
* <i class="fal fa-layer-group" aria-hidden="true"></i> [Document Profiles][]  
* <i class="fal fa-robot" aria-hidden="true"></i> [AI Assistant][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/AI/MCP_DocumentationTools_InUse.gif

[AI Assistant]:https://docs.nodinite.com/ai/ai-assistant/
[Articles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/overview/
[C4 Diagram Tools]:https://docs.nodinite.com/ai/mcp-tool-reference/c4-diagram-tools/
[C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[Dangling Content Parts]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/writing-a-profile-based-article/#fa-triangle-exclamation-resolving-dangling-content-parts
[Document Profiles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/document-profiles/
[Main Body]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/writing-a-profile-based-article/#fa-pen-writing-the-content-parts
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[MCP Tool Reference]:https://docs.nodinite.com/ai/mcp-tool-reference/
[Migrate Azure DevOps Wiki]:https://docs.nodinite.com/repository-model/knowledge-base-articles/scenarios/migrate-azure-devops-wiki-pages-to-profile-based-articles-with-ai/
[Repository Tools]:https://docs.nodinite.com/ai/mcp-tool-reference/repository-tools/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Snippets]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/snippets/
[Templates]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/templates/
[Writing a Profile-Based Article]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/writing-a-profile-based-article/