Skip to main content
Glama
musen-lab

CEDAR MCP Server

Official
by musen-lab

get_branch_children

Retrieve immediate child terms for a branch in an ontology to explore hierarchy or populate controlled vocabulary dropdowns.

Instructions

Fetch all immediate children terms for a given branch in an ontology.

Use this tool to retrieve the child terms under a specific branch IRI in a BioPortal ontology. This is useful for exploring the hierarchy of an ontology or populating dropdown options for a controlled vocabulary.

Args: branch_iri: IRI of the branch to get children for (e.g., "http://purl.obolibrary.org/obo/CHEBI_23367") ontology_acronym: Ontology acronym to search within (e.g., "CHEBI", "HRAVS")

Returns: BioPortal response containing child terms with their prefLabels

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branch_iriYes
ontology_acronymYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses the operation is a read/fetch, notes that it returns 'child terms with their prefLabels,' and clarifies 'immediate children.' Yet it omits any details about error handling, rate limits, authentication, or what happens when no children exist, leaving some uncertainty for an agent.

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?

The description is well-structured with an opening summary, usage guidance, parameter list, and return note. Every sentence adds value, and the information is front-loaded so the agent immediately grasps the tool's core function. No fluff or repetition.

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?

The tool is a simple read operation with two parameters, and an output schema exists. The description provides enough context for an agent to understand the purpose, parameters, and expected return. It doesn't explicitly differentiate from sibling tools like 'term_search_from_branch' or 'get_ontology_class_tree,' but the 'immediate children' scope and examples are sufficiently clear. Minor gap: no mention of pagination or limits, but that's not critical for this tool type.

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 description coverage is 0%, so the description must compensate for parameter meaning. It provides dedicated Args entries with type explanation and realistic examples (e.g., a CHEBI IRI, 'CHEBI' as acronym) for both required parameters. This goes beyond the bare schema and gives an agent enough to construct correct calls, though it doesn't cover edge-case formats.

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 starts with a specific verb-resource pair: 'Fetch all immediate children terms for a given branch in an ontology.' It clearly distinguishes this from siblings like 'term_search_from_branch' or 'get_ontology_class_tree' by emphasizing 'immediate' children and providing a concrete use case (exploring hierarchy, dropdown options). The scope is unambiguous.

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?

The description explicitly states when to use the tool: 'Use this tool to retrieve the child terms under a specific branch IRI in a BioPortal ontology.' It also gives practical contexts (exploring hierarchy, populating dropdowns). However, it does not mention when not to use it or point to alternatives, which would be helpful given the array of sibling tools.

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/musen-lab/cedar-mcp'

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