Skip to main content
Glama

Samuelz® Communications

Update communication disposition

set_communication_disposition
Destructive

Only after explicit user instruction for the selected case: resolve or reopen the exact bounded visible thread, or classify ONLY the current inbound head as marketing/spam/customer/supplier. Read get_communication_triage first and copy expectedVersion unchanged. Reason required. No sending, unsubscribe, sender/domain rule, automatic closing from classification, or claim of resolved customer outcome. A stale version requires reread and renewed user intent, never blind retry.

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": {
      "communicationId": "<communicationId>",
      "expectedVersion": "<expectedVersion>",
      "action": "<action>",
      "reason": "<reason>"
    },
    "name": "set_communication_disposition"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesExplicitly requested inbox disposition only: resolve or reopen the selected case, or classify it with category. None proves a customer business outcome.
reasonYesActual user-grounded reason for this exact disposition; not invented completion evidence.
categoryNoRequired exactly when action=classify and forbidden for resolve/reopen. Labels the inbox case; never unsubscribes or changes contact consent.
communicationIdYesExact currently visible source communicationId from list_work_items/get_thread for this workspace; never a reply operationId.
expectedVersionYesExact current expectedVersion from get_communication_triage for this visible head. A changed head requires reread, not automatic version refresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"Explicitly requested inbox disposition only: resolve or reopen the selected case, or classify it with category. None proves a customer business outcome."
    • addedInput schema / properties / category / description
      Added value: +"Required exactly when action=classify and forbidden for resolve/reopen. Labels the inbox case; never unsubscribes or changes contact consent."
    • addedInput schema / properties / expectedVersion / description
      Added value: +"Exact current expectedVersion from get_communication_triage for this visible head. A changed head requires reread, not automatic version refresh."
    • addedInput schema / properties / reason / description
      Added value: +"Actual user-grounded reason for this exact disposition; not invented completion evidence."
  2. Changed1 schema field changed
    • addedInput schema / properties / communicationId / description
      Added value: +"Exact currently visible source communicationId from list_work_items/get_thread for this workspace; never a reply operationId."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Although annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=false, the description goes well beyond them by enumerating the side effects that will NOT happen (no sending, no unsubscribe, no sender/domain rule, no automatic closing from classification, no claim of a resolved customer outcome). It also discloses the failure mode for a stale expectedVersion — reread plus renewed user intent, never blind retry — which is exactly the behavior an agent needs for a non-idempotent mutation.

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?

The precondition and prerequisite read are front-loaded ahead of the allowed actions and the prohibition list, which is the right ordering for a risky mutation. It is dense and readable in one pass, though the long chain of negative clauses in the middle sentence pushes it toward run-on territory.

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 5-parameter, non-idempotent, destructive mutation with no output schema, the definition covers preconditions, required inputs' provenance, forbidden side effects, and the stale-version recovery path. Nothing an agent needs to call this safely is missing.

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 action, reason, category, communicationId, and expectedVersion, including the category-required-only-when-classify rule and the 64-hex version pattern. The description reinforces where expectedVersion comes from and that it must be copied unchanged, but adds little semantic detail the schema does not already carry; 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 names a specific verb set (resolve, reopen, classify) on a specific bounded resource (the exact visible thread / current inbound head) and states the selection scope ('the selected case'). An agent can distinguish this from approval, reply, and repair siblings without opening any schema.

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?

It gives an explicit precondition ('Only after explicit user instruction for the selected case') and a mandatory prerequisite call ('Read get_communication_triage first and copy expectedVersion unchanged'), naming the sibling tool that must precede it. It also implicitly routes to a reread rather than a retry when the version is stale.

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