get_study_details
Retrieve comprehensive clinical trial information using the NCT ID to access study details, safety profiles, and adverse event data for drug assessment.
Instructions
Get detailed information about a specific clinical trial by NCT ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nct_id | Yes | NCT ID of the study. Example: 'NCT04267848' |
Implementation Reference
- src/index.ts:429-443 (handler)The actual implementation of the get_study_details tool.
private async getStudyDetails(nctId: string) { const data = await this.getStudyByNCT(nctId); return { content: [ { type: "text", text: JSON.stringify({ nct_id: nctId, study_details: data }, null, 2) } ] }; } - src/index.ts:152-164 (registration)Tool registration for get_study_details in MCP.
{ name: "get_study_details", description: "Get detailed information about a specific clinical trial by NCT ID", inputSchema: { type: "object", properties: { nct_id: { type: "string", description: "NCT ID of the study. Example: 'NCT04267848'" } }, required: ["nct_id"] } - src/index.ts:312-316 (handler)The switch case handling the execution of the get_study_details tool.
case "get_study_details": if (!args.nct_id) { throw new McpError(ErrorCode.InvalidParams, "NCT ID is required"); } return await this.getStudyDetails(args.nct_id);