Skip to main content
Glama

Analyze Requirements

lexq_requirements
Read-only

Analyze which input facts a version requires. Returns required keys, types, and an example request body.

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>",
      "versionId": "<versionId>"
    },
    "name": "lexq_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYesPolicy group ID
versionIdYesVersion ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, non-destructive, closed-world operation, so safety behavior needs no restating. The description usefully adds what the call returns (required keys, types, sample body), which matters because there is no output schema. It does not mention whether the version must be published or how it behaves for a nonexistent version ID.

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?

Two compact sentences with no filler, and the core action is front-loaded before the return-value note. It is efficient, though it is terse enough that a small amount of additional routing context would have been worth the words.

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 two-parameter, read-only introspection tool with full schema coverage and no output schema, the description covers both the purpose and the shape of the result, which is the main thing an agent needs. Gaps are minor: preconditions such as version state or error behavior are unaddressed.

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%: groupId is documented as the policy group ID and versionId as the version ID, both required with UUID formats. The description only implies the version scoping ('a version requires') and adds no syntax, format, or sourcing detail beyond the schema, so the baseline of 3 applies.

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 specific verb and resource: it analyzes which input facts a given version requires, and it names the output content (required keys, types, example request body). That is clear enough for an agent to distinguish it from listing/creating facts. It does not, however, explicitly contrast itself with nearby read tools like lexq_versions_get or lexq_rules_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. An agent can infer it belongs before submitting facts for a version, but that workflow position is implied rather than stated, and nothing tells the agent how it differs from fetching the version itself.

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.