Skip to main content
Glama

SEO GSC Wizard MCP

Create a content group

create_content_group

Creates a content group partition on a property. Rules are an array of { type, value } objects (prefix / contains / regex / equals) that match URLs into the group. The list shape { operator, value, id? } that list_content_groups returns is accepted too, as an alias of type (operator may also be not_contains or not_equals); give type or operator, not both. Group names are unique per site. A regex rule that cannot compile is rejected; one that is valid but unsupported by the warehouse (a lookahead, lookbehind or backreference) or skipped as ReDoS-prone is accepted and reported in ruleWarnings. Relay those to the user, since a skipped pattern matches no pages at all.

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>",
      "rules": "<rules>"
    },
    "name": "create_content_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
colorNo
rulesYes
siteUrlYes
descriptionNo

Output Schema

NameRequiredDescriptionDefault
groupNo
ruleWarningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / rules / items / properties / id
      Added value: +{
      +  "description": "Optional rule id, as list_content_groups returns it. Kept when unique, else generated.",
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / rules / items / properties / operator
      Added value: +{
      +  "description": "List shape: the same field list_content_groups returns. An alias of `type` that also allows not_contains and not_equals (no `prefix`). Use this or `type`, not both.",
      +  "enum": [
      +    "contains",
      +    "equals",
      +    "regex",
      +    "not_contains",
      +    "not_equals"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / rules / items / properties / type / description
      Added value: +"How `value` matches the URL (write shape). Use this or `operator`, not both."
    • changedInput schema / properties / rules / items / required
      Previous value: -[
      -  "type",
      -  "value"
      -]New value: +[
      +  "value"
      +]
    • changedOutput schema / properties / group / properties / rules / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "type": {
      -          "$ref": "#/properties/group/properties/id"
      -        },
      -        "value": {
      -          "$ref": "#/properties/group/properties/id"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "$ref": "#/properties/group/properties/id"
      +        },
      +        "operator": {
      +          "$ref": "#/properties/group/properties/id"
      +        },
      +        "value": {
      +          "$ref": "#/properties/group/properties/id"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed4 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / group / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / group / properties / rules / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "type": {
      -          "$ref": "#/properties/group/properties/id"
      -        },
      -        "value": {
      -          "$ref": "#/properties/group/properties/id"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "type": {
      +          "$ref": "#/properties/group/properties/id"
      +        },
      +        "value": {
      +          "$ref": "#/properties/group/properties/id"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / ruleWarnings
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "$ref": "#/properties/group/properties/id"
      +      },
      +      "message": {
      +        "$ref": "#/properties/group/properties/id"
      +      },
      +      "pattern": {
      +        "$ref": "#/properties/group/properties/id"
      +      },
      +      "severity": {
      +        "$ref": "#/properties/group/properties/id"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover only the safety profile (readOnly=false, destructive=false, openWorld=false); the description adds real behavior: names are unique per site, uncompilable regexes are rejected while warehouse-unsupported or ReDoS-skipped patterns are accepted silently, and ruleWarnings must be relayed because a skipped pattern matches nothing. That is well beyond what the annotations provide, though the return-shape detail overlaps the output schema.

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-loaded with the action and scope, then the rules model, then edge-case behavior. Dense but every sentence carries information; no filler or restatement of the title.

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?

An output schema exists so return values need no explanation, and the description still flags ruleWarnings as the field to surface. The only missing piece is what a valid siteUrl looks like, which matters for a create call on a property.

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 on top-level properties, the description compensates heavily for the complex `rules` parameter — enum values, alias semantics, mutual exclusivity of type/operator, the extra not_* operators, and the optional id. siteUrl (format/origin) and the free-text `description` field remain unexplained, leaving a gap.

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 content group partition on a property') and immediately defines the rules model, so an agent can distinguish it from list_content_groups, update_content_group and delete_content_group without opening schemas.

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?

Gives clear operational context: rules match URLs into the group, the list shape from list_content_groups is accepted as an alias, and only one of type/operator may be supplied. It stops short of explicitly routing the agent to update_content_group for existing groups or stating when-not to use this tool.

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