Skip to main content
Glama

invoke_workflow

Invoke a workflow synchronously, asynchronously, or as a stream. tenant_slug is optional; when omitted the tenant is inferred from the API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNo
inputNo
versionNo
snippet_idNoDeprecated alias for workflow_id.
invoke_modeNo
tenant_slugNoTenant slug. Optional — inferred from the API key when omitted.
workflow_idNoWorkflow ID (UUID).
callback_urlNo
snippet_slugNoDeprecated alias for workflow_id.
workflow_slugNoDeprecated alias for workflow_id.

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does disclose tenant inference, which is useful, but it does not explain whether invocation triggers side effects, whether async returns immediately, what stream output looks like, what callback_url does, or how failures manifest.

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 description is a single, front-loaded sentence with no filler. Every phrase contributes: the core action, the three call modes, and the tenant_slug behavior.

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

Completeness1/5

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

This is a 10-parameter tool with no required fields, no output schema, no annotations, and only 50% schema documentation. The description does not resolve how to identify the workflow, which params are needed for a successful invocation, what the response contains, or how async/stream behave.

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 coverage is 50%, and the description essentially repeats tenant_slug optionality already in the schema and lists invoke_mode enum values without adding meaning. It adds no guidance for env, input, version, callback_url, or the deprecated workflow id aliases.

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 opens with 'Invoke a workflow', a specific verb and resource that clearly distinguishes the tool from siblings like create_workflow, get_workflow, and publish_workflow. It also names the three invocation modes, so an agent immediately knows what the tool does and how it can be run.

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 choose sync, async, or stream invocation, nor when to use this tool instead of get_invocation, get_logs, or create_workflow. The description gives no working context, prerequisites, or exclusions.

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.

TDQS

B3.2/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose: workflow lifecycle, invocation, logging, metrics, KV store, secrets, connections, and documentation. Even similar tools like get_logs vs get_invocation are well-differentiated by descriptions.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern (create_workflow, get_workflow, list_workflows). The KV tools (kv_get, kv_set, kv_list, kv_delete) are internally consistent but deviate from the dominant verb_noun style by using a noun_verb prefix.

Tool Count4/5

With 18 tools, the count is slightly above the typical 3-15 range, but the broad platform scope (workflow management, invocation, logging, metrics, KV, secrets, connections, docs) justifies each tool's existence. No tool feels redundant.

Completeness3/5

Workflows have create, read, update (via update_draft), list, and publish, but lack a delete operation. Secrets support create and list but no delete/update, and connections only have list. These lifecycle gaps create potential dead ends for agents.

Resources