Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

update_chapter

Modify a specific chapter in a knowledge document while preserving its structure. Update content, add clarifications, or refresh outdated sections without altering other chapters. Ideal for targeted edits in project documentation.

Instructions

Update a specific chapter within a knowledge document efficiently.

When to use this tool:

  • Correcting information in a specific chapter

  • Expanding chapter with new content

  • Updating code examples or commands

  • Refreshing outdated chapter content

  • Adding clarifications or improvements

Key features:

  • Preserves all other chapters intact

  • Maintains document structure

  • Updates chapter summary for search

  • Efficient partial document update

You should:

  1. Use exact chapter title (case-sensitive match)

  2. Read current chapter first if needed

  3. Preserve chapter's role in document flow

  4. Update summary if content focus changes

  5. Keep consistent formatting with other chapters

  6. Consider impact on related chapters

  7. Include .md extension in filename

DO NOT use when:

  • Chapter doesn't exist (use add_chapter)

  • Need to update multiple chapters

  • Restructuring entire document

Returns: {success: bool, message?: str, error?: str}

Input Schema

NameRequiredDescriptionDefault
chapter_titleYesExact title of the chapter to update (case-sensitive)
filenameYesKnowledge file name (must include .md extension)
new_contentYesNew content for the chapter (without ## heading)
new_summaryNoOptional chapter summary for search results
project_idYesThe project identifier

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chapter_title": { "description": "Exact title of the chapter to update (case-sensitive)", "maxLength": 200, "minLength": 1, "type": "string" }, "filename": { "description": "Knowledge file name (must include .md extension)", "maxLength": 255, "minLength": 1, "type": "string" }, "new_content": { "description": "New content for the chapter (without ## heading)", "maxLength": 1048576, "minLength": 1, "type": "string" }, "new_summary": { "description": "Optional chapter summary for search results", "maxLength": 500, "type": "string" }, "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "project_id", "filename", "chapter_title", "new_content" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sven-borkert/knowledge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server