Skip to main content
Glama

Human Disease Ontology DOID API MCP

Inspect DOID ontology hierarchy

inspect_doid_ontology_hierarchy
Read-onlyIdempotent

Traverse parent is_a relationships upward from a Human Disease Ontology term to inspect broader disease classifications.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "doid": "<doid>"
    },
    "name": "inspect_doid_ontology_hierarchy"
  }
}

Input Schema

NameRequiredDescriptionDefault
doidYesHuman Disease Ontology ID (e.g. "DOID:162").
depthNoMaximum ancestor levels to walk upward (default 2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds the traversal direction (upward, parent is_a only) which is genuinely useful behavioral context, but says nothing about what happens with an unknown DOID or whether the walk truncates silently at the depth cap.

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?

A single front-loaded sentence with zero filler; the verb, direction, and purpose all appear before any qualifying detail. Nothing in it could be cut without losing meaning.

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 two-parameter read-only lookup with full annotation coverage and no output schema, the description is nearly sufficient — it conveys the traversal direction and the conceptual result. The only real gap is that return shape (a chain of ancestor terms vs. a flat list) is left implicit, which matters somewhat given there is 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%, with both the DOID example format and the depth default/maximum documented in the schema itself. The description's "upward" wording is consistent with the depth parameter but adds no syntax, default, or boundary detail beyond what the schema already provides, so the baseline of 3 applies.

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?

"Traverse parent is_a relationships upward from a Human Disease Ontology term" states a specific verb and resource with a clear directionality, which cleanly separates it from the sibling metadata/cross-reference/synonym tools. It stops short of naming an alternative explicitly, so it is clear rather than differentiating.

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 phrase "to inspect broader disease classifications" implies the use case, so an agent can infer when to reach for it. However, there is no explicit when-to-use versus when-not guidance and no mention of the sibling tools that return flat metadata instead of ancestry.

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.