Skip to main content
Glama

Typesense MCP Server

delete_document

Remove a specific document by its ID from a collection in Typesense databases to manage and maintain accurate data storage and organization.

Instructions

Deletes a single document by its ID from a specific collection. Args: ctx (Context): The MCP context. collection_name (str): The name of the collection. document_id (str): The ID of the document to delete. Returns: dict | str: The deleted document dictionary or an error message string.

Input Schema

NameRequiredDescriptionDefault
collection_nameYes
document_idYes

Input Schema (JSON Schema)

{ "properties": { "collection_name": { "title": "Collection Name", "type": "string" }, "document_id": { "title": "Document Id", "type": "string" } }, "required": [ "collection_name", "document_id" ], "title": "delete_documentArguments", "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/avarant/typesense-mcp-server'

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