Skip to main content
Glama

get_ct_package_codelists

Retrieve all codelists from a CDISC Controlled Terminology package for a given standard (e.g., SDTM, ADaM) and version. Specify standard and date to get IDs and names.

Instructions

Get all codelists available in a CDISC Controlled Terminology package

Args: 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_ct_package_codelists("SDTM") get_ct_package_codelists("ADAM", "2024-12-20")

Returns: Dictionary containing all codelists with their IDs and names

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNo
headers_No
standardNoSDTM
Install Server

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It does disclose the latest-version behavior and the return shape (dictionary of codelist IDs and names). It does not mention error handling, whether results are limited, or the purpose of the headers_ parameter, leaving some gaps.

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?

The description is well-structured with a one-sentence purpose, Args section, Usage examples, and Returns section. Every section adds useful information and nothing is redundant or padded.

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?

The description is adequate for a read-only listing tool: it explains the core parameters, gives examples, and states the return type. It lacks details on the undocumented headers_ parameter and possible error conditions, but these are minor given the tool's simple contract and no output schema.

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 description coverage is 0%, so the description must compensate. It explains standard's meaning and default, and version's format and optionality. It does not document the headers_ parameter, but the two meaningful parameters are clearly covered with examples.

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 opens with a specific verb and resource: 'Get all codelists available in a CDISC Controlled Terminology package.' The word 'all' clearly distinguishes this from singular sibling tools like get_cdisc_codelist, and the package context separates it from dataset/domain-focused siblings.

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 gives clear invocation context: standard defaults to SDTM, version must be YYYY-MM-DD, and latest is fetched if version is omitted. It includes concrete usage examples. However, it does not explicitly name alternatives or situations where a different sibling tool should be used instead.

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