Skip to main content
Glama

BioContextAI Knowledgebase MCP

Official

bc_get_string_id

Convert protein identifiers or gene names to STRING database IDs for reliable API interactions. Specify protein symbols and optional species taxonomy to retrieve accurate STRING IDs or preferred names.

Instructions

Map a protein identifier to STRING database IDs.

This function helps resolve common gene names, synonyms, or UniProt identifiers to the STRING-specific identifiers. Using STRING IDs in subsequent API calls improves reliability and performance.

Args: protein_symbol (str): The name of the protein to search for (e.g., "TP53"). species (str): The species taxonomy ID (e.g., "9606" for human). Optional. return_field (str): The field to return. Either stringId or preferredName (default: stringId). limit (int): Limit the number of matches returned per query (default: 1).

Returns: str: The STRING ID or preferred name if found, otherwise an error message.

Input Schema

NameRequiredDescriptionDefault
limitNoLimit the number of matches returned
protein_symbolYesThe name of the protein to search for (e.g., 'TP53')
return_fieldNoWhich field to return. Either `stringId` (default) or `preferredName`.stringId
speciesNoThe species taxonomy ID (e.g., '9606' for human)

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 1, "description": "Limit the number of matches returned", "title": "Limit", "type": "integer" }, "protein_symbol": { "description": "The name of the protein to search for (e.g., 'TP53')", "title": "Protein Symbol", "type": "string" }, "return_field": { "default": "stringId", "description": "Which field to return. Either `stringId` (default) or `preferredName`.", "title": "Return Field", "type": "string" }, "species": { "default": "", "description": "The species taxonomy ID (e.g., '9606' for human)", "title": "Species", "type": "string" } }, "required": [ "protein_symbol" ], "type": "object" }

Other Tools from BioContextAI Knowledgebase MCP

Related Tools

    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/biocontext-ai/knowledgebase-mcp'

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