Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

updateDataType

Idempotent

Update an existing datatype record by ID to rename it or modify its active status. Fields omitted are left unchanged.

Instructions

Update a data type - Update an existing datatype record by ID. Fields omitted are untouched. Writes live data.

Use when: renaming a data type.

Required: data_id.

Enums: category_active: 1=active and available for members to use, 0=inactive; limit_available: 0, 1.

See also: createDataType (add new), deleteDataType (remove permanently).

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_idYesData type primary key (required to identify the record)
category_nameNoDisplay name for this content type (e.g. "Single Photo Post", "Multi-Photo Post", "Video Post")
category_activeNo1 = active and available for members to use; 0 = inactive
limit_availableNo1 = membership-plan posting limits apply to this data type; 0 = no per-plan limits
_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"]`.
Behavior4/5

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

The description adds value beyond annotations by stating 'Writes live data' and describing the return value format: '{ status: "success", message: {...updatedRecord} }'. The idempotentHint annotation is consistent with the phrase 'Fields omitted are untouched.' No contradictions are present. The description could mention more about the _clear_fields parameter, but that is covered in the schema.

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 concise yet informative, using bullet points and a clear structure. The main action is front-loaded in the first line. Every sentence adds value, though the enumeration of enums could be slightly trimmed without loss. Overall, it is efficient and well-organized.

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 the rich schema (100% coverage) and useful annotations, the description is mostly complete. It covers purpose, usage, required field, behavior ('Fields omitted are untouched'), return format, and sibling tools. Minor omission: no mention of potential errors or limitations, but for a partial update tool, this is acceptable.

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

Parameters3/5

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

The input schema covers 100% of parameters with detailed descriptions, including enums and the _clear_fields parameter. The description does not add significant new semantic information beyond what the schema provides; it only reiterates some enum values and the 'Fields omitted are untouched' behavior. Baseline 3 is appropriate.

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 the tool's purpose: 'Update a data type - Update an existing datatype record by ID.' It uses a specific verb (update) and resource (data type). The distinction from siblings is explicit via the 'See also' section, which lists createDataType and deleteDataType as alternatives.

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 provides clear usage guidance: 'Use when: renaming a data type.' It also lists required field (data_id) and important behavior ('Fields omitted are untouched'). The enums are explained, and the 'See also' section gives alternatives. However, it does not explicitly state when not to use this tool or contrast with other update tools, which slightly reduces the score.

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