Skip to main content
Glama

SEO GSC Wizard MCP

Update a content group

update_content_group
Destructive

Edits an existing content group: its name, description, color, or matching rules. Only the fields you pass change; omit a field to leave it untouched. Passing rules REPLACES the whole rule list, so read the current rules with list_content_groups first if you mean to add one, and pass them back as they came ({ operator, value, id? }) or as { type, value }; give type or operator on a rule, not both. A rule id you pass is kept when it is unique in the list. Changing rules reassigns pages immediately in every report that uses the group; nothing is recomputed or stored, so the next get_content_group_performance call reflects the edit. A regex rule that cannot compile is rejected; one that is valid but unsupported by the warehouse or skipped as ReDoS-prone is accepted and reported in ruleWarnings. Relay those, 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": {
      "groupId": "<groupId>"
    },
    "name": "update_content_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
colorNo
rulesNoReplaces the entire rule list. Each rule is { type, value } as in create_content_group, or the list shape { operator, value, id? } that list_content_groups returns (type or operator, not both). A supplied id is kept when unique in the list.
groupIdYes
descriptionNo

Output Schema

NameRequiredDescriptionDefault
groupNo
ruleWarningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / rules / description
      Previous value: -"Replaces the entire rule list. Same { type, value } shape as create_content_group."New value: +"Replaces the entire rule list. Each rule is { type, value } as in create_content_group, or the list shape { operator, value, id? } that list_content_groups returns (type or operator, not both). A supplied id is kept when unique in the list."
    • 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"
      +]
  2. Changed3 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / group / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "color": {
      -        "$ref": "#/properties/group/anyOf/0/properties/id"
      -      },
      -      "created_at": {
      -        "$ref": "#/properties/group/anyOf/0/properties/id"
      -      },
      -      "description": {
      -        "$ref": "#/properties/group/anyOf/0/properties/id"
      -      },
      -      "id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "$ref": "#/properties/group/anyOf/0/properties/id"
      -      },
      -      "rules": {}
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "color": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      },
      +      "created_at": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      },
      +      "description": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      },
      +      "id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      },
      +      "rules": {}
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / ruleWarnings
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      },
      +      "message": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      },
      +      "pattern": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      },
      +      "severity": {
      +        "$ref": "#/properties/group/anyOf/0/properties/id"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes further by explaining exactly what is destroyed: passing `rules` replaces the entire list while omitted fields are left untouched. It also discloses that rule changes reassign pages immediately in every report with nothing recomputed or stored, and distinguishes rejected uncompilable regexes from accepted-but-skipped or unsupported ones.

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?

Purpose is stated in the first clause before any caveats, and every sentence adds operational information. The middle sentences are dense and slightly run-on around the type/operator and id-uniqueness rules, but no sentence is filler.

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 five-parameter mutation tool with a rich nested rules array, the definition covers replacement semantics, rule-shape dualism, immediate effect on reports, and the warning path. Return values are documented by the output schema, and ruleWarnings is referenced so the agent knows to surface it.

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 description coverage is only 20%, so the description carries the burden, and it does so for the hard part: rule shape ({ operator, value, id? } vs { type, value }), the exclusivity of type and operator, and the uniqueness condition that preserves a supplied id. It says nothing about color's hex pattern or name/description length limits, but those constraints are already enforced in the schema.

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?

Names a specific verb and resource ('Edits an existing content group') and enumerates the mutable fields (name, description, color, matching rules). It is clearly distinguishable from create_content_group and delete_content_group named in the sibling set.

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?

States when to consult list_content_groups before editing rules, and points to get_content_group_performance as the verification path after the edit. It also tells the agent to relay ruleWarnings, which is explicit follow-up guidance rather than inference.

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