Skip to main content
Glama

get_antibody_info

Retrieve detailed antibody validation and staining data for a specific protein using gene symbol input in JSON or TSV format, hosted on the ProteinAtlas MCP Server.

Instructions

Get antibody validation and staining information for a protein

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format (default: json)
geneYesGene symbol

Implementation Reference

  • Handler function for the 'get_antibody_info' tool. Validates input using isValidGeneArgs, fetches data via fetchAntibodyInfo helper, returns formatted JSON text content or error response.
    private async handleGetAntibodyInfo(args: any) { if (!isValidGeneArgs(args)) { throw new McpError(ErrorCode.InvalidParams, 'Invalid gene arguments'); } try { const result = await this.fetchAntibodyInfo(args.gene); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: `Error fetching antibody info: ${error instanceof Error ? error.message : 'Unknown error'}`, }, ], isError: true, }; } }
  • Input schema definition for 'get_antibody_info' tool specifying required 'gene' parameter and optional 'format'.
    inputSchema: { type: 'object', properties: { gene: { type: 'string', description: 'Gene symbol' }, format: { type: 'string', enum: ['json', 'tsv'], description: 'Output format (default: json)' }, }, required: ['gene'], },
  • src/index.ts:590-600 (registration)
    Tool registration entry in the tools list provided to listTools, including name, description, and input schema.
    name: 'get_antibody_info', description: 'Get antibody validation and staining information for a protein', inputSchema: { type: 'object', properties: { gene: { type: 'string', description: 'Gene symbol' }, format: { type: 'string', enum: ['json', 'tsv'], description: 'Output format (default: json)' }, }, required: ['gene'], }, },
  • src/index.ts:695-696 (registration)
    Registration of the tool handler in the switch statement within the CallToolRequestHandler.
    case 'get_antibody_info': return this.handleGetAntibodyInfo(args);
  • Supporting helper that performs the API search for antibody information by specifying relevant columns like 'ab', 'abrr', 'relih' etc.
    private async fetchAntibodyInfo(gene: string): Promise<any> { const columns = ['g', 'eg', 'ab', 'abrr', 'relih', 'relmb', 'relce']; return this.searchProteins(gene, 'json', columns, 1); }

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/ProteinAtlas-MCP-Server'

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