Skip to main content
Glama
openpharma-org

Unofficial HPO MCP Server

get_hpo_descendants

Retrieve all descendant terms for a given HPO term, navigating the ontology hierarchy downward.

Instructions

Get all descendant terms for a given HPO term (all terms lower in the hierarchy)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesHPO term ID (e.g., HP:0001234 or just 0001234)
maxNoMaximum number of descendants to return (default: 50, max: 100)
offsetNoNumber of results to skip for pagination (default: 0)
Behavior2/5

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

No annotations are provided, so the description must carry full behavioral disclosure. It mentions the hierarchical scope but omits important behaviors like pagination (evident from schema), side-effect-free read operation, or any rate limits or permission requirements.

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?

The description is a single, front-loaded sentence that efficiently conveys the core purpose. No fluff, but it could provide slightly more context (e.g., about pagination) without becoming verbose.

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

Completeness2/5

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

Given no output schema and no annotations, the description is insufficient. It does not describe the return format, pagination behavior, or the recursive nature of descendant retrieval. This leaves the agent with incomplete information for a tool with 3 parameters and no output schema.

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 description coverage is 100%, so the baseline is 3. The description does not add extra meaning beyond the schema's parameter descriptions, which are already clear for 'id', 'max', and 'offset'.

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?

The description clearly states the tool retrieves all descendant terms for a given HPO term, specifying the hierarchy direction ('all terms lower in the hierarchy'). This distinguishes it from siblings like get_hpo_children (immediate) and get_hpo_ancestors.

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

Usage Guidelines3/5

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

The description implies use for obtaining all descendants rather than immediate children, providing implicit guidance. However, it lacks explicit when-not-to-use or alternative suggestions, leaving the agent to infer from sibling names.

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

Install Server

Other Tools

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/openpharma-org/hpo-mcp-server'

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