Skip to main content
Glama

Court cases (Portal Just)

court_cases
Read-onlyIdempotent

Search Portal Just Romanian court cases by company CUI, party, court, or case number to check status, parties, roles, outcomes, hearings, and insolvency red flags.

Instructions

Court cases from Portal Just, the public portal of every Romanian court: case number, court, category (civil, criminal, insolvency...), stage, subject, parties and their roles, latest outcome and next hearing. For a party it also counts its roles (defendant, creditor...) and lists insolvency cases where it's the debtor, the strongest red flag for a company.

Prefer cui for companies: the portal has no fiscal codes, so a name search also returns other companies with similar names. A big company being creditor or plaintiff in many cases is normal, look at the roles. Portal Just caps a search at 1000 cases. Usually answers in 1-5s. Cached for 3h.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cuiNoA company's CUI. Its exact name and county come from ANAF, so only that company's cases are kept and insolvency is checked at the right court. Best for companies.
courtNoOnly cases at this court, e.g. "Tribunalul Cluj" or "Judecatoria Sectorul 4". Ambiguous names return an error listing the matching courts.
limitNoHow many cases to return in detail, most recently updated first. Counts cover all of them.
partyNoName of a party to search for, e.g. "Dante International". "SC" and the legal form (SRL, SA) are dropped so different spellings match. Diacritics don't matter.
sinceNoOnly cases registered on or after this day (YYYY-MM-DD or DD.MM.YYYY).
case_numberNoCase number, e.g. "17902/3/2023". Use instead of or together with party.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world behavior, but the description adds operational traits those don't cover: a 1000-case search cap, typical 1-5s latency, and 3h caching. It also explains the noise profile of name searches and why names may mismatch, which materially affects how an agent interprets results.

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?

It is front-loaded with the returned data set before moving to usage advice and operational notes, and every sentence carries information (cui preference, role interpretation, cap, latency, caching). It is dense and slightly longer than minimal, but no sentence is filler.

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, so the description carries the burden of describing returns — it lists the fields, the party role counts, and the insolvency-debtor listing. Combined with the 100%-documented parameter schema and the operational notes (cap, cache, latency), an agent has everything needed to call and interpret this tool.

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 100%, so the schema already documents all six parameters in detail (cui, court, limit, party, since, case_number). The description adds selection meaning beyond the schema by explaining why cui is preferred over party and how to read party roles, which is genuine guidance rather than repetition.

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 names a specific resource (court cases from Portal Just, the Romanian courts portal) and enumerates what each record contains — case number, court, category, stage, subject, parties/roles, outcome, next hearing. It also scopes the tool's special behavior (role counting and insolvency-as-debtor detection), so an agent knows exactly what this tool returns without opening a schema. No sibling covers court data, so no differentiation gap exists.

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?

It gives an explicit routing preference ("Prefer cui for companies") with the reason (portal has no fiscal codes, so name searches return similar-named companies), and interpretive guidance ("A big company being creditor or plaintiff in many cases is normal, look at the roles"). It does not say when to reach for this tool rather than company_lookup or company_financials, so it stops short of full alternative-routing guidance.

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