Skip to main content
Glama

PocketBase MCP Server

by fadlee
MIT License
0

update_record

Modify existing records in PocketBase collections by specifying the record ID and updated field values, with options to control response fields and expand related data.

Instructions

Update an existing record

Input Schema

NameRequiredDescriptionDefault
collectionYesCollection name
dataYesUpdated record data with field values matching the collection schema. Can use field modifiers like fieldName+, +fieldName, fieldName-.
expandNoComma-separated list of relation fields to expand in the response (e.g. 'author,comments.user')
fieldsNoComma-separated fields to return in the response (e.g. 'id,title,author')
idYesRecord ID

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name", "type": "string" }, "data": { "description": "Updated record data with field values matching the collection schema. Can use field modifiers like fieldName+, +fieldName, fieldName-.", "type": "object" }, "expand": { "description": "Comma-separated list of relation fields to expand in the response (e.g. 'author,comments.user')", "type": "string" }, "fields": { "description": "Comma-separated fields to return in the response (e.g. 'id,title,author')", "type": "string" }, "id": { "description": "Record ID", "type": "string" } }, "required": [ "collection", "id", "data" ], "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/fadlee/pocketbase-mcp'

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