Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

updateRedirect

Idempotent

Update an existing redirect record by its ID to modify destination or source path. Writes changes live; fields omitted remain unchanged.

Instructions

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

Use when: adjusting an existing rule's destination or source path. Rare - most redirects are create-once.

Required: redirect_id.

type is wrapper-managed: not exposed as an input. All redirects created via this MCP are custom; other BD type values are reserved for system-generated redirects.

See also: createRedirect (add new), deleteRedirect (remove permanently).

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
redirect_idYesRedirect primary key (required to identify record)
old_filenameNoThe old URL path being redirected from, relative to the domain root (e.g. old-slug, not the full URL)
new_filenameNoThe new destination URL path
db_idNoDatabase record ID of the source content object this redirect was generated from (0 if not tied to a record)
idNoLegacy secondary identifier; typically 0 for system-generated redirects
_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?

Beyond annotations (readOnlyHint=false, idempotentHint=true), the description adds key behaviors: 'Fields omitted are untouched', 'Writes live data', and explains that the 'type' field is wrapper-managed and always 'custom'. No contradictions with annotations.

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?

The description is well-structured with bold headings and concise paragraphs. Every sentence adds value—no fluff. Front-loaded with the core action, then usage guidance, then parameter notes, and finally return info.

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?

For a tool with 6 parameters, no output schema, but annotations present, the description covers the core behavior, usage context, type management, and return format. It lacks an explicit mention of idempotency but that's already annotated. Very good completeness.

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%, but the description adds value by highlighting the required parameter (redirect_id) and explaining the special _clear_fields parameter behavior, which is not detailed in the schema. This helps an agent understand how to clear fields correctly.

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 updates an existing redirect by ID, with the distinctive behavior 'Fields omitted are untouched.' It distinguishes from sibling tools like createRedirect and deleteRedirect by specifying it updates an existing record.

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?

Explicitly states when to use: 'adjusting an existing rule's destination or source path' and notes it's rare. Provides alternatives: 'See also: createRedirect (add new), deleteRedirect (remove permanently).' This perfectly guides selection.

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