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, except that activationMode becomes EXCLUSIVE when the request adds an activationGroup to a group without one and sends no activationMode. A deleted group cannot be updated (409 P-059).

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": {
      "groupId": "<groupId>"
    },
    "name": "lexq_groups_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name
statusNoDISABLED stops production execution of this group: execution calls return 403 (P-009), and a composite call that includes the group is rejected in full. The deployed version and any A/B test are kept, and dry run, Impact Simulation, and Decision Replay keep working, so a fix can be verified before setting ACTIVE again. To go back to the previous version, use lexq_deploy_rollback. To take the version out of production, use lexq_deploy_undeploy.
groupIdYesPolicy group ID
descriptionNoNew description
activationModeNoConflict resolution mode. Changing an existing activationGroup to another key keeps the saved mode. A request that changes activationGroup or activationMode and leaves the group with an activationGroup and mode NONE fails with P-066.
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. Changed1 schema field changed
    • changedInput schema / properties / activationMode / description
      Previous value: -"Conflict resolution mode"New value: +"Conflict resolution mode. Changing an existing activationGroup to another key keeps the saved mode. A request that changes activationGroup or activationMode and leaves the group with an activationGroup and mode NONE fails with P-066."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is carried structurally. The description adds genuinely non-obvious behavior: PATCH-style partial update with omitted fields preserved, an implicit activationMode default triggered by adding an activationGroup, and the 409 P-059 failure on deleted groups. It stops short of stating whether updates are versioned or immediately live.

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?

Three sentences, front-loaded with the action, then the update semantics, then the failure case. Every sentence earns its place; the middle sentence is long because it encodes a genuine conditional default, but it is the densest useful part rather than 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 destructive 8-parameter mutation with full schema coverage and no output schema, the description covers partial-update semantics, one cross-field default, and one error case. Missing are auth/permission prerequisites and whether the call returns the updated group, but these are modest gaps against a schema that documents every parameter in detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds a cross-field rule the schema does not express: activationMode silently becomes EXCLUSIVE when an activationGroup is added to a group lacking one and no activationMode is sent. That conditional interaction between two parameters is exactly the kind of meaning the schema cannot convey.

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 opens with a specific verb and resource: 'Update a policy group.' That is unambiguous and matches the tool title and the lexq_groups family naming. It does not, however, differentiate itself from siblings such as lexq_groups_create or lexq_deploy_rollback, which the agent must infer from names alone.

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?

No explicit when-to-use or when-not-to-use guidance appears in the description itself; usage is implied by the generic 'update' verb and by the partial-update semantics. Alternative routing (lexq_deploy_rollback, lexq_deploy_undeploy) is mentioned only in the status parameter's schema description, not in the tool description.

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.