Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

updateUserMeta

Idempotent

Update an existing users_meta record's value by meta_id for tables like users_data or subscription_types. Requires database and database_id to prevent cross-table corruption.

Instructions

Update a metadata record - Update an existing users_meta record's value by meta_id. Fields omitted are untouched. Writes live data.

IDENTITY RULE - (database, database_id) is ONE atomic compound identity, not two fields. ALWAYS confirm BOTH match the intended parent BEFORE updating. A users_meta row's identity is (database, database_id, key). The same numeric database_id routinely belongs to UNRELATED rows on different parent tables. Never use a meta_id blindly from an unscoped list - always either (a) getUserMeta(meta_id) first and inspect database+database_id, OR (b) obtain the meta_id from a listUserMeta whose results have been CLIENT-SIDE filtered to the intended database+database_id pair. Misidentifying a row silently overwrites unrelated resource metadata.

Use when:

  • Changing a metadata value on any BD table row that was previously created via createUserMeta.

  • For list_seo (web page) EAV fields, use updateWebPage directly — the wrapper auto-routes them through users_meta for you. This updateUserMeta endpoint is for changing existing values on OTHER BD tables (e.g. users_data, subscription_types, data_posts custom meta), or for the rare case where a list_seo EAV field doesn't persist after updateWebPage — file that as a wrapper bug rather than working around it here.

Workflow: find the meta_id by calling listUserMeta with filter database=<table>, database_id=<parent_id>, key=<field>. Then call this endpoint with meta_id, value, and the same database + database_id you used for lookup. If no row exists, the row cannot be created via this endpoint — see Rule: users_meta writes. Never guess meta_id; 404 = stop, not retry.

Required: meta_id, value, database, database_id. All four - always. The identity pair (database, database_id) is enforced at the schema level to prevent cross-table corruption.

See also: listUserMeta (find the meta_id by filter), deleteUserMeta (remove permanently).

Returns: { status: "success", message: {...updatedRecord} } - the full updated record after changes applied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
meta_idYes
valueYes
databaseYes**REQUIRED** - parent table name this meta row attaches to (e.g. `list_seo`, `users_data`, `subscription_types`, `data_posts`). MUST match the `database` value stored on the row being updated. Hard safety rule: the same `database_id` number can exist across multiple parent tables. Scoping with `(database, database_id)` together prevents cross-table metadata corruption. See **Rule: users_meta identity**.
database_idYesREQUIRED - PK of the parent record this meta row is attached to. MUST match the `database_id` value stored on the row being updated. Same safety rule as `database`: the same numeric ID can belong to unrelated rows on different tables.
_clear_fieldsNoColumn names to clear to empty string. Available on every `update*` operation. Works on base columns AND EAV/`users_meta` rows (rows preserved with `value=""`). To actually clear a field you MUST use this parameter — sending the field with `""` alone is a no-op (BD drops empty values). To remove a `users_meta` row entirely, use `deleteUserMeta`. See **Rule: Clearing fields**. Example: `_clear_fields: ["h2", "hero_link_url"]`.
Behavior5/5

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

Annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true) are supplemented by description explaining writes are live, fields omitted are untouched, the identity rule preventing cross-table corruption, and the silent overwrite risk on misidentification.

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

Conciseness4/5

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

The description is well-structured with sections and front-loaded purpose, but it is somewhat verbose with repeated identity rule warnings. Overall, it earns its length for the complexity.

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

Completeness5/5

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

Given the complexity (5 params, identity rule, no output schema), the description covers return format, error handling, workflow, related tools, and edge cases. It leaves no major gaps.

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?

The description adds context beyond the schema: it emphasizes the required four parameters together, explains the identity rule for database and database_id, and clarifies _clear_fields behavior. However, the schema already describes database and database_id thoroughly.

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

Purpose5/5

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

The description clearly states it updates a users_meta record's value by meta_id, specifying verb, resource, and scope. It distinguishes itself from createUserMeta and deleteUserMeta, and explicitly notes it does not create new rows.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use (updating existing metadata), when-not-to-use (no creation, use updateWebPage for list_seo fields), and alternative tools (listUserMeta, deleteUserMeta). It also details a concrete workflow.

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

Install Server

Other Tools

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/brilliantdirectories/brilliant-directories-mcp'

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