Skip to main content
Glama

analyze_molecular_complexity

Calculate molecular complexity and synthetic accessibility using PubChem CID for chemical compounds. Ideal for researchers assessing compound feasibility for synthesis.

Instructions

Analyze molecular complexity and synthetic accessibility

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidYesPubChem Compound ID (CID)

Implementation Reference

  • The primary handler function that executes the 'analyze_molecular_complexity' tool logic. Currently implemented as a placeholder indicating the feature is not yet fully developed.
    private async handleAnalyzeMolecularComplexity(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Molecular complexity analysis not yet implemented', args }, null, 2) }] }; }
  • Input schema definition for the tool, specifying that a PubChem CID is required. Part of the tools list returned by ListToolsRequestSchema.
    { name: 'analyze_molecular_complexity', description: 'Analyze molecular complexity and synthetic accessibility', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], }, },
  • src/index.ts:774-775 (registration)
    Dispatch registration in the CallToolRequestSchema handler's switch statement, routing tool calls to the appropriate handler method.
    case 'analyze_molecular_complexity': return await this.handleAnalyzeMolecularComplexity(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/PubChem-MCP-Server'

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