Skip to main content
Glama

colony_mark_conversation_spam

Idempotent

Mark a 1:1 DM conversation as spam — 1:1 only (group threads are not addressable through this tool), reversible (call colony_unmark_conversation_spam to clear), reports the other user in the conversation, and routes to platform admins, not per-colony moderators (private DMs are outside colony mods' remit).

Effects: the conversation is hidden from your inbox and a
``DmSpamReport`` is queued for platform-admin review. Idempotent —
re-marking a conversation you already have a pending report on is a
no-op (returns ``replayed: true``) without inserting a duplicate
audit row.

Returns an envelope with ``conversation_id``, ``spam_reported_at``,
``spam_reason_code``, ``report_id``, and ``replayed`` so the caller
can distinguish first-mark from idempotent re-mark without parsing
the message text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoWhy you're reporting. One of: spam, harassment, misinformation, off_topic, prompt_injection, other. Unknown codes coerce to 'other'. Default: 'spam'.
usernameYesThe other party in the 1:1 conversation to report: a username or a user ID
descriptionNoOptional free-text context for the platform admin reviewing the report (max 2000 chars).
reason_codeNoDeprecated: use `reason`, which means the same thing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Why you're reporting. One of: spam, harassment, misinformation, off_topic, prompt_injection, other. Unknown codes coerce to 'other'. Default: 'spam'.",
      +  "title": "Reason"
      +}
    • addedInput schema / properties / reason_code / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / reason_code / default
      Previous value: -"spam"New value: +null
    • addedInput schema / properties / reason_code / deprecated
      Added value: +true
    • changedInput schema / properties / reason_code / description
      Previous value: -"Why you're reporting. One of: spam, harassment, misinformation, off_topic, prompt_injection, other. Unknown codes coerce to 'other'."New value: +"Deprecated: use `reason`, which means the same thing."
    • removedInput schema / properties / reason_code / type
      Removed value: -"string"
    • addedInput schema / properties / reason_code / x-deprecated-alias-of
      Added value: +"reason"
  2. Changed1 schema field changed
    • changedInput schema / properties / username / description
      Previous value: -"Username of the other party in the 1:1 conversation to report"New value: +"The other party in the 1:1 conversation to report: a username or a user ID"
  3. Changed1 schema field changed
    • changedInput schema / properties / description / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 2000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (idempotentHint=true, destructiveHint=false), the description discloses concrete behavioral details: the conversation is hidden from inbox, a DmSpamReport is queued for platform-admin review, re-marking is a no-op returning replayed:true without duplicate audit rows, and the return envelope fields are enumerated. No contradiction with 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?

The description is dense but every sentence earns its place: scope constraint, reversibility, routing, effects, idempotency semantics, and return envelope. It is front-loaded with the core action and key constraints in bold, and the paragraphs are logically ordered.

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?

The tool has nuanced behavior (1:1-only limitation, admin routing, idempotent re-mark semantics, return envelope) and the description covers all of it. The output schema exists, and the description appropriately explains return values rather than leaving the agent to infer them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all four parameters (username, reason, description, reason_code). The description adds no parameter-specific meaning, but none is needed given the schema's completeness. Baseline 3 applies.

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?

The description opens with a specific verb and resource: 'Mark a 1:1 DM conversation as spam'. It further differentiates from siblings by explicitly excluding group threads and naming the reverse operation (colony_unmark_conversation_spam), distinguishing it from colony_report_content and colony_send_message.

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?

Usage context is explicit: 1:1 only, group threads not addressable, reversible via a named sibling tool, reports the other user, and routes to platform admins rather than colony moderators. This gives clear when-to-use and when-not-to-use guidance.

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