Skip to main content
Glama

Create Brand Tool

create-brand-tool

Create a brand in a project, ahead of Pineprompt discovering it from an AI response. Segment membership is what makes a brand a competitor, so pass segment_ids to start tracking it right away; without them the brand starts out discovered. When aliases are omitted, the brand is seeded with its display name. Display names are unique per project, case-insensitive, so a name that collides with an existing brand's display name or alias returns an error. To designate a brand as the project's own brand, pass its id as brand_id on the update-project tool instead.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "display_name": "<display_name>"
    },
    "name": "create-brand-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasesNoThe names Pineprompt matches against when it attributes a mention to the brand. Aliases are stored as sent and compared while ignoring casing and punctuation. On update the list replaces the current one; on create it defaults to the display name.
domainsNoThe domains Pineprompt matches against when it attributes a citation to the brand. Full URLs are accepted and reduced to bare lowercase hosts. On update the list replaces the current one.
project_idYesThe numeric id of the project the brand belongs to.
segment_idsNoThe numeric ids of the project segments the brand should join. Membership makes the brand a competitor; omit the list to create the brand as discovered.
display_nameYesThe name the brand is shown under (2 to 255 characters). Display names are unique per project, case-insensitive, and may not collide with an alias of another brand.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this as a non-readonly, non-idempotent create operation. The description adds material behavior beyond annotations: segment_ids determines whether the brand starts as a competitor or discovered, omitted aliases seed from display_name, and case-insensitive display-name uniqueness can cause an error.

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?

Front-loads the create action, then covers defaults, constraints, and the own-brand alternative. Every sentence adds usage or behavioral information with no filler.

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 what is needed to invoke the tool correctly: required fields, optional segment_ids/aliases behavior, default discovered state, collision errors, and the own-brand alternative. Since there is no output schema, not stating what the call returns is a minor gap.

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%, so the schema already documents each parameter. The description adds operational meaning for segment_ids (competitor vs discovered) and aliases (defaults to display name), plus collision behavior for display_name; this is useful context beyond the schema but mostly reinforces it.

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?

States a specific verb and resource: creating a brand in a project. It also distinguishes this from Pineprompt auto-discovery and from designating a project's own brand via the update-project tool.

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?

Explains when to use it (ahead of discovery), how passing segment_ids changes the result (competitor vs discovered), and explicitly directs own-brand designation to update-project. It also covers default alias behavior and collision errors.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources