Skip to main content
Glama

Hpo Api Term Children

hpo_api_term_children
Read-onlyIdempotent

"More specific HPO phenotypes under [HP:N]" / "child terms of [phenotype]", direct children of an HPO term in the ontology graph. Use to narrow from a general phenotype (e.g. "Abnormality of the nervous system") to specifics (seizures, ataxia, etc).

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": {
      "id": "HP:0000118"
    },
    "name": "hpo_api_term_children"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description adds the meaningful scope constraint that only DIRECT children are returned (non-recursive), but says nothing about result size, empty results, or behavior for invalid/obsolete HP IDs.

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?

Front-loaded and short, but the two quoted synonym fragments at the start duplicate the definition sentence that follows, adding mild redundancy before the useful 'Use to...' guidance.

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?

For a one-parameter, read-only lookup with an output schema and full annotation coverage, the description supplies purpose, scope and a usage example. Only input-format edge cases and result-volume behavior are left implicit, which are minor given the existing 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 coverage is 0% for the single parameter, so the description must compensate; it does so partially by indicating the ID format ('[HP:N]') and the schema provides an 'HP:0000118' example. It does not state whether CURIE, bare numeric, or label input is accepted, which leaves a real gap.

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

Purpose4/5

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

Names a specific verb+resource: returns direct child terms of an HPO term in the ontology graph, with a concrete example of narrowing from 'Abnormality of the nervous system' to seizures/ataxia. The word 'direct' distinguishes it semantically from a descendants-style sibling, though no sibling is named explicitly.

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?

Gives a clear scenario for use: narrowing from a general phenotype to more specific ones. There are no explicit exclusions or named alternatives (e.g. when to prefer an all-descendants traversal), so it stops short of a 5.

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.