Skip to main content
Glama

Update record

update_record

Update a specific record in PocketBase by ID, modifying only the provided fields. Supports adding/removing multi-relations, files, and select values, plus file uploads.

Instructions

Update an existing record by id. Only the fields present in data are changed. To append to a multi-relation/file/select field use the '+' modifier as a key (e.g. { "tags+": "id" }); to remove use 'field-'. Upload files via files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRecord id to update.
dataNoField values to update.
filesNoOptional list of local files to upload into file fields.
expandNoComma-separated relations to expand in the response.
fieldsNoComma-separated fields to return.
collectionYesCollection id or name.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral burden. It discloses that only fields in `data` are changed, explains the `+`/`-` modifiers for multi-relation/file/select fields, and notes file uploads via `files`. This adds meaningful context, though it omits auth requirements and response behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core action, then compactly delivering the non-obvious behavioral details. Every sentence earns its place with no redundant filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given six parameters and no annotations, the description effectively covers the non-obvious semantics: partial updates, modifier syntax, and file uploads. It relies on the schema for standard parameters, and the missing response/error context is a minor gap for a mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema by clarifying that `data` is a partial update object and by explaining the `+`/`-` key conventions and the `files` upload mechanism. Standard parameters like `expand` and `fields` are self-explanatory in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'update' and the resource 'existing record by id', and specifies the partial-update scope. It distinguishes itself from create/delete tools by saying 'existing record', but does not explicitly name sibling tools, so it falls just short of a top score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description conveys clear context for when to use the tool: updating an existing record with field-level changes. The partial-update semantics ('Only the fields present in data are changed') help an agent choose this over other operations, but it does not explicitly state alternatives or exclusion scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

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/nestebe/pocketbase-mcp'

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