Skip to main content
Glama

Bioportal Search

bioportal_search
Read-onlyIdempotent

Search ~1,300 biomedical ontologies for a term and get back the matching classes with their preferred label, synonyms, definition, ontology and permanent class IRI. AUTHORITATIVE for mapping free text to a coded clinical concept (NCIT, SNOMEDCT, LOINC, RXNORM, MESH, HPO, ICD10CM), these are the curated terminologies themselves, not a description of them. Restrict with ontologies when you know which vocabulary you want.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "query": "melanoma",
      "ontologies": "NCIT,DOID"
    },
    "name": "bioportal_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax classes to return, 1-100 (default 25)
queryYesTerm to search for (e.g. "melanoma", "metformin")
_apiKeyNoYour own BioPortal API key (free, https://bioportal.bioontology.org/accounts/new). Optional, without one the call uses a shared key that NCBO rate-limits across all of its users.
ontologiesNoComma-separated ontology acronyms to restrict to (e.g. "NCIT,DOID,SNOMEDCT")
exact_matchNoOnly exact label/synonym matches (default false)
require_definitionsNoOnly return classes that carry a definition

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Your own BioPortal API key (free, https://bioportal.bioontology.org/accounts/new). Optional — without one the call uses a shared key that NCBO rate-limits across all of its users."New value: +"Your own BioPortal API key (free, https://bioportal.bioontology.org/accounts/new). Optional, without one the call uses a shared key that NCBO rate-limits across all of its users."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds value annotations cannot: the result payload shape (label, synonyms, definition, ontology, IRI) and the claim that results come from the curated terminologies themselves rather than secondary descriptions. Rate-limit/shared-key behavior is disclosed only in the schema, not here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the capability and the returned fields before the scoping advice. The long acronym list and the "curated terminologies themselves" clause are dense but each carries information; only mild trimming would be possible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully describes the return fields and the ontology coverage, and all six parameters are documented in the schema. For a 6-parameter search tool this is close to complete, though it omits result volume/default-limit behavior and how partial matches are ranked.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all six parameters are already documented, establishing a baseline of 3. The description adds only marginal meaning beyond the schema, namely a when-to-use cue for `ontologies`; it says nothing about how `query` matching or `exact_match` interact with the result set.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Search ~1,300 biomedical ontologies for a term") and enumerates the returned fields (preferred label, synonyms, definition, ontology, permanent class IRI). The authority claim plus the named vocabularies (NCIT, SNOMEDCT, LOINC, RXNORM, MESH, HPO, ICD10CM) let an agent distinguish this term-lookup tool from bioportal_class or bioportal_ontologies without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly prescribes the use case ("AUTHORITATIVE for mapping free text to a coded clinical concept") and gives a scoping rule for `ontologies` when the vocabulary is known. It stops short of naming when to prefer a sibling tool (e.g., fetching a class by IRI) or when this search is the wrong choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.