Skip to main content
Glama
CDISC Library MCP Server

CDISC Library MCP Server

by whereayan

get_datastructures

Read-only

Retrieves a list of analysis data structures (e.g., ADSL, BDS) for an ADaM standard and version, so you can discover available structures when datasets endpoints are unavailable.

Instructions

获取 ADaM 产品(adam / adamig)包含的分析数据结构清单(ADSL、BDS 等)。 ADaM 侧没有 datasets 端点,get_datasets 对 adam/adamig 一定 404,要先用这个看有哪些结构。

示例: standard='adamig', version='latest'

Input Schema

NameRequiredDescriptionDefault
rawNotrue 时返回未经瘦身的原始 API 载荷(含 _links 等超媒体元数据);默认 false,返回已瘦身、更省 token 的响应
versionYes版本号,支持 '1-3' 或 '1.3' 格式;传 'latest' 自动解析为该产品当前最新版本
standardYes标准名称: sdtm, sdtmig, sendig, adam, adamig, cdash, cdashig

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

The readOnlyHint annotation already identifies this as a safe read, and the description usefully adds the behavioral fact that get_datasets returns 404 on the ADaM side. However, it says nothing about the response shape, how the list is ordered, or pagination; so beyond the annotation, the added value is real but thin.

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 purpose is front-loaded, and the 404 caveat follows immediately with no filler. The trailing example line is genuinely useful, though it slightly echoes the schema's 'latest' description.

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 read-only list tool with a fully documented schema and no output schema, this description is nearly complete. One gap remains: the standard enum also allows sdtm, sdtmig, sendig, cdash, and cdashig, but the description talks only about ADaM products. It is therefore unclear whether the tool applies to those standards or only to ADaM.

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?

The schema covers all three parameters at 100%, including the 'latest' version convention and the enum of standards. The example (standard='adamig', version='latest') illustrates typical values but adds no meaning beyond what the schema already documents; the baseline of 3 is therefore appropriate.

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 states a specific verb and resource: it retrieves the list of analysis data structures (ADSL, BDS, etc.) for an ADaM product. It also names the concrete distinguishing difference from the sibling get_datasets, so an agent can identify the right tool without reading either schema.

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?

The description explicitly says when to use this tool: on the adam/adamig side, use this tool first to see which data structures exist. It also explains why the alternative fails: get_datasets will always return 404 for these standards. It also includes a worked parameter example, leaving little to infer.

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