Skip to main content
Glama
Augmented-Nature

Unofficial PubChem MCP Server

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
NameRequiredDescriptionDefault
activity_typeNoSpecific activity type for comparison (optional)
cidsYesArray of PubChem CIDs (2-50)

Implementation Reference

  • 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) }] }; }
  • 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);

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/Augmented-Nature/Augmented-Nature-PubChem-MCP-Server'

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