Skip to main content
Glama

Add topics to a cluster

add_cluster_topics

Adds topics to one cluster of the approved content map as pieces (spokes), each with the evidence it cites, without proposing the map again. Records a yes the human gave in this conversation to these topics in this cluster: approvalText is what they approved, and it is returned with who gave it and when. Adding to the map is always a human decision, also when pipeline_status reports approvalMode agent, so this belongs after that yes, never before. Each topic is a term and its evidence: at least one reference, as get_cluster_ideas returns it in evidenceRef or get_audit_findings in ref. The pool is the findings of the audit the map was drawn from and of each market's latest finished audit, as get_audit_findings prints them (a market reference names its market and audit; one the map's own audit observed is also taken without them, as maps cited it before markets), plus a question: reference for every question of the SERP briefs of that cluster's topics. Every term enters the topic bank the way add_topics stores it in the main market, with the same checks and the same cost: about USD 0.11 per call with BYO DataForSEO for terms not measured in the last 30 days, estimates otherwise; a term the bank could not measure keeps the volume the main market's site audit observed for it, never another market's. A term withheld as similar or published is reported and left out, never forced; terms already on the map stay where they are. Refusals are ok: false with a message: approval_text_missing (approvalText is empty), no_topics, evidence_missing (a topic cites nothing), not_found (no cluster with that id), not_approved (the cluster belongs to a proposed or replaced map; a proposed map changes through submit_content_map), unknown_evidence (the references the pool does not hold, per term), cluster_full (more than 25 pieces besides the hub; nothing was stored, unless another addition filled the cluster while these were stored, which the message says) and nothing_added (no topic joined the cluster: see collisions and measurement). Success is ok: true, mapId, clusterId, clusterName, added (term, topicId, memberId, evidence), approval (approvedAt, approvedByUserId, approvedVia, approvalText), alreadyInMap, notStored, collisions (duplicates, similar, published, resurrected, semanticOverlaps and their thresholds, as add_topics names them) and measurement (degraded, reason, message, measured, unmeasured, skipped).

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": {
      "clusterId": "<clusterId>",
      "topics": "<topics>",
      "approvalText": "<approvalText>"
    },
    "name": "add_cluster_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicsYes
clusterIdYes
workspaceIdNoThe workspace this call acts on, as listed by list_workspaces. Left out, the call uses the workspace the account is in right now.
approvalTextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare openWorldHint, non-idempotent, non-destructive, but the description adds materially: ~USD 0.11 per call with BYO DataForSEO, the 25-piece cluster ceiling with all-or-nothing storage, and the fact that withheld terms are 'reported and left out, never forced'. The dense refusal taxonomy (approval_text_missing, not_approved, cluster_full, nothing_added) is genuinely operational. The only gap is partial-store behaviour, which is described but ambiguously ('unless another addition filled the cluster while these were stored').

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 purpose is front-loaded and nearly every clause carries real information, but it is one ~300-word run-on with nested parentheticals and cross-references to other tools' field names. Structure is working against the reader; the refusal and success enumerations would be far more usable as lists.

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?

For a four-parameter mutation with no output schema and sparse schema descriptions, this is complete: it gives refusal reasons, the full success payload field-by-field, cost model, capacity limits, and evidence sourcing rules. An agent could call it correctly and interpret both branches without further reads.

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 only 25% (workspaceId alone is documented), so the description has to carry the load and largely does: evidence must be at least one reference 'as get_cluster_ideas returns it in evidenceRef or get_audit_findings in ref', approvalText is 'what they approved', clusterId is bounded by not_found. It never states term-level syntax or evidence string format explicitly, leaving some reconstruction to the agent.

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 concrete verb and resource ('Adds topics to one cluster of the approved content map as pieces (spokes)') plus the critical scope qualifier 'without proposing the map again', which separates it from submit_content_map and from add_topics (main market). An agent can distinguish it from every named sibling without opening a schema.

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?

Explicit ordering rule: 'this belongs after that yes, never before' makes the human-approval precondition a gate rather than a suggestion, and it redirects proposed/replaced maps to submit_content_map. It even pre-empts the pipeline_status approvalMode=agent case, which is exactly the situation an agent would otherwise misread.

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