Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

add_project_section

Add and position new sections in project main.md files for clear and organized documentation. Ideal for introducing topics, expanding guidelines, or creating structured content groups with flexible placement options.

Instructions

Add a new section to the project main.md file with precise positioning control.

When to use this tool:

  • Introducing new topics or guidelines to project
  • Expanding project documentation systematically
  • Adding configuration sections
  • Creating new instruction categories
  • Organizing content into new logical groups

Key features:

  • Flexible positioning (before/after/end)
  • Maintains document structure and flow
  • Non-destructive addition
  • Reference-based positioning for precision

You should:

  1. Choose meaningful section headers with "## " prefix
  2. Decide optimal position for the new section
  3. Use reference_header for precise placement
  4. Keep sections focused on single topics
  5. Follow existing section naming conventions
  6. Consider document flow and readability
  7. Add sections progressively, not all at once

DO NOT use when:

  • Section already exists (use update_project_section)
  • Content belongs in existing section
  • Unsure about section organization

Position options: "before", "after", "end" (default) Returns: {success: bool, message?: str, error?: str}

Input Schema

NameRequiredDescriptionDefault
contentYesThe content for the new section
positionNoWhere to insert the section (default: "end")
project_idYesThe project identifier
reference_headerNoThe section header to use as reference point for before/after positioning
section_headerYesThe new section header (e.g., "## Configuration")

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "description": "The content for the new section", "maxLength": 10485760, "type": "string" }, "position": { "description": "Where to insert the section (default: \"end\")", "enum": [ "before", "after", "end" ], "type": "string" }, "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" }, "reference_header": { "description": "The section header to use as reference point for before/after positioning", "maxLength": 200, "minLength": 1, "pattern": "^##\\s+", "type": "string" }, "section_header": { "description": "The new section header (e.g., \"## Configuration\")", "maxLength": 200, "minLength": 1, "pattern": "^##\\s+", "type": "string" } }, "required": [ "project_id", "section_header", "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