get_literature_references
Retrieve PubMed citations and scientific literature references by entering a PubChem Compound ID (CID). Explore related research and data for chemical compounds on this PubChem MCP Server tool.
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)The handler function that executes the tool logic. Currently returns a placeholder message indicating it's 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 tool, specifying the required 'cid' parameter.inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], },
- src/index.ts:708-718 (registration)Tool registration in the listTools response array, 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)Switch case that routes tool calls to the specific handler method.case 'get_literature_references': return await this.handleGetLiteratureReferences(args);