Skip to main content
Glama

Reorder rules

reorder_automations

Set the order rules run in, top first: every rule's id once. A rule with a Stop other rules step stops the ones below it.

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": {
      "ids": "<ids>"
    },
    "name": "reorder_automations"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already disclose readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds genuine behavioral context that the annotations cannot convey: order determines execution sequence, top first, and a rule with a 'Stop other rules' step terminates all rules below it. That explains the consequence of the ordering being set, although permissions, atomicity, and behavior on an incomplete id list remain undisclosed.

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?

Two short sentences with no filler, and the ordering rule is front-loaded ahead of the secondary 'Stop other rules' caveat. Every clause carries information the agent needs.

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 single-parameter mutation with no output schema, the definition covers what the operation does, the shape of the payload, and the downstream effect of the resulting order. Only edge-case behavior (partial lists, invalid or unknown ids) is left open, which is a minor gap at this complexity level.

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 must carry the burden, and it does add meaning: the ids array is not just 'a list of uuids' but the complete ordered set, each rule's id appearing exactly once, top first. That constrains the array semantically in a way the schema cannot. However, it does not address the schema's 1-200 min/max bounds or clarify whether a subset is rejected, so it only partly compensates.

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 names a specific verb and resource: 'Set the order rules run in', with 'top first' fixing the direction of the ordering. That is unambiguous, though it does not explicitly contrast itself with siblings such as list_automations or create_automation aside from the implicit 'order' framing.

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 rather than stated: the agent learns that it must supply every rule's id exactly once, which is a correctness rule for invoking the tool. There is no explicit when-to-use versus alternatives guidance, no note on prerequisites (e.g., existing rules), and no statement about what happens if the submission is partial or incomplete.

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