Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Reflect: Delete Previous Step

reflect_delete_previous_step
Destructive

Remove the most recent step from an active Reflect recording session by providing the session ID.

Instructions

Delete the last step added to an active Reflect recording session

Toolset: Recording

Parameters:

  • sessionId (string) required: The ID of the Reflect recording session

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesThe ID of the Reflect recording session
Install Server

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the destructive nature is structurally available. The description adds useful constraints: the session must be active and only the last step is removed. It does not state whether deletion is reversible or what state the session is left in, but this is modest additional context on top of existing annotations.

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 core action is stated in one clear sentence, with no marketing or filler. The Toolset label is brief, though the Parameters section duplicates schema content without adding information. Overall this is efficient and front-loaded, with minor redundancy.

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 single-parameter destructive tool with annotations covering the safety profile, this is nearly sufficient. It identifies the required session ID, the 'active' precondition, and the exact scope ('last step'). It does not describe the response or failure modes, but given the low complexity that is a minor omission.

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?

The input schema already documents sessionId at 100% coverage, and the description's parameter block simply repeats that information verbatim. No additional meaning, such as where to find the session ID or required session state, is added. A baseline of 3 is appropriate because the schema fully covers the parameter.

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 ('Delete'), resource ('last step'), and context ('active Reflect recording session'). The one-sentence description unambiguously differentiates from sibling tools like reflect_add_prompt_step by targeting the most recently added step, so an agent knows exactly what this action performs.

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?

No guidance is provided on when to use this tool versus alternatives, such as how to remove an earlier step or whether a different Reflect tool should be used to modify the session. The description only implies the obvious use case (undo the last added step) and omits exclusions or caveats. This is a meaningful gap for a destructive action.

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

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/SmartBear/smartbear-mcp'

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