Skip to main content
Glama

CourtCases

Court cases: qualify the situation

cc_qualify
Read-onlyIdempotent

For a subject from cc_topics returns which documents are possible now (complaint to a higher authority and/or lawsuit), the violations the user can choose from, arguments the Supreme Court has rejected, and the deadlines (last day, days left, whether a motion to renew the term is needed) with the legal basis.

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": {
      "subject": "<subject>"
    },
    "name": "cc_qualify"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoDate to evaluate deadlines on. Default: today in Kyiv (YYYY-MM-DD).
factsNoFacts of the case keyed by the wizard field path, from cc_draft missing_facts[].path (e.g. "act.date": "2026-10-01", "act.number": "123", "claim.amount": "15000"). No personal data.
channelNoHow the decision was received: e_cabinet, registered_mail, in_person, returned (letter returned, learned later).
subjectYesSubject id from cc_topics (P01–P56).
appealedNoA complaint to a higher authority was already filed.
violationsNoViolation codes from cc_qualify, as chosen by the user.
received_onNoDay the decision was received or the person learned of it (YYYY-MM-DD).
appeal_decision_received_onNoDay the decision on that complaint was received (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 closed-world, so safety behavior is covered. With no output schema, the description carries the extra burden of describing return content, and it does so concretely (possible documents, selectable violations, Supreme Court-rejected arguments, last day, days left, whether a term-renewal motion is needed, and the legal basis).

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 no filler; every clause names a distinct output category. Dense but efficient, and the subject-source clause comes first so the agent sees the input contract immediately.

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 an 8-parameter read-only tool with a nested facts object and no output schema, the description covers the return payload categories and the legal-basis framing, while the schema covers all inputs. It is only slight on the cross-tool workflow (when to loop back with chosen violation codes).

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 description coverage is 100%, so the schema already explains as_of, facts, channel, subject, appealed and received_on. The description adds essentially no parameter-level meaning beyond naming cc_topics as the source of 'subject' and cc_draft as the source of 'facts' paths, which is minimal extra value.

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 gives a specific verb and resource ('For a subject from cc_topics returns which documents are possible now... violations ... rejected arguments ... deadlines') and enumerates the concrete outputs, so an agent knows what it gets back. It does not explicitly distinguish itself from overlapping siblings such as cc_deadline or cc_motions, which keeps it out of the top band.

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 only implied: the tool takes a subject id 'from cc_topics', suggesting it is called after topic selection, and it also accepts violation codes 'from cc_qualify' implying an iterative call pattern. There is no explicit statement of when to use this instead of cc_deadline or cc_motions, and no exclusions.

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.

Resources