get_literature_references
Retrieve PubMed citations and scientific literature references for chemical compounds using their PubChem Compound ID to support research and verification.
Instructions
Get PubMed citations and scientific literature references
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID (CID) |
Implementation Reference
- src/index.ts:1203-1205 (handler)Placeholder implementation of the get_literature_references tool handler. Returns a message indicating it is not yet implemented.private async handleGetLiteratureReferences(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Literature references not yet implemented', args }, null, 2) }] }; }
- src/index.ts:711-717 (schema)Input schema definition for the get_literature_references tool, requiring a CID parameter.inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], },
- src/index.ts:708-718 (registration)Registration of the get_literature_references tool in the MCP server tools list, including name, description, and schema.{ name: 'get_literature_references', description: 'Get PubMed citations and scientific literature references', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], }, },
- src/index.ts:806-807 (registration)Dispatcher switch case that routes calls to the get_literature_references tool to its handler.case 'get_literature_references': return await this.handleGetLiteratureReferences(args);