Skip to main content
Glama

list_compliance_findings

Read-only

List compliance findings

Deterministic verdicts against the published rules, newest first and keyset-paginated on (first_detected_at, finding_id). A finding stays open until the registration is corrected, at which point the next scan stamps resolved_at; first_detected_at survives every re-scan. Distinct from /v1/anomalies, which reports observed behaviour rather than rule breaches. The first page's meta.facets gives rule and grade counts over the filtered set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ruleNoFilter to one rule code (from `GET /v1/compliance/rules`).
seatNoFilter to one operating seat id (e.g. `PBE000123`).
gradeNoFilter by severity.
limitNoPage size, clamped to [1, 200]. Defaults to 50.
sinceNoOnly findings whose `last_seen_at` or `resolved_at` is at or after this ISO 8601 instant: everything the latest scans still confirm, plus everything opened, changed or resolved since. A finding whose evidence has not moved for weeks stays in the answer for as long as its rule keeps being scanned, so polling this converges on the live set.
cursorNoOpaque pagination cursor returned as `next_cursor` by the previous page.
schemeNoFilter to one participant scheme id, for participant-grain rules.
statusNoLifecycle slice; defaults to the open findings.open
countryNoFilter to one ISO 3166-1 alpha-2 country.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / since / description
      Previous value: -"Only findings whose `last_confirmed_at` is at or after this ISO 8601 instant. A change feed, not a liveness feed — use `status=open` to enumerate everything still live."New value: +"Only findings whose `last_seen_at` or `resolved_at` is at or after this ISO 8601 instant: everything the latest scans still confirm, plus everything opened, changed or resolved since. A finding whose evidence has not moved for weeks stays in the answer for as long as its rule keeps being scanned, so polling this converges on the live set."
  2. Changed1 schema field changed
    • changedInput schema / properties / since / description
      Previous value: -"Only findings last confirmed at or after this ISO 8601 instant."New value: +"Only findings whose `last_confirmed_at` is at or after this ISO 8601 instant. A change feed, not a liveness feed — use `status=open` to enumerate everything still live."
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only signal readOnlyHint=true, and the description adds substantial behavioral context: deterministic verdicts, newest-first ordering, keyset pagination on a composite key, the open/resolved lifecycle, persistence of `first_detected_at` across rescans, and `meta.facets` on the first page. This goes well beyond what annotations or the schema alone would tell the agent.

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?

Four dense sentences each contribute distinct information: what the tool returns, ordering/pagination, lifecycle behavior, and differentiation from anomalies. There is no filler or repetition of schema content, and the most identifying facts are front-loaded.

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

Completeness5/5

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

Given the tool has 9 optional parameters and no output schema, the description covers the operational essentials: deterministic rule-based results, ordering, pagination key, lifecycle transitions, polling convergence, and first-page facets. An agent has enough context to select the tool, set filters, and interpret pagination without major gaps.

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 input schema already fully documents all nine parameters, including defaults, enums, and the `since` polling semantics. The description adds no parameter-specific details but does explain global behavior like facets, which is consistent with the baseline-3 expectation when the schema carries the parameter burden.

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?

The description names a specific verb ('List') and resource ('compliance findings'), then clarifies the domain further as 'deterministic verdicts against the published rules' with explicit ordering and pagination semantics. It also distinguishes itself from `/v1/anomalies`, so an agent can tell it apart from the most similar sibling without reading schemas.

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

Usage Guidelines4/5

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

The description explicitly contrasts this tool with `/v1/anomalies`, saying anomalies report observed behaviour rather than rule breaches, which is a clear when-not-to-use signal. It does not enumerate all alternative siblings or spell out an exhaustive 'use this when...' statement, but it covers the main routing ambiguity.

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