Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

updateMemberSubCategoryLink

Idempotent

Update per-link metadata (price, specialty, completion count) for a member-subcategory association using the link ID.

Instructions

Update a user-service relationship - Update a Member ↔ Sub Category link by rel_id. Fields omitted are untouched. Writes live data.

Use when: adjusting per-link metadata - member's price for this service, specialty flag, completion counter.

Required: rel_id.

Updatable fields: avg_price, specialty, num_completed, date.

See also: createMemberSubCategoryLink (add new), deleteMemberSubCategoryLink (remove).

Returns: { status: "success", message: {...updatedRecord} }.

How a member gets classified on their public profile:

  • users_data.profession_id -> points at a single Top Category (the member's primary classification; shown in URL slug)

  • users_data.services -> CSV of Sub Category IDs the member is tagged with (multiple allowed; simpler than the join table)

  • rel_services rows (Member ↔ Sub Category links) -> used when you need per-link metadata like avg_price, specialty, num_completed. Optional; most sites use just the CSV field.

Sub-sub-categories: createSubCategory with master_id=<parent service_id> creates a Sub Category nested under another Sub Category (a "sub-sub"). master_id=0 (default) means the Sub Category sits directly under a Top Category (the profession_id).

There is NO createProfession or createService tool in this MCP — those are BD's internal table names. Use createTopCategory / createSubCategory instead (BD's table-name → tool-name mapping is documented in Rule: Table to endpoint).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rel_idYes
avg_priceNo
specialtyNo
num_completedNo
dateNoFormat: `YYYYMMDDHHmmss` in the site's timezone. BD silently truncates other formats, corrupting the value. Optional — omit unless backfilling historical data.
_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?

Annotations include idempotentHint=true and readOnlyHint=false, but description adds 'Fields omitted are untouched' and 'Writes live data', confirming mutation behavior. Also explains return format and system context, though some extra background on subcategories is tangential.

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?

The description is verbose, including a long background on member classification and sub-sub-categories. While the core information is front-loaded with headings, the extra detail could be moved to separate documentation. It is structured but not concise.

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?

Covers all parameters, usage context, and return values. However, it lacks information about error handling (e.g., what happens if rel_id does not exist) and potential side effects. Given the complexity, it is fairly complete but could be more comprehensive.

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

Parameters5/5

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

Schema coverage is only 33% (date and _clear_fields have descriptions). The description compensates by listing all updatable fields, explaining date format requirements, and detailing the _clear_fields parameter behavior (including that empty string is no-op, must use _clear_fields). This adds significant value beyond the schema.

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?

Clearly states the verb 'Update', the resource 'Member ↔ Sub Category link', and the key identifier 'rel_id'. Distinguishes from sibling tools like createMemberSubCategoryLink and deleteMemberSubCategoryLink via 'See also' section.

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?

Provides explicit 'Use when' guidance for adjusting per-link metadata, lists required parameter 'rel_id', and points to create/delete alternatives. Also explains when to use this versus the CSV field or join table.

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