Skip to main content
Glama

compliance-rules: GET /api/compliance-rules/:id

get_compliance_rules_by_id_ff37b086c8015c691d8e6ab4
Read-onlyIdempotent

GET /api/compliance-rules/:id. GET /api/compliance-rules/:id. Operation ID: ff37b086c8015c691d8e6ab4; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds nothing beyond that — no indication of auth requirements, error behavior for a missing id, or what the payload contains; it only repeats the route.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the opening endpoint string is duplicated verbatim, which is pure waste, and the remaining content is an operation ID that is already in the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With nested parameters, 0% schema description coverage, no output schema, and a single-record GET semantics, the description should explain the identifier and the response shape. Instead it defers entirely to describe_operation, leaving the agent dependent on a second call.

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

Parameters2/5

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

Schema description coverage is 0% and there are two parameters, including a nested 'params' object with a required 'id'. The description never mentions the id path parameter or the free-form 'query' object, leaving the agent with an opaque schema plus a pointer to another tool.

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

Purpose2/5

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

The description is just the raw endpoint 'GET /api/compliance-rules/:id' repeated twice, which restates the name and title rather than explaining in plain language what a compliance rule is or what is returned. It does not distinguish this single-record fetch from the sibling list tool get_compliance_rules_fd2420bbf97b37f576e660d3.

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 'when to use this vs alternatives' guidance at all. The only actionable sentence points at describe_operation for native request schemas, which is meta-instruction about schema discovery, not usage context or exclusions.

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