Skip to main content
Glama

Loop Action

importio_action_loop
Destructive

Repeat a nested action sequence within a single importio_play_action pipeline; fields carries the upstream LoopAction configuration defining what repeats and when to stop. Verify deduplication and stop conditions in the calling workflow, because a misconfigured loop can run indefinitely.

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": {
      "fields": "<fields>"
    },
    "name": "importio_action_loop"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoOptional second playAction argument forwarded after the envelope; omit it unless the upstream action expects one.
fieldsYesAction-specific configuration forwarded into the action envelope; each tool description states what it should contain where that contract is documented, otherwise it names the upstream configuration fields carries.
optionalNoFlag forwarded into the action envelope; omit it unless the upstream action documents it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / fields / description
      Added value: +"Action-specific configuration forwarded into the action envelope; each tool description states what it should contain where that contract is documented, otherwise it names the upstream configuration fields carries."
    • addedInput schema / properties / input / description
      Added value: +"Optional second playAction argument forwarded after the envelope; omit it unless the upstream action expects one."
    • addedInput schema / properties / optional / description
      Added value: +"Flag forwarded into the action envelope; omit it unless the upstream action documents it."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructive=true, openWorld=true, non-idempotent and non-read-only, so the safety profile is known. The description adds genuine value beyond that: it warns that a misconfigured loop can run indefinitely and that deduplication/stop conditions must be verified by the caller, which is real operational risk context not encoded in any structured field.

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?

Two compact clauses: purpose first, then the parameter's contract, then the risk warning — front-loaded and free of filler. The semi-colon construction is dense but readable; nothing is wasted, though the warning could be a separate sentence for scannability.

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 nested-object action with no output schema, the description covers purpose, the required parameter's source, and the key failure mode (infinite looping). Safety traits are fully covered by annotations. The remaining gap is that the concrete shape of the LoopAction configuration passed via `fields` is only pointed at, not described.

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 baseline is 3. The description does add meaning by stating that `fields` carries the upstream LoopAction configuration defining what repeats and when to stop, which is more specific than the schema's generic 'action-specific configuration' wording, but it gives no concrete field names or shapes for the nested object.

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: 'Repeat a nested action sequence within a single importio_play_action pipeline', and clarifies the role of the required parameter. It is distinguishable from most siblings (click, wait, goto) by being a repetition construct, though it does not explicitly contrast itself with importio_action_flow_control or importio_action_goto, which are the nearest conceptual neighbors.

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

Usage Guidelines3/5

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

Usage is implied by 'within a single importio_play_action pipeline' and by the instruction to verify deduplication and stop conditions in the calling workflow, which tells the agent this belongs inside a larger pipeline rather than standalone. However, there is no explicit when-to-use versus when-to-use-an-alternative guidance (e.g., loop vs. flow_control vs. goto), so the agent must infer 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.

Resources