Skip to main content
Glama

Page through a stored CORE run

sdtm_get_run
Read-onlyIdempotent

Re-read a saved SDTM validation run with alternate grouping, filters, or pagination to inspect results without re-running CORE.

Instructions

Re-read a stored validation run with different grouping, filters or page, without re-running CORE.

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": {
      "run_id": "<run_id>"
    },
    "name": "sdtm_get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNonext_cursor from the previous page.
run_idYes
domainsNo
group_byNorule
rule_idsNo
examples_per_groupNo

Output Schema

NameRequiredDescriptionDefault
groupsYes
run_idYes
totalsYes
summaryYesOne or two sentence plain-language answer.
versionYes
datasetsYes
findingsNo
group_byYes
standardYes
citationsYes
disclaimerNoDecision support only. Verify against the current guideline and your site SOPs.
provenanceYes
assumptionsNo
next_cursorNoPass as cursor to get the next page of groups.
core_versionYes
execution_errorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety and repeatability are covered. The description adds the meaningful behavioral point that no validation is re-executed, but says nothing about failure behavior for an unknown run_id or whether any re-grouping is computed on the fly.

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?

A single tight sentence with the purpose and the key constraint front-loaded; nothing is redundant or padded.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and annotations cover the safety profile. But for a seven-parameter tool with 14% schema coverage and pagination, the description is too thin on parameter behavior and on what happens with an invalid run_id or exhausted cursor.

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 only 14%, so the description has to carry much of the burden; it partially does by mapping its phrases to parameters (grouping -> group_by, filters -> domains/rule_ids, page -> cursor/limit). It leaves limit bounds, examples_per_group, and the meaning of run_id unexplained, so several of the seven parameters remain undocumented in both places.

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 gives a specific verb and resource: re-read a stored validation run, with the key qualifier that no re-run of CORE occurs. That implicitly separates it from sdtm_validate, but it never names the sibling or states that run_id must reference a previously stored run, so the differentiation is inferential rather than explicit.

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?

It states a clear use condition: read an existing run when you want different grouping, filters or pagination instead of re-running CORE. That is actionable guidance, but there are no exclusions (e.g. when a fresh run is required) and the alternative tool is not named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.