compare_activity_profiles
Analyze and compare bioactivity profiles of 2 to 50 PubChem compounds to identify similarities or differences in specific activity types.
Instructions
Compare bioactivity profiles across multiple compounds
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_type | No | Specific activity type for comparison (optional) | |
| cids | Yes | Array of PubChem CIDs (2-50) |
Implementation Reference
- src/index.ts:1156-1158 (handler)The handler function implementing the core logic for the 'compare_activity_profiles' tool. Currently returns a placeholder message indicating it is not yet implemented.private async handleCompareActivityProfiles(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Activity profile comparison not yet implemented', args }, null, 2) }] }; }
- src/index.ts:628-635 (schema)Input schema defining the parameters for the tool: required array of CIDs (2-50 items) and optional activity_type string.inputSchema: { type: 'object', properties: { cids: { type: 'array', items: { type: 'number' }, description: 'Array of PubChem CIDs (2-50)', minItems: 2, maxItems: 50 }, activity_type: { type: 'string', description: 'Specific activity type for comparison (optional)' }, }, required: ['cids'], },
- src/index.ts:625-636 (registration)The tool registration descriptor object passed to server.setTools(), containing the name, description, and input schema.{ name: 'compare_activity_profiles', description: 'Compare bioactivity profiles across multiple compounds', inputSchema: { type: 'object', properties: { cids: { type: 'array', items: { type: 'number' }, description: 'Array of PubChem CIDs (2-50)', minItems: 2, maxItems: 50 }, activity_type: { type: 'string', description: 'Specific activity type for comparison (optional)' }, }, required: ['cids'], }, },
- src/index.ts:788-789 (registration)Switch case in the tool request handler that dispatches execution to the specific handler method.case 'compare_activity_profiles': return await this.handleCompareActivityProfiles(args);