Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

createTag

Create a new tag record by providing a tag name and existing group ID. Adds a tag to a specified group for categorization.

Instructions

Create a tag - Create a new tag record. Writes live data.

Use when: adding a new tag. Group (group_tag_id) must exist - discover via listTagGroups.

Required: tag_name, group_tag_id.

added_by is wrapper-managed: the audit-trail added_by field is hardcoded to 0 by the wrapper on every create. Not exposed as an input.

Duplicate tag_name silent-accept: BD does NOT enforce a uniqueness constraint on tag_name within a group_tag_id. Two createTag calls with the same tag_name + group_tag_id both succeed and produce two rows with different tag_ids. Downstream createTagRelationship calls then become ambiguous (which of the two tags?). Recommended pre-check pattern: call listTags with property=tag_name&property_value=<name>&property_operator== (optionally filtered further by group_tag_id) BEFORE create. If a match exists, reuse that tag_id rather than creating a duplicate.

Parameter interactions:

  • tag_name - the visible label

  • group_tag_id - tag group from listTagGroups

See also: updateTag (modify existing).

Returns: { status: "success", message: {...createdRecord} } - includes the server-assigned ID. Use this ID for follow-up operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tag_nameYes
group_tag_idYesTag group this tag belongs to (from `listTagGroups`). **BD does NOT enforce FK** — passing `0` or a nonexistent group_tag_id is silently accepted and produces an orphan tag (live observed). Verify the group exists before passing.
Behavior5/5

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

Beyond annotations, the description discloses that added_by is wrapper-managed (hardcoded to 0), that duplicate tag_name within a group is silently accepted (no uniqueness constraint), and that group_tag_id FK is not enforced, leading to orphan tags. These critical behavioral details aid agent decision-making.

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 clear sections (Use when, Required, behavioral notes, parameter interactions, See also, Returns). It is front-loaded with purpose. While somewhat lengthy, each section adds value and is justified for the tool's 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?

The description covers purpose, inputs, required fields, side effects (duplicates, orphan risks), return format (status and created record with ID), and references sibling tools. It fully addresses the complexities of the tool despite lacking an output schema.

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 meaning: tag_name is 'the visible label', group_tag_id is 'tag group from listTagGroups'. It also clarifies that added_by is not an input. With 50% schema description coverage, the description compensates slightly, but tag_name's schema lacks description entirely, and the description provides basic meaning.

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 'Create a tag - Create a new tag record' and 'Writes live data.' It distinguishes itself from sibling tools like createTagGroup and createTagRelationship by focusing solely on creating a tag 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?

It explicitly says 'Use when: adding a new tag' and mandates that the group_tag_id must exist, discoverable via listTagGroups. It provides a recommended pre-check pattern to avoid duplicates and references updateTag for modifications, offering clear when-to-use and when-not-to-use guidance.

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