Skip to main content
Glama

Robot Actions — Remote Device Control

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.5/5.0
Behavior5/5

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

With no annotations, the description fully carries the behavioral disclosure burden. It explains live-reference semantics, that edits propagate to referencing tests, that expansion happens at replay time, how paramBindings substitute placeholders, and the authenticated-user requirement. This is unusually transparent for a mutating tool.

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?

The description is four sentences, each earning its place: it states the operation, clarifies the no-copy behavior, explains replay expansion, and covers paramBindings and ownership. Information is front-loaded with no filler.

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 non-annotated mutation tool with no output schema, the description covers what the tool does, when to use it, key behavioral consequences, parameter behavior, and a prerequisite. Nothing necessary for a correct call is missing.

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 the schema already documents all four parameters. The description adds useful context for paramBindings and the insertion position but doesn't materially extend the per-parameter meaning beyond the schema. Baseline 3 is appropriate.

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 names a specific operation: inserting a LIVE reference to a reusable component into a saved test after a given step. It clearly distinguishes the tool from copy/paste behavior and from related flow_recording siblings by emphasizing that the component is not copied but linked.

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?

The description gives clear context: use this when you want a reusable component reference that stays linked and expands at replay time. It notes the ownership prerequisite but does not explicitly name alternative tools or state when this tool should NOT be used.

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