Skip to main content
Glama

send_workflow_message

Queue a workflow or node message for its next dispatch while preserving exact text and order, returning a message ID and a refusal code when immediate delivery is unsupported.

Instructions

Queue a workflow or node message for its next issued dispatch. Exact prose and order are preserved. now refuses unsupported interruption or required checkpoints while keeping the queued message and returning its id plus a stable refusal code. A queued message to a completed non-builder or cancelled run adds target_settled, target_status and a note that no further dispatch will consume it; a running run, a failed run and a completed builder omit those fields. No permission, goal, decision or attempt budget is changed. Owner checks match other workflow interactions.

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": {
      "run_id": "<run_id>",
      "text": "<text>"
    },
    "name": "send_workflow_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
run_idYes
task_idNo
deliveryNoqueue
interaction_ownerNocaller

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it states that prose and order are preserved, that 'now' refusals keep the queued message and return an id plus a stable refusal code, that completed non-builder or cancelled runs add target_settled/target_status fields, and that no permission, goal, decision or attempt budget changes. It also notes that owner checks match other workflow interactions, giving an auth hint. Minor gaps remain around idempotency and what happens on repeated dispatch.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded and little is wasted, but the sentences are long and dense, packing refusal semantics, conditional return fields, and non-effects into run-on clauses. It would benefit from tighter phrasing or light structuring so the delivery-mode and target-status conditions are easier to scan.

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?

For a five-parameter message tool with an output schema, the description covers the mutation's non-effects, refusal behavior, and conditional return fields thoroughly. The main shortfall is that task_id and interaction_owner semantics are left thin, but the output schema reduces the need to describe return values in detail.

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 0% across five parameters, so the description must compensate. It adds real meaning for the delivery mode ('queue' default versus 'now' and its refusal behavior) and for the text field (prose preserved), but it never explains task_id's role in targeting a node, nor what interaction_owner selects beyond a vague 'owner checks' reference.

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?

The description opens with a specific verb and resource: 'Queue a workflow or node message for its next issued dispatch.' That distinguishes it from a plain send by making the queueing semantics explicit. It does not name or contrast against any sibling such as send_message or send_conversation_message, so the differentiation is contextual rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies when the default queueing path is appropriate and when the 'now' delivery mode applies, including the refusal behavior for unsupported interruption or required checkpoints. It never explicitly states when to use this tool versus the sibling send/cancel message tools, so the guidance remains implied rather than directive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.