Skip to main content
Glama

Update a record

update_record
DestructiveIdempotent

Replace a record's fields.

Input Schema

NameRequiredDescriptionDefault
dataYes
api_keyYesProject manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only.
record_idYes
collectionYesCollection slug, e.g. "products"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The word 'Replace' adds a useful hint that this is a full overwrite rather than a merge, but it never states whether omitted fields are dropped, nor does it mention auth constraints (left to the api_key schema description).

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

Conciseness3/5

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

Four words with zero waste and the verb is front-loaded, but for a destructive four-parameter mutation the brevity crosses from concise into under-specified. It is not bloated, but it also does not earn its place as sufficient guidance.

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

Completeness2/5

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

A destructive, idempotent mutation with a nested free-form payload, no output schema, and half the parameters undocumented needs far more than one sentence. Nothing tells the agent what the response looks like, what permissions are needed, or how the data object is interpreted.

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

Parameters2/5

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

Schema coverage is only 50%: api_key and collection are documented in the schema, but record_id and especially the nested, free-form `data` object have no description anywhere. The description does not compensate by explaining the shape or expectations of the replacement payload, which is the most important parameter here.

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?

States a specific verb and resource ('Replace a record's fields'), and the replace framing implicitly separates it from create_record and delete_record. It does not explicitly name or contrast any sibling, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus create_record or delete_record, no prerequisites, and no note about needing an existing record_id. The agent must infer all usage conditions from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources