Skip to main content
Glama

Get Policy Group

lexq_groups_get
Read-only

Get a single policy group by ID. Its currentVersionId and currentDeploymentId are what lexq_deploy_rollback expects, and previousVersionName is the version a rollback restores.

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_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYesPolicy group ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish this as a safe, closed-world read, so the bar is lower; the description goes further by naming three returned fields and explaining what each means for rollback. It still doesn't characterize the rest of the returned group object, but the key behavioral context is supplied.

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, front-loaded with the core action and followed by the field-level context that justifies the call. Nothing is redundant or padded.

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 read with full annotation coverage, the definition is nearly sufficient; the only gap is that no output schema exists and the description names just three return fields rather than sketching the whole group payload. That is a minor shortfall for such a simple getter.

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?

There is one parameter with 100% schema description coverage ("Policy group ID"), so the schema carries the semantics and baseline 3 applies. The description only restates "by ID" and adds no format, sourcing, or lookup guidance beyond the UUID pattern already declared.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get a single policy group by ID" gives a specific verb (get), resource (policy group), and scope (single, by ID), which cleanly separates it from lexq_groups_list, lexq_groups_update, and lexq_groups_create. An agent can pick it out without opening the schema.

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 a usage path by tying currentVersionId/currentDeploymentId to lexq_deploy_rollback, hinting this is the lookup step before a rollback. It never states when to prefer it over lexq_groups_list or any exclusions, so the guidance is implied rather than explicit.

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.