Skip to main content
Glama

compare_activity_profiles

Compare bioactivity profiles across multiple compounds to identify similarities and differences in chemical behavior using PubChem data.

Instructions

Compare bioactivity profiles across multiple compounds

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activity_typeNoSpecific activity type for comparison (optional)
cidsYesArray of PubChem CIDs (2-50)

Implementation Reference

  • The main handler function for the 'compare_activity_profiles' tool. It currently returns a placeholder response indicating the feature 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:625-636 (registration)
    Registration of the tool in the ListTools response, including the tool name, description, and input schema definition.
    { 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'], }, },
  • The input schema defining the expected parameters for the tool: an array of CIDs (2-50) and optional activity_type.
    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'], }, },
  • The switch case in the CallToolRequest handler that dispatches to the specific tool handler.
    case 'compare_activity_profiles': return await this.handleCompareActivityProfiles(args);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/k-lordbodin7/PubChem-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server