Skip to main content
Glama

Add a topic

topics_add

Add a topic to the ledger before writing it: its title, the question or search phrase it is meant to win (keyword), the one product or service it is about (item), how it comes at it (angle) and which of the brand’s topics it belongs to (pillar). A keyword already covered is refused, so the same question is never written twice.

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": {
      "title": "<title>"
    },
    "name": "topics_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNoThe one product or service it is about, up to 120 characters.
noteNoAnything to remember when writing it, up to 400 characters.
angleNoHow the piece comes at it, in a word or two of up to 60 characters: guide, comparison, checklist, story.
titleYesThe topic in a few words, up to 160 characters.
pillarNoWhich of the brand’s topics it belongs to, up to 120 characters.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.
keywordNoThe question or search phrase it is meant to win, up to 120 characters. One already covered is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation profile is known. The description adds one genuinely useful behavior beyond them: a keyword already covered is refused, preventing duplicate topics. It says nothing about permissions, what is returned on success, or whether topics can be edited afterwards.

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?

It is front-loaded with the core action and the field list reads as a compact mapping of the payload, followed by a single sentence on the duplicate rule. The enumeration is slightly long, but each clause carries information rather than 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?

For a seven-parameter creation tool with a non-destructive annotation profile and no output schema, the description covers purpose, required payload shape and the duplicate-refusal rule adequately. Gaps around authorization and post-creation return values are minor given the 100% schema coverage.

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?

Schema description coverage is 100%, so all seven parameters are already documented at the schema level, which sets the baseline at 3. The description restates the meaning of item, angle, keyword and pillar without adding format or constraint detail beyond the schema, and it omits note and brandId entirely.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Add a topic to the ledger') and enumerates the fields it carries, so an agent knows exactly what is created. It does not distinguish itself from the sibling topics_link, which is the nearest alternative, so it stops short of a 5.

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?

It gives a clear ordering rule ('before writing it'), placing topic creation ahead of drafting, and states the refusal condition for an already-covered keyword. It never names an explicit alternative such as topics_link or topics_list, so there are no stated exclusions.

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.