Skip to main content
Glama

List Court Hierarchy

list_court_hierarchy

Retrieve Spain’s complete court hierarchy, from first-instance and appellate courts to supreme and constitutional courts, including official court sub-portals for case-law research.

Instructions

Return the complete step-by-step multi-tier judicial hierarchy for Spain (ES): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_court_hierarchy"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the important behavioral facts: the call is a pure retrieval, the result is a complete enumeration (not a filtered subset), and the scope is restricted to Spain (ES). It stops short of saying whether the data is static/reference data or whether any auth/rate constraints apply, but for a zero-parameter reference lookup that is a minor gap.

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?

The single sentence is front-loaded with the key fact (complete multi-tier hierarchy for Spain) and then enumerates tiers, which is the useful detail. It is somewhat dense with slash-separated synonyms ('First Instance / Trial / Municipal / District Courts') that could be trimmed, but each maps a real jurisdictional term an agent may encounter.

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?

An output schema exists, so return-value explanation is not required, and the tool has no parameters and no side effects. Given that low complexity, the description supplies everything needed to call it correctly: what it returns, its completeness, and its Spain-only scope.

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 tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly adds no parameter narrative, avoiding noise.

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?

The description names a specific verb ('Return') and a specific resource ('multi-tier judicial hierarchy for Spain (ES)'), and enumerates the three tiers plus sub-portals, so the agent knows exactly what comes back. It does not explicitly contrast itself with the search-oriented siblings (search_tiered_court_decisions, search_case_law), but the structural/reference nature of the output makes the distinction reasonably clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to call this versus the sibling search tools, no mention of using it to resolve tier names before calling search_tiered_court_decisions, and no exclusions. Usage is only implied by the phrase 'Return the complete ... hierarchy'. An agent must infer the workflow itself.

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