assess_drug_likeness
Evaluate drug-likeness of chemical compounds using Lipinski's Rule of Five, Veber rules, and PAINS filters. Input PubChem CID or SMILES string to assess molecular properties for drug development.
Instructions
Assess drug-likeness using Lipinski Rule of Five, Veber rules, and PAINS filters
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | No | PubChem Compound ID (CID) | |
| smiles | No | SMILES string (alternative to CID) |
Implementation Reference
- src/index.ts:1113-1115 (handler)The main handler function that executes the assess_drug_likeness tool logic. Currently implemented as a placeholder returning a 'not yet implemented' message.private async handleAssessDrugLikeness(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Drug-likeness assessment not yet implemented', args }, null, 2) }] }; }
- src/index.ts:542-549 (schema)Input schema definition for the assess_drug_likeness tool, defining optional cid or smiles parameters.inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, smiles: { type: 'string', description: 'SMILES string (alternative to CID)' }, }, required: [], },
- src/index.ts:539-550 (registration)Tool registration entry in the listTools response, providing name, description, and input schema.{ name: 'assess_drug_likeness', description: 'Assess drug-likeness using Lipinski Rule of Five, Veber rules, and PAINS filters', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, smiles: { type: 'string', description: 'SMILES string (alternative to CID)' }, }, required: [], }, },
- src/index.ts:772-773 (registration)Dispatcher case in the CallToolRequestSchema handler that routes calls to the assess_drug_likeness tool to its handler function.case 'assess_drug_likeness': return await this.handleAssessDrugLikeness(args);