Skip to main content
Glama
This connector has been deprecated

This listing duplicates LexQ (io.lexq/lexq), which follows the official MCP Registry entry. Use that listing instead.

Reorder Policy Groups

lexq_groups_reorder
Destructive

Reorder policy groups by priority. Priority is tenant-wide and flat (1...N continuous); array index 0 = priority 1 (highest precedence). activationGroup is not affected — this only changes priority.

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": {
      "groupIds": "<groupIds>"
    },
    "name": "lexq_groups_reorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdsYesGroup IDs in desired priority order (index 0 = priority 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / groupIds / items / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the bar is lower. The description does add valuable context beyond them: priority is tenant-wide and flat (1...N continuous), which explains the blast radius of the mutation, and activationGroup is explicitly left untouched. It still does not say what happens to groups omitted from the array, whether the list must be exhaustive, or the response shape.

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 clauses, all load-bearing: the action, the ordering convention, and the scope exclusion. The most decision-relevant fact (index 0 = highest precedence) is front-loaded with zero 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 one-parameter destructive mutation with no output schema, the definition covers the core semantics: ordering convention, tenant-wide flat numbering, and what is not changed. Remaining gaps are exhaustiveness of the array and any permission/response details, which keep it just short of complete.

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 coverage is 100% and the schema already states 'index 0 = priority 1'. The description reinforces this and adds the meaningful constraint that priority is tenant-wide and continuous 1...N, hinting the array must be complete, but it never states that requirement outright or covers validation failures for partial lists.

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 ('Reorder policy groups by priority') so the operation is unambiguous. It does not explicitly distinguish itself from nearby siblings such as lexq_rules_reorder (rules vs. groups) or explain why lexq_groups_update cannot achieve the same result, so sibling differentiation is only implied by the resource name.

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 can infer this is the tool for changing precedence, and the note that activationGroup is unaffected scopes the call. There is no explicit when-to-use/when-not guidance, no alternative named, and no statement of prerequisites such as permissions or whether every tenant group must be supplied.

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