Skip to main content
Glama

Couchbase MCP Server

upsert_document_by_id

Insert or update a document by its ID in a Couchbase cluster. Specify scope, collection, document ID, and content to manage data directly through the server. Returns True for success, False for failure.

Instructions

Insert or update a document by its ID. Returns True on success, False on failure.

Input Schema

NameRequiredDescriptionDefault
collection_nameYes
document_contentYes
document_idYes
scope_nameYes

Input Schema (JSON Schema)

{ "properties": { "collection_name": { "title": "Collection Name", "type": "string" }, "document_content": { "title": "Document Content", "type": "object" }, "document_id": { "title": "Document Id", "type": "string" }, "scope_name": { "title": "Scope Name", "type": "string" } }, "required": [ "scope_name", "collection_name", "document_id", "document_content" ], "title": "upsert_document_by_idArguments", "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/Couchbase-Ecosystem/mcp-server-couchbase'

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