Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

delete_knowledge_file

Performs permanent removal of outdated or incorrect knowledge documents, including deletion from the search index, for the Knowledge MCP Server. Verify document accuracy and consider alternatives before irreversible deletion.

Instructions

Permanently delete a knowledge document - this action cannot be undone.

When to use this tool:

  • Document is obsolete or incorrect

  • Consolidating duplicate documents

  • Removing outdated information

  • Explicit request to delete

Key features:

  • Complete removal of document

  • Removes from search index

  • Permanent deletion

You should:

  1. Verify document exists first

  2. Check if content should be preserved elsewhere

  3. Confirm filename is correct (with .md extension)

  4. Understand deletion is permanent

  5. Consider if update would be better

DO NOT use when:

  • Document might be useful later

  • Should be updated instead

  • Unsure about the impact

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

Input Schema

NameRequiredDescriptionDefault
filenameYesFull filename including .md extension
project_idYesThe project identifier

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "filename": { "description": "Full filename including .md extension", "maxLength": 255, "minLength": 1, "type": "string" }, "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "project_id", "filename" ], "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