Skip to main content
Glama

run_workflow

Trigger an existing AIProx workflow by its ID to execute a multi-agent pipeline, returning run status and a receipt for each paid execution.

Instructions

Trigger an existing AIProx workflow by ID. Returns run status and receipt.

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": {
      "workflow_id": "<workflow_id>"
    },
    "name": "run_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_idYesThe workflow ID to run (e.g. 'wf_abc123')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that a run status and a receipt are returned, which is useful given there is no output schema, but it omits whether execution is synchronous or asynchronous, whether retries are safe (idempotency), and what failure modes exist for an invalid or disabled workflow ID.

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?

Two short sentences, front-loaded with the action and followed by the return contract; nothing is padded or restated from the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with full schema coverage, the essentials are present: what it does, that the target must exist, and what comes back. What is missing is the execution model (blocking vs. fire-and-forget) and error behavior, which matter for a tool whose whole job is launching a process.

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 100% and the single workflow_id parameter already includes a format example ('wf_abc123'). The description adds only the constraint that the ID must reference an existing workflow, which is slight value beyond the schema.

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?

States a specific verb and resource ('Trigger an existing AIProx workflow by ID'), which clearly separates it from create_workflow, delete_workflow, and list_workflows. The 'existing' qualifier reinforces that it does not create anything, though the name alone would already convey most of this.

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?

Usage is only implied: the workflow must already exist, so create_workflow is a prerequisite. There is no explicit statement of when to prefer this over run_template, nor any note about what happens if the workflow was deleted or is disabled.

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