Skip to main content
Glama

Edit conversations

campaignstack_edit_conversations
Idempotent

Batch small inbox state changes: mark conversations read, or cancel/edit a pending campaignstack_send_message sendAt row (scheduledMessages, id from campaignstack_get_conversations include.scheduledMessages). Sending remains campaignstack_send_message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceIdNoWorkspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.
conversationsNo
scheduledMessagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
itemNo
resultsNo
warningNo
nextStepNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / conversations / minItems
      Removed value: -1
    • addedInput schema / properties / scheduledMessages
      Added value: +{
      +  "items": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "op": {
      +            "const": "cancel",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "op",
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "id": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "op": {
      +            "const": "edit",
      +            "type": "string"
      +          },
      +          "sendAt": {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          "text": {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "op",
      +          "id"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "maxItems": 25,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "conversations"
      -]
  2. Changed1 schema field changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Workspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach."New value: +"Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too."
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: that edits apply only to a *pending* scheduled message, that cancellation is part of this tool, and that this tool is deliberately not the send path. It omits limits (e.g. the 25-item cap) and permission requirements.

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?

One dense sentence, front-loaded with the core 'what' before the sibling references. The parenthetical about scheduledMessages/id source is information-dense, though the packaging is a little thick for a single sentence.

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?

Output schema exists, so return values need no explanation, and annotations carry the safety profile. For a mutation with 0 required params, the description covers both mutation paths and the id provenance. Only minor details (item limits, partial-failure behavior) are absent.

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 only 33% (workspaceId is the documented one). The description partially compensates by mapping the two undocumented arrays to their semantics and telling the agent where the scheduled message `id` originates (get_conversations with include.scheduledMessages). It still leaves the conversationRef shape and the edit-vs-cancel field constraints to the schema, so it is additive but not fully compensating.

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+resource+scope: 'Batch small inbox state changes' covering two concrete operations (mark read, cancel/edit a pending scheduled send). It distinguishes itself from the two overlapping siblings by name, saying concerns route to campaignstack_send_message and ids come from campaignstack_get_conversations. An agent can place it correctly 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear when-to-use conditions ('mark conversations read, or cancel/edit a pending ... sendAt row') and explicitly names the alternative for the adjacent case: 'Sending remains campaignstack_send_message.' It stops short of stating exclusions against other edit_* tools, so it is strong context rather than a complete routing guide.

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