Skip to main content
Glama

SEO GSC Wizard MCP

Create a topic cluster

create_topic_cluster

Creates a topic cluster on a property by grouping keywords under a name. Cluster names are unique per property, and the call is idempotent: if the name already exists the existing cluster is returned with alreadyExisted: true instead of an error, so there is never anything to retry. Use update_topic_cluster to change an existing cluster's keywords. Keywords are stored as text and matched against GSC queries in the dashboard: a keyword is a case-insensitive substring unless it is wrapped in slashes (/seo ?tools/), which makes it a regex. A /regex/ keyword that is invalid, longer than 2000 characters or can match an empty string (/acme|/) is refused and nothing is written. A new cluster comes back with issues when a regex keyword saved with a caveat: severity "warning" (the backtracking guard skips it, so it never matches) or "info" (the warehouse cannot run it, so the numbers come from the slower Search Console API); relay those to the user.

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": {
      "siteUrl": "<siteUrl>",
      "name": "<name>",
      "keywords": "<keywords>"
    },
    "name": "create_topic_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
siteUrlYes
keywordsYes

Output Schema

NameRequiredDescriptionDefault
issuesNoRegex keywords saved with a caveat (the same checks as the web editor). Only on a newly created cluster.
clusterNo
alreadyExistedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / issues
      Added value: +{
      +  "description": "Regex keywords saved with a caveat (the same checks as the web editor). Only on a newly created cluster.",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "$ref": "#/properties/cluster/properties/id"
      +      },
      +      "keyword": {
      +        "$ref": "#/properties/cluster/properties/id"
      +      },
      +      "message": {
      +        "$ref": "#/properties/cluster/properties/id"
      +      },
      +      "severity": {
      +        "$ref": "#/properties/cluster/properties/id"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / cluster / additionalProperties
      Previous value: -falseNew value: +true
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description adds far more: name uniqueness per property, idempotent return with alreadyExisted: true, and a validation gate where invalid /regex/ keywords, keywords over 2000 characters, or patterns matching an empty string are refused with 'nothing is written'. It also explains the `issues` array returned for saved-with-caveat regexes, including what 'warning' (backtracking guard skips it) and 'info' (slower Search Console API fallback) mean and that they should be relayed to the user.

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?

Front-loaded with the action, then idempotency, then the alternative, then keyword semantics and the `issues` contract — a sensible ordering with little waste. It is dense and a couple of sentences run long, and one clause is garbled ('when a regex keyword saved with a caveat' is missing a verb), but nothing is padding.

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 3-required-parameter write tool with an output schema, it covers the behaviors that matter: idempotency, uniqueness, validation failures, and the caveat metadata in the response. The one real gap is the meaning/format of `siteUrl` as a property identifier, which is left to inference.

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?

With 0% schema description coverage the description must carry the load, and it does for the two hard parameters: `name` (unique per property) and `keywords` (stored as text, matched against GSC queries, case-insensitive substring unless slash-wrapped, in which case it is a regex with documented rejection rules). The `siteUrl` parameter is only obliquely covered by 'on a property', leaving the expected URL format unstated.

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 ('Creates a topic cluster on a property by grouping keywords under a name'), plus the grouping semantics of what a cluster actually is. It is clearly distinguishable from update_topic_cluster and delete_topic_cluster without opening any 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?

Explicitly routes the agent away from this tool for edits: 'Use update_topic_cluster to change an existing cluster's keywords.' It also gives a retry rule — the call is idempotent and returns the existing cluster instead of erroring, 'so there is never anything to retry' — which is exactly the kind of when/when-not guidance an agent needs before writing.

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