Skip to main content
Glama
Augmented-Nature

PubChem MCP Server

compare_activity_profiles

Analyze and compare bioactivity profiles of multiple compounds using PubChem CIDs to identify similarities and differences in their chemical activity.

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

  • Handler function that executes the tool logic. Currently a placeholder implementation that returns a message indicating it's 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)
    Tool registration in the list of tools provided to the MCP server, including 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'],
      },
    },
  • Input schema definition for the compare_activity_profiles tool.
    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'],
    },
  • Switch case in the request handler that routes calls to the compare_activity_profiles tool to its handler function.
    case 'compare_activity_profiles':
      return await this.handleCompareActivityProfiles(args);
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure but offers minimal information. It implies a read-only comparison operation but doesn't specify output format, performance characteristics, rate limits, or error conditions. For a tool with 2 parameters and no output schema, this leaves significant gaps in understanding how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized for a tool with clear parameters and no complex behavioral nuances to explain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (comparing multiple compounds), lack of annotations, and absence of an output schema, the description is insufficiently complete. It doesn't explain what the comparison yields (e.g., similarity scores, visualizations, or structured data), which is critical for an agent to understand the tool's utility and integrate results into workflows.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents both parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema (e.g., it doesn't explain what 'bioactivity profiles' consist of or how the comparison is performed). This meets the baseline expectation when schema coverage is high.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as comparing bioactivity profiles across compounds, specifying both the action (compare) and the resource (bioactivity profiles). It distinguishes from siblings like 'get_compound_bioactivities' (which retrieves rather than compares) and 'search_bioassays' (which searches rather than compares profiles), though it doesn't explicitly name these alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, appropriate contexts, or exclusions, leaving the agent to infer usage from the purpose alone. For example, it doesn't clarify if this is for exploratory analysis versus targeted comparison.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

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

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