Skip to main content
Glama

BioContextAI Knowledgebase MCP

Official

bc_get_chebi_terms_by_chemical

Retrieve ChEBI terms related to a chemical name by querying the Ontology Lookup Service (OLS). Specify the chemical name, result size, and exact match preference for accurate biological entity identification.

Instructions

Query the Ontology Lookup Service (OLS) for ChEBI terms related to a chemical name.

This function searches for ChEBI (Chemical Entities of Biological Interest) terms associated with a given chemical name using the OLS API.

Args: chemical_name (str): The chemical or drug name to search for (e.g., "aspirin"). size (int): Maximum number of results to return (default: 10). exact_match (bool): Whether to perform an exact match search (default: False).

Returns: dict: Dictionary containing ChEBI terms and information or error message

Input Schema

NameRequiredDescriptionDefault
chemical_nameYesThe chemical or drug name to search for (e.g., 'aspirin', 'glucose')
exact_matchNoWhether to perform an exact match search
sizeNoThe maximum number of results to return

Input Schema (JSON Schema)

{ "properties": { "chemical_name": { "description": "The chemical or drug name to search for (e.g., 'aspirin', 'glucose')", "title": "Chemical Name", "type": "string" }, "exact_match": { "default": false, "description": "Whether to perform an exact match search", "title": "Exact Match", "type": "boolean" }, "size": { "default": 10, "description": "The maximum number of results to return", "title": "Size", "type": "integer" } }, "required": [ "chemical_name" ], "type": "object" }
Install Server

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