Skip to main content
Glama
Augmented-Nature

Unofficial PubChem MCP Server

get_toxicity_info

Retrieve toxicity data such as LD50, carcinogenicity, and mutagenicity for any chemical compound using its PubChem CID on the Unofficial PubChem MCP Server.

Instructions

Get toxicity data including LD50, carcinogenicity, and mutagenicity

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidYesPubChem Compound ID (CID)

Implementation Reference

  • The handler function that implements the core logic of the 'get_toxicity_info' tool. It currently returns a placeholder 'not yet implemented' message.
    private async handleGetToxicityInfo(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Toxicity info not yet implemented', args }, null, 2) }] }; }
  • Tool registration including name, description, and input schema definition for 'get_toxicity_info' in the ListTools response.
    { name: 'get_toxicity_info', description: 'Get toxicity data including LD50, carcinogenicity, and mutagenicity', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], }, },
  • src/index.ts:794-795 (registration)
    Registration and dispatch of the 'get_toxicity_info' tool in the CallToolRequest handler switch statement.
    case 'get_toxicity_info': return await this.handleGetToxicityInfo(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