Skip to main content
Glama

analyze_molecular_complexity

Evaluate molecular complexity and synthetic accessibility for chemical compounds using PubChem CID to assess synthesis feasibility and structural complexity.

Instructions

Analyze molecular complexity and synthetic accessibility

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidYesPubChem Compound ID (CID)

Implementation Reference

  • The handler function that executes the tool logic for 'analyze_molecular_complexity'. It is a placeholder implementation returning a 'not yet implemented' message.
    private async handleAnalyzeMolecularComplexity(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Molecular complexity analysis not yet implemented', args }, null, 2) }] }; }
  • src/index.ts:551-561 (registration)
    Tool registration entry in the tools list provided by ListToolsRequestSchema handler, including name, description, and input schema.
    { 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'], }, },
  • Input schema definition for the tool's parameters validation.
    inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], },
  • src/index.ts:774-775 (registration)
    Registration of the tool handler in the switch statement of the CallToolRequestSchema request handler.
    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/k-lordbodin7/PubChem-MCP-Server'

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