Skip to main content
Glama

Robot Actions — Remote Device Control

Flow recording insert component

flow_recording_insert_component

Insert a LIVE reference to a reusable component (fragment) into a saved test, after a given step. The component is not copied — it stays linked, so editing the component later updates every test that references it. The reference is expanded to concrete steps at replay time. Optional paramBindings substitute {{name}} placeholders in the component steps. Both the test and the component must belong to the authenticated user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
snippetIdYesComponent (fragment) recording ID to reference
recordingIdYesTarget test recording ID to insert the component into
paramBindingsNoOptional {{name}} → value substitutions applied to the component steps
afterStepIndexYes1-based index of the step to insert after (0 to insert at the start)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only cover the safety profile (non-read-only, non-idempotent, non-destructive, closed-world). The description adds substantial behavioral context beyond that: the reference is live and linked rather than copied, editing the component updates all referencing tests, expansion happens at replay time, paramBindings perform placeholder substitution, and ownership of both recordings is required.

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-loads the core action and then explains the live-link behavior, replay expansion, bindings, and ownership in five focused sentences. It is well structured and nearly every sentence earns its place, though it could be slightly tighter without losing meaning.

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?

Given a mutation tool with full schema descriptions and annotations covering safety, the description is nearly complete: it explains linkage, replay, bindings, and ownership. It leaves out error conditions (e.g., invalid step index or missing component) and any return behavior, but no output schema exists and the core call semantics are clear.

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. The description adds meaning by explaining that afterStepIndex is 'after a given step', that paramBindings substitutes {{name}} placeholders, and that both recordingId and snippetId must belong to the authenticated user. It does not add further format or edge-case detail for the ID parameters.

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: inserting a live reference to a reusable component into a saved test after a given step. It clearly explains the linkage semantics (not copied, stays linked) but never names or contrasts a sibling tool such as flow_recording_detach_component, so sibling differentiation is absent.

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 clear context for when to use it: to insert a component reference after a step, with the prerequisite that both test and component belong to the authenticated user. It does not state when to avoid it or point to alternative tools, so no explicit exclusions are provided.

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