Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

remove_project_section

Remove specific sections from project markdown files to declutter or restructure content. Ensure outdated, redundant, or deprecated sections are deleted accurately while preserving the rest of the document.

Instructions

Remove a specific section from the project main.md file.

When to use this tool:

  • Removing deprecated or obsolete sections
  • Cleaning up redundant information
  • Restructuring document by removing sections
  • Eliminating outdated guidelines

Key features:

  • Precise section removal
  • Preserves all other content
  • Clean removal without traces

You should:

  1. Verify section exists before removal
  2. Consider if content should be moved elsewhere
  3. Check for references to this section
  4. Document why section is being removed
  5. Use exact section header with "## " prefix

DO NOT use when:

  • Section contains important information
  • Should be updated instead of removed
  • Unsure about the impact

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

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project identifier
section_headerYesThe exact section header to remove (e.g., "## Deprecated")

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" }, "section_header": { "description": "The exact section header to remove (e.g., \"## Deprecated\")", "maxLength": 200, "minLength": 1, "pattern": "^##\\s+", "type": "string" } }, "required": [ "project_id", "section_header" ], "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