clinicaltrialsgov-mcp-server
Version:
Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.
21 lines • 1.1 kB
TypeScript
/**
* @fileoverview Single clinical study resource by NCT ID.
* @module mcp-server/resources/definitions/study.resource
*/
import { z } from '@cyanheads/mcp-ts-core';
import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors';
export declare const studyResource: import("@cyanheads/mcp-ts-core").ResourceDefinition<z.ZodObject<{
nctId: z.ZodString;
}, z.core.$strip>, undefined, readonly [{
readonly reason: "study_not_found";
readonly code: JsonRpcErrorCode.NotFound;
readonly when: "The provided NCT ID does not match any study at ClinicalTrials.gov.";
readonly recovery: "Verify the NCT ID at clinicaltrials.gov or call clinicaltrials_search_studies to discover a valid identifier.";
}, {
readonly reason: "rate_limited";
readonly code: JsonRpcErrorCode.RateLimited;
readonly when: "ClinicalTrials.gov returned 429 after retry budget exhausted.";
readonly recovery: "ClinicalTrials.gov rate-limited the request after several retries; wait about a minute before trying again.";
readonly retryable: true;
}]>;
//# sourceMappingURL=study.resource.d.ts.map