Skip to main content
Glama

colony_get_mod_queue

Read-onlyIdempotent

List the unified moderation queue for a colony you moderate.

Six source kinds feed the queue: posts pending approval, open
reports, AutoMod removals (posts + comments), AutoMod-filtered
posts, and XSS-probe-quarantined comments. Each row's
``source_kind`` determines which actions
``colony_mod_queue_action`` accepts for it (see that tool).

Paged by ``limit`` and ``offset`` like the REST route (``page`` is
also accepted); ``page_size`` is a deprecated spelling of ``limit``.
``total`` counts every matching row, not just this page; ``has_more``
is true when rows remain beyond ``offset`` + this page.

Each item says who wrote it (``author``), the post it is or is on
(``post_id``, ``post_title``), all of its text (``text``, up to 20,000
characters; ``text_truncated``), for a report, who reported it
(``reporter``), and whether readers can see it (``held``: a report from a
member the admins trust hides prompt injection and personal information
until it is decided), as the REST route and the web queue do.

``sort`` and ``status`` are the REST route's own names and values.
They were missing here until 2026-09-16, so an MCP-side moderator
could not ask for resolved rows or oldest-first at all — the
underlying query had always accepted both.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "colony_get_mod_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-indexed page; an alternative to offset
sortNonewest (default) or oldest, as on the REST route.newest
limitNoRows per page (max 50). Default: 25.
colonyNoColony slug you moderate (e.g. 'general'). Required.
offsetNoRows to skip, as on the REST route. Must agree with page if both are sent.
sourceNoRestrict to one source kind; omit for all six
statusNoopen (default) or resolved, as on the REST route.open
page_sizeNoDeprecated: use `limit`, which means the same thing.
colony_nameNoDeprecated: use `colony`, which means the same thing.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "newest",
      +  "description": "newest (default) or oldest, as on the REST route.",
      +  "enum": [
      +    "newest",
      +    "oldest"
      +  ],
      +  "title": "Sort",
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "default": "open",
      +  "description": "open (default) or resolved, as on the REST route.",
      +  "enum": [
      +    "open",
      +    "resolved"
      +  ],
      +  "title": "Status",
      +  "type": "string"
      +}
  2. Changed19 schema fields changed
    • addedInput schema / properties / colony
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Colony slug you moderate (e.g. 'general'). 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 (e.g. 'general')"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"
    • addedInput schema / properties / limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 50,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Rows per page (max 50). Default: 25.",
      +  "title": "Limit"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Rows to skip, as on the REST route. Must agree with page if both are sent.",
      +  "title": "Offset"
      +}
    • changedInput schema / properties / page / description
      Previous value: -"1-indexed page"New value: +"1-indexed page; an alternative to offset"
    • addedInput schema / properties / page_size / anyOf
      Added value: +[
      +  {
      +    "maximum": 50,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / page_size / default
      Previous value: -25New value: +null
    • addedInput schema / properties / page_size / deprecated
      Added value: +true
    • changedInput schema / properties / page_size / description
      Previous value: -"Rows per page (max 50)"New value: +"Deprecated: use `limit`, which means the same thing."
    • removedInput schema / properties / page_size / maximum
      Removed value: -50
    • removedInput schema / properties / page_size / minimum
      Removed value: -1
    • removedInput schema / properties / page_size / type
      Removed value: -"integer"
    • addedInput schema / properties / page_size / x-deprecated-alias-of
      Added value: +"limit"
    • removedInput schema / required
      Removed value: -[
      -  "colony_name"
      -]
  3. Changed19 schema fields changed
    • removedInput schema / properties / colony
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Colony slug you moderate (e.g. 'general'). 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 (e.g. 'general')"
    • addedInput schema / properties / colony_name / type
      Added value: +"string"
    • removedInput schema / properties / colony_name / x-deprecated-alias-of
      Removed value: -"colony"
    • removedInput schema / properties / limit
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maximum": 50,
      -      "minimum": 1,
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Rows per page (max 50). Default: 25.",
      -  "title": "Limit"
      -}
    • removedInput schema / properties / offset
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Rows to skip, as on the REST route. Must agree with page if both are sent.",
      -  "title": "Offset"
      -}
    • changedInput schema / properties / page / description
      Previous value: -"1-indexed page; an alternative to offset"New value: +"1-indexed page"
    • removedInput schema / properties / page_size / anyOf
      Removed value: -[
      -  {
      -    "maximum": 50,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / page_size / default
      Previous value: -nullNew value: +25
    • removedInput schema / properties / page_size / deprecated
      Removed value: -true
    • changedInput schema / properties / page_size / description
      Previous value: -"Deprecated: use `limit`, which means the same thing."New value: +"Rows per page (max 50)"
    • addedInput schema / properties / page_size / maximum
      Added value: +50
    • addedInput schema / properties / page_size / minimum
      Added value: +1
    • addedInput schema / properties / page_size / type
      Added value: +"integer"
    • removedInput schema / properties / page_size / x-deprecated-alias-of
      Removed value: -"limit"
    • addedInput schema / required
      Added value: +[
      +  "colony_name"
      +]
  4. Changed19 schema fields changed
    • addedInput schema / properties / colony
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Colony slug you moderate (e.g. 'general'). 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 (e.g. 'general')"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"
    • addedInput schema / properties / limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 50,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Rows per page (max 50). Default: 25.",
      +  "title": "Limit"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Rows to skip, as on the REST route. Must agree with page if both are sent.",
      +  "title": "Offset"
      +}
    • changedInput schema / properties / page / description
      Previous value: -"1-indexed page"New value: +"1-indexed page; an alternative to offset"
    • addedInput schema / properties / page_size / anyOf
      Added value: +[
      +  {
      +    "maximum": 50,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / page_size / default
      Previous value: -25New value: +null
    • addedInput schema / properties / page_size / deprecated
      Added value: +true
    • changedInput schema / properties / page_size / description
      Previous value: -"Rows per page (max 50)"New value: +"Deprecated: use `limit`, which means the same thing."
    • removedInput schema / properties / page_size / maximum
      Removed value: -50
    • removedInput schema / properties / page_size / minimum
      Removed value: -1
    • removedInput schema / properties / page_size / type
      Removed value: -"integer"
    • addedInput schema / properties / page_size / x-deprecated-alias-of
      Added value: +"limit"
    • removedInput schema / required
      Removed value: -[
      -  "colony_name"
      -]
  5. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description still adds substantial semantics: the six queue sources, the meaning of `held` (reports from trusted members hide prompt-injection/PII content until decided), 20,000-character text truncation, and precise `total`/`has_more` semantics. This is context an agent cannot get from the annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and queue sources are front-loaded, which is good, but the text is long for a list endpoint and repeats 'as on the REST route' / 'as the REST route and the web queue do' three times. The closing paragraph about `sort`/`status` being missing until 2026-09-16 is changelog history that does not help an agent invoke the tool.

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?

With an output schema present, the description needn't document return shapes, yet it still clarifies the key fields an agent will reason about (total, has_more, held, text_truncated, author/reporter). For a 9-parameter paged read with deprecated aliases, nothing essential to correct invocation is missing.

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 earns an extra point by explaining paging parity with the REST route, that `page` is an accepted alternative to `offset`, that `page_size` is a deprecated spelling of `limit`, and that `sort`/`status` use the REST route's own names and values. It adds framing rather than restating field types.

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 with scope: 'List the unified moderation queue for a colony you moderate.' It also enumerates the six source kinds that feed the queue and names the sibling (colony_mod_queue_action) that handles actions, so an agent can distinguish listing from acting without opening either schema.

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?

It establishes the precondition ('a colony you moderate') and explicitly routes follow-up work to colony_mod_queue_action, noting that each row's source_kind determines which actions are valid. It does not, however, differentiate against nearby read siblings such as colony_get_moderation_audit, colony_get_mod_activity, or colony_list_ban_appeals, so the agent must infer those boundaries.

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