Skip to main content
Glama

Bioportal Class

bioportal_class
Read-onlyIdempotent

Full record for one ontology class by its IRI, preferred label, every synonym, the curated definition, semantic types, obsolescence flag, and links to parents and children. AUTHORITATIVE for the canonical meaning of a coded concept. Pass the ontology acronym and the class IRI exactly as bioportal_search returned it.

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": {
      "class_id": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C3224",
      "ontology": "NCIT"
    },
    "name": "bioportal_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
_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.
class_idYesFull class IRI as returned by bioportal_search, e.g. "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C3224"
ontologyYesOntology acronym (e.g. "NCIT")

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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value beyond them by characterizing the payload (exhaustive synonyms, curated definition, obsolescence flag, hierarchy links) and by asserting authority of the returned meaning, which tells the agent how much to trust the result. It does not restate rate limiting or auth, which the schema's _apiKey field already covers.

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

Conciseness5/5

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

Two sentences, front-loaded with the resource and the returned fields, then the authority claim and the calling convention. Every clause carries distinct information; nothing is repeated from the title or schema.

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

Completeness5/5

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

There is no output schema, so the description carries the burden of describing the return value, and it does so by listing the returned facets. Combined with the fully documented schema parameters and the safety annotations, an agent has everything needed to invoke this correctly and to know what it will get back.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description goes slightly beyond the schema by imposing a provenance constraint on class_id — it must be the IRI exactly as bioportal_search returned it, not a hand-constructed or abbreviated form — which is a real interoperability rule the schema's example alone does not make normative.

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?

Names a specific verb and resource ("Full record for one ontology class by its IRI") and enumerates exactly what the record contains: synonyms, curated definition, semantic types, obsolescence flag, parent/child links. It also distinguishes itself from the sibling lookup tool by claiming AUTHORITATIVE status for canonical meaning, so an agent can choose between bioportal_search and this tool without opening either 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?

"Pass the ontology acronym and the class IRI exactly as bioportal_search returned it" gives a concrete call sequence: search first, then fetch the full record here. "AUTHORITATIVE for the canonical meaning of a coded concept" signals the use case (resolving/justifying a concept) rather than mere discovery. It stops short of stating when NOT to use it (e.g., when a lightweight label is enough), so it falls one step below fully explicit guidance.

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.