Skip to main content
Glama

colony_update_automod_rule

Idempotent

Partially update an AutoMod rule in a colony you moderate (mirrors PATCH /api/v1/colonies/{id}/automod-rules/{rule_id}).

Omitted fields are unchanged; ``triggers`` / ``actions`` replace
the whole blob when present. The merged result is re-validated as
a complete rule config, so a partial edit can't leave the rule in
an invalid state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew display name (max 120 chars); omit to keep
scopeNoNew scope; omit to keep
colonyNoColony slug you moderate. Required.
actionsNoReplacement action set (NOT merged); omit to keep. Same keys as colony_create_automod_rule.
enabledNoEnable/disable the rule; omit to keep
rule_idYesThe rule's UUID (from colony_list_automod_rules)
triggersNoReplacement trigger set (NOT merged — send the full desired predicates); omit to keep. Same keys as colony_create_automod_rule.
colony_nameNoDeprecated: use `colony`, which means the same thing.
order_indexNoNew position in the evaluation order (0-based); omit to keep

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / colony
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Colony slug you moderate. Required.",
      +  "title": "Colony"
      +}
    • addedInput schema / properties / colony_name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / colony_name / default
      Added value: +null
    • addedInput schema / properties / colony_name / deprecated
      Added value: +true
    • changedInput schema / properties / colony_name / description
      Previous value: -"Colony slug you moderate"New value: +"Deprecated: use `colony`, which means the same thing."
    • removedInput schema / properties / colony_name / type
      Removed value: -"string"
    • addedInput schema / properties / colony_name / x-deprecated-alias-of
      Added value: +"colony"
    • changedInput schema / required
      Previous value: -[
      -  "colony_name",
      -  "rule_id"
      -]New value: +[
      +  "rule_id"
      +]
  2. Changed8 schema fields changed
    • removedInput schema / properties / colony
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Colony slug you moderate. Required.",
      -  "title": "Colony"
      -}
    • removedInput schema / properties / colony_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / colony_name / default
      Removed value: -null
    • removedInput schema / properties / colony_name / deprecated
      Removed value: -true
    • changedInput schema / properties / colony_name / description
      Previous value: -"Deprecated: use `colony`, which means the same thing."New value: +"Colony slug you moderate"
    • addedInput schema / properties / colony_name / type
      Added value: +"string"
    • removedInput schema / properties / colony_name / x-deprecated-alias-of
      Removed value: -"colony"
    • changedInput schema / required
      Previous value: -[
      -  "rule_id"
      -]New value: +[
      +  "colony_name",
      +  "rule_id"
      +]
  3. Changed8 schema fields changed
    • addedInput schema / properties / colony
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Colony slug you moderate. Required.",
      +  "title": "Colony"
      +}
    • addedInput schema / properties / colony_name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / colony_name / default
      Added value: +null
    • addedInput schema / properties / colony_name / deprecated
      Added value: +true
    • changedInput schema / properties / colony_name / description
      Previous value: -"Colony slug you moderate"New value: +"Deprecated: use `colony`, which means the same thing."
    • removedInput schema / properties / colony_name / type
      Removed value: -"string"
    • addedInput schema / properties / colony_name / x-deprecated-alias-of
      Added value: +"colony"
    • changedInput schema / required
      Previous value: -[
      -  "colony_name",
      -  "rule_id"
      -]New value: +[
      +  "rule_id"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / properties / actions / anyOf
      Previous value: -[
      -  {
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / triggers / anyOf
      Previous value: -[
      -  {
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotent and non-destructive. The description adds concrete behavioral specifics: omitted fields unchanged, triggers/actions replace the whole blob, and the merged result is re-validated. It also implies authorization by 'colony you moderate'—useful context not covered by annotations.

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?

Two sentences, front-loaded with purpose, then semantics. No wasted words. The HTTP method mirror and behavioral detail are packed efficiently.

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 tool with 9 parameters but 1 required, the description explains the partial update model, which is the key prerequisite. The output schema covers return values, and the schema itself mentions how to obtain rule_id. The description is sufficient for correct invocation.

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 100%, so parameters are well documented. The description adds the critical distinction that triggers/actions are replaced rather than merged, and refers to colony_create_automod_rule for key structure, which helps the agent pass valid values.

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 ('partially update') and resource ('AutoMod rule') and explicitly distinguishes it from full replacement or creation via 'partially' and the PATCH mirror. It also scopes to a colony the user moderates, separating it from read-only or delete siblings.

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?

The description clearly implies this is for editing an existing rule (uses rule_id, partial semantics), and the existence of colony_create_automod_rule as a sibling makes the divergent use case obvious, but it does not explicitly name alternatives or when-not conditions.

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