Skip to main content
Glama

Merit — Ukrainian Law & Registers

Court Practice on a Statute Article

ua_edrsr__get_court_practice
Read-onlyIdempotent

Court practice on one statute article: which cases cite it, by court and year, ranked highest authority first.

Spellings of one code answer alike ('ККУ', 'КК України') and mean the code in force; repealed_excluded lists repealed namesakes' nregs.

index_coverage.status says what total_cases means (a real zero, or unresolved citations); under index_unavailable it is null, not a count.

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": {
      "abbreviation": "<abbreviation>",
      "article_number": "<article_number>"
    },
    "name": "ua_edrsr__get_court_practice"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return (0-200); 0 returns the count alone.
facet_sizeNoMax facet buckets to return (1-1000).
abbreviationYesCode abbreviation (ККУ), or act nreg or title.
article_numberYesArticle number as written, e.g. 185.
clause_componentNoЧастина/пункт; narrows to clause-depth citations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely non-obvious behavior: code spellings collapse to the in-force code, repealed namesakes surface via `repealed_excluded`, and `total_cases` must be interpreted through `index_coverage.status`, including a null under `index_unavailable`. Since there is no output schema, it would ideally also describe the court/year facet structure produced by `facet_size`, which is left unexplained.

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?

Front-loaded with purpose, then two short paragraphs of non-obvious semantics; there is no filler. The final paragraph is terse to the point of ambiguity, introducing `index_coverage.status` and `index_unavailable` without saying they are response fields, which slightly hurts first-read clarity.

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?

For a read-only, 5-parameter tool with no output schema and full schema coverage, the description supplies the key interpretive rules an agent needs to not misreport a zero-case result. It stops short of describing the ranked/faceted return payload, which matters because the ranking promise is central to the tool's value.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all five parameters are already documented with ranges and defaults. The description only indirectly enriches `abbreviation` by explaining that different spellings of one code resolve identically and that act nregs or titles are also accepted; it adds nothing on `article_number` vs `clause_component` or on the interaction of `limit` with facet output. Baseline 3 is appropriate.

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 first clause names a specific resource and verb ('Court practice on one statute article') and immediately defines the output shape ('which cases cite it, by court and year, ranked highest authority first'). This clearly separates it from text-retrieval siblings like ua_law__get_unit and from case-search siblings like ua_edrsr__search.

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?

Usage is implied by the purpose: call this when you need citation-to-case mapping for a specific article. However, the description never states when to prefer a sibling (e.g. ua_edrsr__search for keyword case search, ua_law__get_unit for article text) or prerequisites such as needing a resolvable abbreviation. The spelling-alias note is a correctness aid, not routing 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.