Skip to main content
Glama

get_external_references

Retrieve links to external databases like ChEMBL, DrugBank, and KEGG using a PubChem Compound ID (CID) for comprehensive chemical reference data.

Instructions

Get links to external databases (ChEMBL, DrugBank, KEGG, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidYesPubChem Compound ID (CID)

Implementation Reference

  • Placeholder implementation of the get_external_references tool handler. Returns a message indicating it is not yet implemented, echoing the input args.
    private async handleGetExternalReferences(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'External references not yet implemented', args }, null, 2) }] }; }
  • Input schema for the get_external_references tool, requiring a 'cid' parameter of type number or string.
    inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], },
  • src/index.ts:685-695 (registration)
    Registration of the get_external_references tool in the server's tools list, including name, description, and input schema.
    { name: 'get_external_references', description: 'Get links to external databases (ChEMBL, DrugBank, KEGG, etc.)', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], }, },
  • src/index.ts:802-803 (registration)
    Dispatcher case in the request handler that routes calls to the get_external_references tool to its handler method.
    case 'get_external_references': return await this.handleGetExternalReferences(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