Skip to main content
Glama

segments_automations_reorder

Accept an ordered list of automation sqids and assign sequential order values (10, 20, 30 …). Every automation in the segment must appear exactly once.

Method: POST /api/v1/workspaces/{workspace_sqid}/segments/{segment_sqid}/automations/reorder/

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": {
      "segment_sqid": "<segment_sqid>",
      "ordered_sqids": "<ordered_sqids>"
    },
    "name": "segments_automations_reorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
segment_sqidYes
ordered_sqidsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden itself. It usefully discloses the resulting order scheme (10, 20, 30 …) and the completeness invariant on the input, but says nothing about what happens if the list is incomplete or duplicated, whether the operation is atomic, what permissions are required, or what the response contains.

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 tight sentences front-load the core semantics and the invariant, followed by a method/endpoint line. The HTTP method line is marginal value for an agent but costs little; nothing else is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated mutation tool with two parameters and no output schema, the description covers the essential input semantics and ordering outcome. It falls short on failure behavior, idempotency, permission requirements, and return value, which are the remaining things an agent would want before calling a reorder operation.

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 0%, so the description needs to compensate. It does explain ordered_sqids well — an ordered list of automation sqids that must contain every automation exactly once — and the endpoint template implies segment_sqid and workspace_sqid are path identifiers, but segment_sqid itself gets no explanation and workspace_sqid appears in the method line while being absent from the input schema.

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?

The description gives a specific verb and resource: it accepts an ordered list of automation sqids and assigns sequential order values. That is clearly distinct from deletion or listing siblings, though it does not explicitly name the alternatives (e.g. steps_reorder) it could be confused with.

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 the stated precondition, 'Every automation in the segment must appear exactly once', which tells the agent when this tool is applicable and what input shape is required. There is no explicit when-not guidance, no mention of when to prefer a different reorder or update tool, and no prerequisite/permission notes.

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.