Skip to main content
Glama

Mark conversations as spam, or as not spam

colliedesk_conversations_spam
Idempotent

Use it for junk that reached the inbox (adverts, phishing, mail nobody on the team should answer). spam true files up to 50 conversations in Spam: they leave the inbox and every view (colliedesk_inbox_search finds them with status spam), their response clocks stop, Results stop counting them, and later mail from their senders goes straight to Spam with no notification and no clock. Nobody is told, the customer included. spam false (Not spam) puts each conversation back in the status it had and lets its sender's later mail reach the inbox again. It is safe to repeat: you state the result you want, and updated counts only the conversations that moved. All or nothing: if one id is not a conversation of this workspace, nothing is changed. A conversation in Spam keeps its status until it is taken out here.

Needs: conversations:update.

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": {
      "conversation_ids": "<conversation_ids>",
      "spam": "<spam>"
    },
    "name": "colliedesk_conversations_spam"
  }
}

Input Schema

NameRequiredDescriptionDefault
spamYestrue: file them in Spam. false: Not spam, put them back where they were.
conversation_idsYes

Output Schema

NameRequiredDescriptionDefault
sendersYesThe customers whose later mail now goes to Spam (spam true), or reaches the inbox again (spam false).
updatedYesHow many conversations moved into Spam, or out of it.
conversation_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: filing removes conversations from the inbox and every view, stops response clocks, drops them from Results, diverts the senders' later mail with no notification, and silently notifies nobody including the customer. It also discloses idempotency semantics (repeat-safe, updated counts only moved conversations), atomic all-or-nothing failure on an unknown id, reversibility on spam false, and the conversations:update permission requirement.

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?

Front-loaded with the use case, then consequences, then safety properties, so an agent can stop reading early and still act correctly. It is dense and slightly long with a couple of loose phrasings ('Results stop counting them', 'Nobody is told, the customer included'), but nearly every sentence carries behavioral information.

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 two-parameter mutation with an output schema already covering return values, the description still supplies reversibility, atomicity, idempotency, side effects on clocks and routing, and required permissions. Nothing an agent needs in order to call it safely 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 50% (only spam is annotated) and the description compensates by defining the 50-conversation cap, the all-or-nothing rule when an id is not a conversation of this workspace, and the exact restore semantics of spam false. It does not add id-format or duplicate-handling detail beyond the schema's pattern/uniqueItems, so 4 rather than 5.

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 pair (mark as spam / not spam) on a specific resource (conversations), with the batch ceiling (50) and the resulting state change spelled out. It also distinguishes itself from colliedesk_inbox_search by describing that tool as where the filed conversations can later be found with status spam.

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?

Gives concrete when-to-use criteria ('junk that reached the inbox (adverts, phishing, mail nobody on the team should answer)') and implicitly reserves it for conversations that should be removed from the inbox. It does not explicitly rule out cases or name a preferred alternative for bulk relabeling, so 4 rather than 5.

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