Skip to main content
Glama

Update Policy Group

lexq_groups_update
Destructive

Update a policy group. Only provided fields are updated; omitted fields remain unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name
statusNoStatus (DISABLED = emergency stop)
groupIdYesPolicy group ID
descriptionNoNew description
activationModeNoConflict resolution mode
executionLimitNoHow many policy groups sharing this activationGroup may run. Counts groups, not rules.
activationGroupNoActivation group (Execution Group) cluster key. Policy groups sharing this key compete, and group priority picks the winners.
activationStrategyNoRanking used to pick the winning groups

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 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
    • changedInput schema / properties / activationGroup / description
      Previous value: -"Activation group (Execution Group) cluster key"New value: +"Activation group (Execution Group) cluster key. Policy groups sharing this key compete, and group priority picks the winners."
    • changedInput schema / properties / activationStrategy / description
      Previous value: -"Strategy"New value: +"Ranking used to pick the winning groups"
    • changedInput schema / properties / activationStrategy / enum
      Previous value: -[
      -  "FIRST_MATCH",
      -  "HIGHEST_PRIORITY",
      -  "MAX_BENEFIT"
      -]New value: +[
      +  "HIGHEST_PRIORITY"
      +]
    • changedInput schema / properties / executionLimit / description
      Previous value: -"Max rule executions"New value: +"How many policy groups sharing this activationGroup may run. Counts groups, not rules."
    • addedInput schema / properties / executionLimit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / groupId / 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. Changed2 schema fields changed
    • addedInput schema / properties / activationGroup
      Added value: +{
      +  "description": "Activation group (Execution Group) cluster key",
      +  "type": "string"
      +}
    • removedInput schema / properties / priority
      Removed value: -{
      -  "description": "New priority",
      -  "minimum": 0,
      -  "type": "integer"
      -}
  3. Changed6 schema fields changed
    • addedInput schema / properties / activationMode
      Added value: +{
      +  "description": "Conflict resolution mode",
      +  "enum": [
      +    "NONE",
      +    "EXCLUSIVE",
      +    "MAX_N"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / activationStrategy
      Added value: +{
      +  "description": "Strategy",
      +  "enum": [
      +    "FIRST_MATCH",
      +    "HIGHEST_PRIORITY",
      +    "MAX_BENEFIT"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / conflictResolutionMode
      Removed value: -{
      -  "description": "Conflict resolution mode",
      -  "enum": [
      -    "NONE",
      -    "EXCLUSIVE",
      -    "MAX_N"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / conflictResolutionStrategy
      Removed value: -{
      -  "description": "Strategy",
      -  "enum": [
      -    "FIRST_MATCH",
      -    "HIGHEST_PRIORITY",
      -    "MAX_BENEFIT"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / executionLimit
      Added value: +{
      +  "description": "Max rule executions",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / maxSelections
      Removed value: -{
      -  "description": "Max selections",
      -  "minimum": 1,
      -  "type": "integer"
      -}
  4. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this is a mutating operation. The description adds the partial-update behavior ('Only provided fields are updated; omitted fields remain unchanged'), which is valuable and not in the schema. However, it doesn't disclose what happens on failure, whether changes are reversible, or any side effects on dependent entities. No contradiction with annotations.

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?

The description is a single, efficient sentence that front-loads the action and immediately states the most important behavioral nuance (partial update). No wasted words. It could arguably add a hint about required groupId, but the schema already marks it required.

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 a mutation tool with destructiveHint=true and no output schema, the description is adequate but thin. It covers the core partial-update semantics, but an agent might benefit from knowing whether the update is atomic, whether it can be undone, or what the response contains. The schema covers parameters well, and the sibling list makes the tool's role clear, so a 3 is fair.

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 schema already documents all 8 parameters. The description adds the key semantic that omitted fields are left unchanged, which is critical for update semantics. It does not add per-parameter meaning beyond the schema, but the schema descriptions are already rich (e.g., status 'DISABLED = emergency stop', executionLimit 'Counts groups, not rules'). Baseline 3 is appropriate.

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 states a clear verb and resource: 'Update a policy group.' It distinguishes itself from sibling tools like lexq_groups_create, lexq_groups_delete, and lexq_groups_get by the verb 'update.' However, it doesn't explicitly differentiate from lexq_groups_reorder or lexq_rules_update, though the resource 'policy group' is clear enough.

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?

The description implies usage: call this when you need to modify an existing policy group. It does not state when to use alternatives like lexq_groups_create or lexq_groups_reorder, nor does it mention any prerequisites (e.g., group must exist). The partial-update semantics ('Only provided fields are updated') is a useful usage hint, but no explicit when/when-not guidance is given.

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