Skip to main content
Glama

Get Hierarchy

get_hierarchy
Read-onlyIdempotent

Walk the full taxonomic hierarchy (lineage) for a TSN from ITIS — kingdom down to the taxon and its children. Returns each rank with its tsn, name, rank, and parent_tsn. Pass a TSN from search_taxa. Keyless.

Input Schema

NameRequiredDescriptionDefault
tsnYesTaxonomic Serial Number, e.g. 180582.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "tsn": 180582
      +  },
      +  {
      +    "tsn": "183654"
      +  }
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate the tool is read-only, non-destructive, and idempotent. The description adds that it returns each rank with tsn, name, rank, and parent_tsn, and mentions it is keyless. This transparently describes the output and access requirements.

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 concise: three sentences covering purpose, return data, and prerequisites/cost. Every sentence adds value without unnecessary detail.

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?

Given the tool's simplicity (1 parameter, no output schema), the description covers the main aspects: purpose, output structure, and usage context. Lacks error handling details, but overall sufficiently complete.

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?

The schema has 100% coverage for the single parameter tsn, describing it as 'Taxonomic Serial Number, e.g. 180582.' The description adds value by stating the TSN should come from search_taxa, providing additional context beyond the schema.

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 walks the full taxonomic hierarchy from kingdom down to the taxon and its children for a given TSN. This distinguishes it from sibling tools like search_taxa and get_common_names, which serve different purposes.

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 specifies that the TSN should come from search_taxa and that the tool is keyless (free). While it doesn't explicitly state when not to use it, the context of sibling tools and the explicit prerequisite provide good usage guidance.

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.