Skip to main content
Glama

run_folder

Executes every request in a folder in sequence, optionally extracting response values and passing them to later requests for chained API test runs.

Instructions

Execute all requests in a folder (RequestGroup) sequentially, like an Insomnia test suite. Optionally extract values from each response and pass them forward.

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": {
      "folder_id": "<folder_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "run_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedNoSet to true to confirm sending to an external URL after reviewing it
folder_idYesRequestGroup _id to run
workspace_idYes
extract_rulesNoRules for extracting response values and passing to next requests
stop_on_errorNo
environment_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

C2.8/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 behavioral burden. It mentions sequential execution and optional extraction, but omits important behavior such as stop_on_error defaults, external URL confirmation, permissions, side effects, and error handling.

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 concise sentences front-load the core action and add the optional extraction behavior. There is no wasted wording.

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 multi-request execution tool with six parameters and no annotations or output schema, the description is too sparse. It does not cover error behavior, confirmation requirements, environment handling, or workspace scoping.

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 50%, so the description needs to compensate. It explains the intent of extract_rules, but does not add meaning for folder_id, workspace_id, confirmed, stop_on_error, or environment_id.

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?

The description states a specific verb and resource with scope: 'Execute all requests in a folder (RequestGroup) sequentially, like an Insomnia test suite.' It is clear what the tool does, though it does not explicitly distinguish itself from nearby execution siblings such as run_request_chain.

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?

It provides an analogy to an Insomnia test suite but gives no explicit when-to-use guidance, no exclusions, and no comparison to alternative tools like run_request_chain or run_data_driven.

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