Skip to main content
Glama

Robot Actions — Remote Device Control

Flow recording detach component

flow_recording_detach_component
Destructive

Detach (materialize) a component reference in a test into private, editable copied steps. This replaces the live COMPONENT_REF step with a deep copy of the component's current steps and drops the linkage — future edits to the component no longer propagate to this test. One level only: a component that itself references another component cannot be detached. The test must belong to the authenticated user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepIndexYes1-based index of the COMPONENT_REF step to detach
recordingIdYesTest recording ID containing the component reference

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, but the description goes further: it explains exactly what is destroyed (the live linkage), the consequence (future component edits no longer propagate), and a real operational limit (only one level deep, nested references cannot be detached). That is substantial context beyond the annotations.

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?

Three tight sentences, each earning its place: the action, the behavioral consequence, and the constraints. The core purpose is front-loaded and nothing is redundant.

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 a destructive mutation with no output schema, the definition covers action, effect, side effects, constraints, and auth requirement, while annotations carry the safety profile. An agent has everything needed to invoke it correctly.

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 both recordingId and stepIndex are already documented in the schema, including the 1-based COMPONENT_REF semantics. The description reinforces the COMPONENT_REF context but adds no new parameter syntax or format detail, so the baseline of 3 applies.

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 states a specific verb (detach/materialize) applied to a precise resource (a component reference step in a test), and even clarifies the mechanism (replacing a live COMPONENT_REF step with a deep copy). This clearly distinguishes it from siblings like flow_recording_insert_component and flow_recording_delete_step.

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?

It gives clear context for when to use it (converting a linked component into private, editable steps) and states a hard prerequisite (the test must belong to the authenticated user). It does not explicitly name alternative tools such as flow_recording_replace_step, so it falls short of full when-not/alternatives guidance.

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