Skip to main content
Glama

Run one step on its own

run_step
Destructive

Run a single workflow step on its own and get its data back, without building or saving a workflow: for a quick lookup such as what ChatGPT or Gemini answer and cite for a query (chat_gpt_llm_scraper, gemini_llm_scraper), what Google AI Mode or the AI Overview says (google_ai_mode, google_ai_overview), a Google or Bing search, backlinks, ranked keywords, a page scrape or audit, or reading from a connected app. Then analyse the data yourself for the person. Pick the step_type from list_step_types and its settings from get_step_type (as add_step). For the same lookup on several queries, pass queries (2 or more) and they run as one parallel step; the output is then a list in the same order. Steps that send messages, change things in apps, write to a knowledge base or wait for a person are refused: put those in a workflow. It costs money: call it first without approved to check the step and get the cost, tell the person, and only call again with approved: true after they say yes. Returns a run_id; call get_run every 10 seconds or so until done is true (full_output: true when the output says it was cut). The run is in the dashboard logs as started from the assistant.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA short name for the run in the logs.
queriesNoSeveral queries for the same lookup (search, scraper and AI answer steps). Each replaces settings.input_query; the plan limits how many.
approvedNotrue only after the person has agreed to this run and its cost.
messagesNoPrompt steps only: system message, then user message.
settingsNoField names and values from get_step_type, e.g. { "input_query": "best running shoes 2025" } (for an app action: integration_arguments).
new_agentNoAgent steps only: the agent to run, with the same fields as add_step new_agent.
step_typeNoFrom list_step_types, e.g. chat_gpt_llm_scraper, google_ai_mode. Leave out for an app action.
app_actionNoA read action slug from search_actions, e.g. "GMAIL_FETCH_EMAILS".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that the call costs money, mandates a two-phase flow (call without approved to see the step and cost, then re-call with approved: true only after the person agrees), states the side effect that the run appears in dashboard logs as started from the assistant, and notes mutation/message/KB steps are rejected. Shapes align with destructiveHint=true and openWorldHint=true, though the description does not reconcile why a tool that refuses mutating steps is flagged destructive — the cost model is the implied reason.

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?

Front-loaded with the core action and what it returns, then flows into configuration, the parallel-queries case, the refusal boundary, the cost/approval loop, and the run_id polling contract in a logical order. It is a dense single paragraph and the example catalogue of step types runs long, but nearly every clause carries selection or invocation information.

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

Completeness5/5

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

For an 8-parameter, nested-object tool with no output schema, the description covers the whole lifecycle: how to select step_type/settings, the queries batching behaviour, what is refused, the cost-approval protocol, the returned run_id, and the get_run polling cadence with the full_output escape hatch. Nothing an agent needs in order to call it safely and correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: queries must be 2+ for the same lookup, each replaces settings.input_query, they execute as one parallel step, and output comes back as a list in the same order. It also explains the approved gating semantics and where step_type and settings values come from.

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 single workflow step on its own and get its data back') and immediately scopes it against the alternative of building or saving a workflow. The enumerated examples (chat_gpt_llm_scraper, google_ai_mode, search, backlinks, page scrape, app read) make the covered ground concrete and distinguish it from run_workflow/run_pipeline.

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?

Gives explicit when-to-use (quick lookup whose data the agent then analyses itself) and explicit when-not: steps that send messages, change apps, write to a knowledge base or wait for a person are refused and belong in a workflow. It also routes the agent to list_step_types and get_step_type for configuration and to add_step for the equivalent workflow version.

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.

Resources