Skip to main content
Glama

steps_test_run

Runs the step's integration profile for lead_sqid outside any campaign, to check the configuration. This is a real call with real side effects (e.g. it really starts a subscription), the outputs are written to the lead, and connects are charged — so confirm=true is required. Use an internal test lead. The profile sees {{run.key}} as test-<id>, unique per test run.

Method: POST /api/v1/workspaces/{workspace_sqid}/sequences/{sequence_sqid}/steps/{sqid}/test-run/

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": {
      "sequence_sqid": "<sequence_sqid>",
      "sqid": "<sqid>",
      "confirm": "<confirm>",
      "lead_sqid": "<lead_sqid>"
    },
    "name": "steps_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes
confirmYes
lead_sqidYes
sequence_sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it warns this is a real call with real side effects (subscription actually started), that outputs are written to the lead, that connects are charged, and that confirm=true is mandatory. It also discloses the run-key templating behavior ('test-<id>', unique per run), which an agent could not infer from the schema.

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?

Front-loads the destructive nature of the call in bold before any procedural detail, then adds the confirm requirement, the lead constraint, and the run-key note. Every sentence contributes a fact an agent needs; nothing is padded.

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?

For a side-effecting, no-annotation, no-output-schema tool this covers the critical risks: cost, lead mutation, and the confirm gate. It does not describe what the call returns (test output or diagnostics) or failure behavior, which is the main remaining gap given there is no output schema to fall back on.

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 description coverage is 0%, so the description must compensate and largely does: it explains why confirm is required, that lead_sqid should be an internal test lead, and the method line documents the path params (workspace, sequence, step sqid). It does not spell out the meaning of sqid or sequence_sqid in prose beyond the URL template, leaving a small gap.

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?

States a specific verb and resource ('Runs the step's integration profile') plus the scoping condition ('outside any campaign') and intent ('to check the configuration'). It is clear enough to separate from campaign-execution siblings by scope, though it never names an alternative tool directly.

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

Usage Guidelines4/5

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

Gives a clear use condition (verifying configuration) and a concrete operating constraint ('Use an internal test lead'). It stops short of explicit when-not guidance or naming which sibling to use for a real production run, so it is strong context without full routing.

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.