Skip to main content
Glama

get_cdisc_codelist

Retrieve CDISC controlled terminology codelists with all terms and metadata by codelist ID or code, standard, and version. Use it to get standardized clinical data values for SDTM, ADaM, or CDASH.

Instructions

Retrieve CDISC Controlled Terminology codelist with terms and metadata

Args: codelist_value: The codelist name (e.g., AGEU, PARAMCD, ACN, DTYPE) codelist_type: Match by 'ID' or 'CodelistCode'. Default is 'ID'. standard: CDISC standard (SDTM, ADAM, CDASH, etc.). Default is 'SDTM'. version: CT version in YYYY-MM-DD format. If not provided, fetches latest.

Usage: get_cdisc_codelist("AGEU") get_cdisc_codelist("ACN", standard="SDTM") get_cdisc_codelist("DTYPE", standard="ADAM") get_cdisc_codelist("AGEU", version="2024-12-20") get_cdisc_codelist("C66734", codelist_type="CodelistCode")

Returns: Dictionary containing codelist metadata and all terms with their decoded values

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNo
headers_No
standardNoSDTM
codelist_typeNoID
codelist_valueYes
Install Server

TDQS

A3.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It explains default values for standard and codelist_type, the 'fetches latest' behavior when version is omitted, and the return shape. It does not cover error behavior or undocumented headers_, but the core behavior is transparent.

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 description is well-structured with a front-loaded summary, Args, Usage, and Returns sections. The usage examples are slightly repetitive but provide valuable call variations, and no filler sentences are present.

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?

For a tool with 5 parameters, no annotations, and no output schema, the description covers most inputs and the return type well. However, headers_ is completely undocumented, and there is no guidance on edge cases, errors, or how this tool relates to the many sibling search/package functions.

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?

With 0% schema description coverage, the description compensates well by explaining codelist_value with examples, codelist_type matching modes, standard defaults, and version format. The main gap is headers_, which is not described anywhere in the schema or description.

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 opens with a specific verb and object: 'Retrieve CDISC Controlled Terminology codelist with terms and metadata.' This clearly identifies the tool's purpose and differentiates it from sibling functions that focus on packages, domains, or dataset specializations, though it does not explicitly name a sibling.

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

Usage Guidelines3/5

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

The usage examples provide concrete calling patterns for different parameters, implying when the tool is useful. However, it does not explicitly say when to prefer this tool over alternatives like search_cdisc_library or get_ct_package_codelists, or when not to use it.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/i-akiya/Shiranui'

If you have feedback or need assistance with the MCP directory API, please join our Discord server