Skip to main content
Glama

relay_workflow_run

Execute multi-step AI workflows with reduced context usage by keeping intermediate results in the workflow engine, supporting multiple model calls and tool integrations.

Instructions

Execute a multi-step AI workflow. Intermediate results stay in the workflow engine (not your context), providing 90%+ context reduction on complex pipelines. Use for any task requiring multiple model calls or tool integrations. Cost tracks your provider bills, not RelayPlane fees - we're BYOK.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWorkflow name for tracing
stepsYesWorkflow steps
inputYesInput data (accessible via {{input.field}})
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: intermediate results stay in the workflow engine (not the agent's context), provides 90%+ context reduction, and clarifies cost tracking (provider bills, not RelayPlane fees). However, it doesn't mention error handling, timeouts, or output format details, leaving some behavioral aspects unclear.

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

Conciseness4/5

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

The description is appropriately sized and front-loaded, with the core purpose in the first sentence. All sentences add value: context reduction benefits, usage guidelines, and cost clarification. However, the cost explanation could be slightly more concise, and the structure might benefit from clearer separation of key points.

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?

Given the complexity (multi-step workflows with nested objects) and no annotations or output schema, the description does well to cover purpose, usage, and key behavioral traits. It addresses context reduction and cost tracking, which are critical for this type of tool. However, without an output schema, it doesn't describe return values or error formats, leaving some gaps in completeness.

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 description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal parameter semantics beyond the schema—it mentions 'multi-step AI workflow' which aligns with the steps parameter, and references input accessibility via {{input.field}}, but doesn't provide additional syntax or usage details. Baseline 3 is appropriate when the schema does most of the work.

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 clearly states the tool's purpose: 'Execute a multi-step AI workflow' with specific details about intermediate results staying in the workflow engine and providing 90%+ context reduction. It distinguishes from siblings by emphasizing multi-step workflows requiring multiple model calls or tool integrations, unlike simpler run or list tools.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Use for any task requiring multiple model calls or tool integrations.' This clearly indicates when to use this tool versus simpler alternatives like relay_run (likely for single-step execution) or list tools. It also clarifies cost implications, helping users decide based on billing considerations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RelayPlane/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server