Skip to main content
Glama

Reorder Sequence Steps

meisa_reorder_sequence_steps
Idempotent

Reorder all of a sequence's steps in one call. Pass step_ids listing every current step id in the desired order. The list must include exactly the sequence's current steps (no missing or extra ids). Get the current step ids from meisa_get_sequence first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
step_idsYesAll current step ids, in the new desired order.
sequence_idYesUUID of the sequence to reorder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare a non-read-only, idempotent, non-destructive mutation. The description adds the key behavioral constraint beyond the annotations: step_ids must contain exactly the current steps, no missing or extra ids — revealing this is a whole-collection replace rather than an incremental operation.

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 short sentences, front-loaded with the action, followed by the constraint and the prerequisite. No filler.

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 two-parameter, no-output-schema tool this covers the essential call contract and the exact-match constraint. It could note what happens if the id set mismatches (error) but otherwise nothing an agent needs is missing.

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, but the description adds real meaning by stressing that the list must match the current step set exactly and ordering semantics ('desired order'). It does not clarify error behavior when the set mismatches.

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 and resource ('Reorder all of a sequence's steps') and clarifies the one-call, whole-sequence scope. This distinguishes it cleanly from meisa_add_sequence_step, meisa_update_sequence_step, and meisa_delete_sequence_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?

Explicitly tells the agent how to obtain prerequisites ('Get the current step ids from meisa_get_sequence first') and states the completeness requirement for the input. It stops short of naming a when-not-to-use case, but the context is clear.

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