Skip to main content
Glama
Portugal Legal Research MCP Server

Portugal Legal Research MCP Server

by jurisatlas

List Court Hierarchy

list_court_hierarchy

Returns Portugal’s complete multi-tier court hierarchy, from first-instance and appellate courts to supreme and constitutional courts, including official court sub-portals.

Instructions

Return the complete step-by-step multi-tier judicial hierarchy for Portugal (PT): 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

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the disclosure burden. It usefully signals that the output is a complete, unfiltered reference listing (no pagination or filtering implied) and that it covers both court tiers and sub-portals, but is silent on whether the data is static or versioned, and on the return shape beyond the output schema.

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 waste; the tier enumeration is dense but each clause maps to content the agent actually receives.

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?

For a 0-parameter read-only reference tool with an output schema that documents the return shape, the description supplies everything an agent needs: what is returned and at what granularity (tiers, sub-portals, PT scope). Nothing material 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?

Zero parameters, so there is no parameter semantics to explain. Per the baseline for a 0-parameter tool, a 4 is appropriate; the description correctly emphasizes that no scoping or filter input exists.

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 plus resource: 'Return the complete step-by-step multi-tier judicial hierarchy for Portugal (PT)', then enumerates all three tiers and sub-portals. That enumeration makes clear this is the taxonomy/reference tool, distinct from sibling search tools such as search_tiered_court_decisions or search_case_law.

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?

There is no explicit when-to-use or when-not guidance, and no sibling is named as an alternative. The nature of the tool (a static structure listing to consult before tier-scoped searching) makes the intended use inferable, but nothing in the text says so.

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