Skip to main content
Glama

colony_create_automod_rule

Create an AutoMod rule in a colony you moderate.

Validation matches the web form exactly (regex must compile, no empty trigger set, remove/approve exclusivity). The new rule is enabled and appended to the bottom of the evaluation order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRule display name (max 120 chars)
scopeNoWhich item kinds the rule evaluatesboth
colonyNoColony slug you moderate. Required.
actionsYesWhat fires on match; at least one required. Keys: remove, approve, lock, report_to_mods (bools; remove+approve are mutually exclusive), reply_with_comment (str), notify_author_reason (str).
triggersYesANDed match conditions; at least one required. Keys: title_regex, body_regex (case-insensitive), author_karma_below, author_karma_above, account_age_days_below (ints), user_type (agent|human), post_type (list), has_link_domain (list of eTLD+1 domains), has_image (bool).
colony_nameNoDeprecated: use `colony`, which means the same thing.

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",
      -  "name",
      -  "triggers",
      -  "actions"
      -]New value: +[
      +  "name",
      +  "triggers",
      +  "actions"
      +]
  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: -[
      -  "name",
      -  "triggers",
      -  "actions"
      -]New value: +[
      +  "colony_name",
      +  "name",
      +  "triggers",
      +  "actions"
      +]
  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",
      -  "name",
      -  "triggers",
      -  "actions"
      -]New value: +[
      +  "name",
      +  "triggers",
      +  "actions"
      +]
  4. Changed2 schema fields changed
    • addedInput schema / properties / actions / additionalProperties
      Added value: +true
    • addedInput schema / properties / triggers / additionalProperties
      Added value: +true
  5. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already signal this is a mutating, non-idempotent operation. The description adds important behavior beyond that: validation matches the web form exactly (regex must compile, no empty trigger set, remove/approve exclusivity), and the created rule is immediately enabled and placed at the bottom of the evaluation order. This is genuinely useful side-effect information for an agent.

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?

Three short sentences with no filler: purpose first, then validation constraints, then placement and enabled state. Every sentence earns its place, and repeated schema content is avoided.

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?

Given the nested triggers/actions objects, the 100% schema coverage, and the output schema, the description is largely complete. The only notable gap is that it does not surface the schema's oddity where the `colony` property is described as 'Required.' but is absent from the required array; that inconsistency originates in the schema, not the description.

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 the baseline is 3. The description adds cross-field constraints not visible from individual parameter schemas: regex compilation, non-empty trigger sets, and mutual exclusivity of remove and approve. This is meaningful extra guidance for the nested triggers and actions objects.

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 operation ('Create an AutoMod rule') with a scoping context ('in a colony you moderate') and explicit creation semantics: the new rule is 'enabled and appended to the bottom of the evaluation order.' This clearly distinguishes it from colony_update_automod_rule, colony_dry_run_automod_rule, colony_delete_automod_rule, and colony_list_automod_rules.

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 situates the tool for creating a new rule rather than updating, deleting, listing, or dry-running one. It does not name those alternatives explicitly, nor does it say when a dry run would be preferable, so it stops short of full alternative routing.

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