Skip to main content
Glama
APIBridge MCP Server
by chandru20

run_workflow

Execute predefined CRUD test workflows for users, posts, or products, with optional result saving and stop-on-error controls to validate API behavior.

Instructions

Execute a pre-defined test workflow

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

Input Schema

NameRequiredDescriptionDefault
workflowYesThe name of the workflow to execute
saveResultsNo
stopOnErrorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about side effects, whether the CRUD workflows create/update/delete real data, execution ordering, or what happens on partial failure. The semantics of the two Boolean flags (saveResults, stopOnError) — which materially change behavior — are entirely absent from the description, and for a mutation-heavy tool with zero annotation coverage this is a serious gap.

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 single sentence is front-loaded and free of filler, which is good structurally. But the brevity comes at the cost of all substantive information, so it reads as under-specification rather than economy.

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

Completeness2/5

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

For a workflow executor that fans out into multiple data-mutating operations, with no annotations, no output schema, and only 33% parameter coverage, the description should explain error semantics, what results are returned/saved, and how it differs from the CRUD siblings. None of that is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: only `workflow` has a description, which merely restates its name. The description adds no meaning for `saveResults` (what is saved and where) or `stopOnError` (whether completed steps are rolled back or left applied) — precisely the parameters that determine execution behavior. It therefore fails to compensate for the low coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Execute a pre-defined test workflow" gives a verb (execute) and a resource (pre-defined workflow), so the basic action is identifiable. However, it never explains what a workflow is in this system, and the specific enum values (users_crud_workflow, posts_crud_workflow, products_crud_workflow) that would make the purpose concrete are only visible in the schema. It also does not distinguish itself from the CRUD siblings that operate on the same resources.

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

Usage Guidelines2/5

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

There is no guidance on when to use this batch/workflow executor versus calling the individual sibling tools (create_user, list_posts, update_product, etc.). No prerequisites, no exclusions, and no indication of when a workflow is preferable to direct CRUD calls.

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