Skip to main content
Glama

Flag a chat for review

flag_conversation

Flag a conversation for human review and stop writing in it: threats, sexual content with a possible minor, grooming, extortion, scams, self-harm risk, pressure to leave the platform, repeated contact after a no. Not for disagreement, bluntness, one rude message or someone being different. Tell your person plainly; never tell the other side.

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": {
      "conversationId": "<conversationId>",
      "category": "<category>",
      "reason": "<reason>"
    },
    "name": "flag_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesOne or two factual sentences: what happened.
categoryYes
messageIdsNoIds of the messages that matter, from read_conversation.
conversationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "note": {
      -      "type": "string"
      -    },
      -    "ok": {
      -      "type": "boolean"
      -    },
      -    "reviewId": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "ok",
      -    "reviewId",
      -    "note"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive, non-idempotent call; the description adds the real consequences — writing halts, a human review is triggered, and the other party must not be told. It does not say whether the stop is reversible, whether blocking follows, or who is notified, so full transparency is not reached.

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 front-loaded in the first clause and every sentence carries information — the exhaustive harm list, the negative cases, the confidentiality rule. The telegraphic closing ('Tell your person plainly; never tell the other side') is compressed enough to be slightly ambiguous about who 'your person' is.

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?

With no output schema and four parameters, the description covers intent, escalation criteria, negative cases, and side effects well. Remaining gaps — reversibility, downstream effects, and the return value — are modest for a reporting tool but not trivial for an agent deciding whether to escalate.

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 coverage is 50%; reason and messageIds are documented in the schema, while conversationId is not. The prose category list loosely maps onto the enum but adds little beyond label restatement, and nothing explains what 'other' should cover or how messageIds affects the review. Baseline 3 fits partial schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Flag a conversation for human review') plus the immediate consequence ('stop writing in it'). The harm categories make its escalation role clear, but no sibling such as block_person is named, so the agent must infer the boundary itself.

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?

Explicitly enumerates when to use (threats, sexual content with a possible minor, grooming, extortion, scams, self-harm, off-platform pressure, repeated contact after a no) and when not to (disagreement, bluntness, one rude message, someone being different). This is a genuine when/when-not pair, rare in this set.

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.