Skip to main content
Glama

Test a workflow

test_workflow
Read-onlyIdempotent

A dry run against a sample message: returns the path taken, each step's outcome and the text it would send. Sends nothing, counts nothing, stores nothing. Pass workflow_id or a graph not saved yet. replies answers each wait_for_reply in order (when they run out, the wait times out); agent answers ask_agent steps ({branch, answer}); contact sets name, tags and fields; webhook_responses gives sample answers by node id; ab forces a split branch by node id; at sets the time for time conditions.

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": {
      "message": "<message>"
    },
    "name": "test_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
abNo
atNo
varsNo
agentNo
graphNo
contactNo
messageYes
repliesNo
timezoneNo
workflow_idNo
new_conversationNo
webhook_responsesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces that with concrete consequences: sends nothing, counts nothing, stores nothing. The 'counts nothing' detail is genuinely additive because it tells the agent no usage/billing side effects occur. It does not cover limits such as dry-run constraints on unsupported node types.

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

Conciseness5/5

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

The opening sentence front-loads purpose and return values, then the parameter hints follow in a single dense but scannable clause chain. Every clause maps to a distinct behavior or parameter; nothing is redundant padding.

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 12-parameter dry-run tool with no output schema, the description explains both what it returns and how the simulation-input parameters behave, which is the hard part. The remaining gaps (vars, timezone, new_conversation) are relatively minor and partly inferable from naming.

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?

With 0% schema description coverage across 12 parameters, the description carries the full burden, and it explains the non-obvious ones: replies sequencing and timeout behavior, agent {branch, answer}, contact fields, webhook_responses by node id, ab branch forcing, and at for time conditions. It leaves vars, timezone, and new_conversation undefined, which keeps it from a 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?

The description names a specific operation (a dry run of a workflow against a sample message) and states exactly what comes back: the path taken, each step's outcome, and the text it would send. That is enough for an agent to distinguish it from live-execution or workflow-inspection siblings without opening the 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?

It gives the selection rule between the two supported modes (pass workflow_id or an unsaved graph) and implies use for validating flows before going live. It does not explicitly say when to prefer this over get_workflow_run or the setup-test siblings, so it stops short of full when/when-not guidance.

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