Skip to main content
Glama

Simulate a flow

simulate_flow
Read-only

Run a flow's steps (the graph get_flow returns) against a scripted conversation and see what it would send and where it would stop. Nothing is sent or stored. Flows are included from the Growth plan.

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": {
      "graph": "<graph>",
      "inputs": "<inputs>"
    },
    "name": "simulate_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
graphYesThe flow graph: nodes and edges, as in get_flow.
inputsYes
platformNoDefault instagram.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=true and destructive=false, but the description adds meaningful context beyond them: 'Nothing is sent or stored' confirms the simulation has zero external side effects, and 'Flows are included from the Growth plan' is a plan-gating constraint absent from annotations. It does not disclose input limits (60 items) or the response shape, but the safety and access profile is unusually well covered.

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?

Three short sentences, front-loaded with what the tool does, followed by the safety guarantee and the plan gate. No sentence is redundant.

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 read-only simulation tool with nested parameters and no output schema, the description is nearly complete: it covers behavior, side effects, prerequisite source of the graph, and plan access. It slightly under-delivers on what the result looks like ('where it would stop' is gestured at but not specified).

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 coverage is 67%, and the schema already documents graph as 'as in get_flow' and explains the start/reply/wait input types. The description reinforces the 'scripted conversation' framing for inputs but says nothing about the platform parameter or defaults, so it adds only marginal value over the structured fields.

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 and resource ('Run a flow's steps ... against a scripted conversation') and immediately ties it to the sibling that produces its input ('the graph get_flow returns'). An agent can tell this apart from get_flow, test_rule, and the list tools 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?

The reference to 'the graph get_flow returns' establishes the prerequisite workflow (fetch the flow first, then simulate it), which is real usage guidance. It does not name an explicit when-not-to-use condition or contrast with test_rule, so it falls short of full routing 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.