Skip to main content
Glama

phenotypes

Search Human Phenotype Ontology terms by phenotype phrase or exact HP ID to retrieve IDs, names, definitions, synonyms, and descendant counts.

Instructions

Search Human Phenotype Ontology (HPO) terms.

query is a phenotype phrase (e.g. "seizure") or an exact HPO id (e.g. "HP:0001250"). Returns term ids, names, definitions, synonyms and descendant counts. An exact id returns that single term; a text query returns up to limit matches. Empty text results are a true upstream answer. Only upstream fields are returned; missing fields are omitted, nothing is inferred or completed. Failures return an error dict (error, source) instead of raising.

Args: query: Phenotype phrase or HP id. limit: Matches to return, 1-50 (default 10).

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": {
      "query": "<query>"
    },
    "name": "phenotypes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses return contents (ids, names, definitions, synonyms, descendant counts), that empty text results are a genuine upstream answer, that missing fields are omitted rather than inferred, and that failures return an error dict with 'error' and 'source' instead of raising. That is exactly the behavioral context an agent needs for a no-annotation tool.

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?

Core behavior is front-loaded in the first sentences, and the parameter notes are appended cleanly. The 'Args:' block partially restates the prose above it, which is mild redundancy rather than clutter.

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 or annotation coverage, so the description must explain returns and failure modes, and it covers both plus empty-result semantics. Nothing an agent needs to call this correctly is missing.

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 0%, so the description must compensate, and it does: `query` is defined as a phenotype phrase or exact HPO id with concrete examples, and `limit` is given a range of 1-50 and a default of 10 that the bare schema does not express. Minor gap: it does not say whether `limit` is ignored for exact-id lookups.

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?

States a specific verb and resource ('Search Human Phenotype Ontology (HPO) terms') and immediately disambiguates the two input modes: an exact HPO id returns a single term, a text phrase returns matches. No sibling tool in the catalog covers HPO, so 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 Guidelines3/5

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

The description explains the two query forms and their differing outputs, which implies when each is appropriate, but it never explicitly says when to prefer this tool over alternatives or what preconditions exist. Usage is inferable rather than stated.

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