Skip to main content
Glama

search_by_target

Find compounds tested against specific biological targets like genes, proteins, or pathways. Filter results by activity type and retrieve relevant bioactivity data from PubChem's chemical database.

Instructions

Find compounds tested against a specific biological target

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activity_typeNoType of activity (e.g., IC50, EC50, Ki)
max_recordsNoMaximum number of results (1-1000, default: 100)
targetYesTarget name (gene, protein, or pathway)

Implementation Reference

  • Handler function that executes the 'search_by_target' tool logic. Currently a placeholder implementation returning a 'not yet implemented' message.
    private async handleSearchByTarget(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Target search not yet implemented', args }, null, 2) }] }; }
  • Input schema for validating arguments to the 'search_by_target' tool.
    inputSchema: { type: 'object', properties: { target: { type: 'string', description: 'Target name (gene, protein, or pathway)' }, activity_type: { type: 'string', description: 'Type of activity (e.g., IC50, EC50, Ki)' }, max_records: { type: 'number', description: 'Maximum number of results (1-1000, default: 100)', minimum: 1, maximum: 1000 }, }, required: ['target'], },
  • src/index.ts:786-787 (registration)
    Dispatch/registration case in the tool request handler switch statement that routes calls to the handleSearchByTarget method.
    case 'search_by_target': return await this.handleSearchByTarget(args);
  • src/index.ts:612-624 (registration)
    Tool registration entry in the ListToolsRequestSchema response, defining name, description, and schema.
    { name: 'search_by_target', description: 'Find compounds tested against a specific biological target', inputSchema: { type: 'object', properties: { target: { type: 'string', description: 'Target name (gene, protein, or pathway)' }, activity_type: { type: 'string', description: 'Type of activity (e.g., IC50, EC50, Ki)' }, max_records: { type: 'number', description: 'Maximum number of results (1-1000, default: 100)', minimum: 1, maximum: 1000 }, }, required: ['target'], }, },

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