Skip to main content
Glama

Every finding of a large validation

get_validation_findings
Read-onlyIdempotent

Every issue of one large validate_bundle result, a page at a time. Give it the result_id from a validate_bundle summary; it reads what validate_bundle kept (the findings, never the bundle) for 1 hour, so the bundle is not sent again and the validator does not run again. The issues come in the order POST /api/v1/validate returns them; call again with page.next_offset until it is null. Optional severity filters to fatal, error, warning or information. An unknown or expired result_id is an error: run validate_bundle again. Synthetic payloads only. Never send real patient data. Findings describe a synthetic Bundle. 60 calls per minute; MCP only.

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": {
      "result_id": "<result_id>"
    },
    "name": "get_validation_findings"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoWhere the page starts, counting the issues chosen (default 0); use page.next_offset.
severityNoOnly issues of this severity.
result_idYesFrom a validate_bundle summary (result_id or next_steps).

Output Schema

NameRequiredDescriptionDefault
pageYes
issuesYes
noticeYes
clippedYes
severityYes
result_idYes
expires_atYes
next_stepsYes
pas_versionYes
findings_digestYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses the 1-hour retention window for cached findings, that the bundle itself is never returned and the validator does not re-run, the ordering guarantee (matches POST /api/v1/validate), the 60 calls/minute rate limit, and the MCP-only scope. That is unusually rich behavioral context for an agent deciding whether a retry is safe or a re-validation is needed.

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?

The pagination contract and error recovery are front-loaded, and most sentences carry unique information. The safety tail ("Synthetic payloads only. Never send real patient data. Findings describe a synthetic Bundle.") repeats the same point three ways, which is the only meaningful slack.

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?

With an output schema present, return values need no explanation, and the description still covers pagination termination, cache lifetime, error recovery, rate limits, and data-handling constraints. Nothing an agent needs to invoke this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: result_id is scoped to a validate_bundle summary and expires after an hour, and offset is tied to the page.next_offset contract. Severity values are only restated from the enum, which is why this is not a 5.

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?

States a specific verb and resource: it returns every issue of one large validate_bundle result, paginated. That phrasing separates it cleanly from validate_bundle (which produces the result) and from explain_finding (which presumably elaborates on a single issue).

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

Usage Guidelines5/5

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

Explicitly says to pass the result_id from a validate_bundle summary, to call again with page.next_offset until it is null, and what to do when result_id is unknown or expired (run validate_bundle again). Those are exactly the decision points an agent hits with a paginated results tool.

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