Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

remove_chapter

Eliminate specific chapters from knowledge documents to remove outdated, redundant, or incorrect content. Preserves document integrity by precisely targeting and permanently deleting specified sections while retaining the rest of the structure. Verify chapter titles carefully before removal.

Instructions

Remove a specific chapter from a knowledge document.

When to use this tool:

  • Removing outdated or incorrect chapters
  • Consolidating overlapping content
  • Streamlining document structure
  • Eliminating redundant information

Key features:

  • Precise chapter removal
  • Preserves all other chapters
  • Maintains document integrity

You should:

  1. Verify chapter exists with exact title
  2. Consider if content should be preserved
  3. Check for references from other chapters
  4. Use case-sensitive chapter title
  5. Understand removal is permanent

DO NOT use when:

  • Chapter should be updated instead
  • Content is still relevant
  • Unsure about the impact

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

Input Schema

NameRequiredDescriptionDefault
chapter_titleYesExact title of the chapter to remove
filenameYesKnowledge file name (must include .md extension)
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 remove", "maxLength": 200, "minLength": 1, "type": "string" }, "filename": { "description": "Knowledge file name (must include .md extension)", "maxLength": 255, "minLength": 1, "type": "string" }, "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "project_id", "filename", "chapter_title" ], "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