Skip to main content
Glama

search_cases

Search Russian court decisions by query, law article, court, instance, dates, or case number and retrieve full texts with source provenance and warnings.

Instructions

Поиск подключённых источников с исходными provenance/предупреждениями.

Доступ к soyu определяется услугой; ks не подтверждён и отклоняется. Полный корпус не гарантируется. source/collegium не поддерживаются как фильтры API. Даты/лимиты/метаданные не переписываются.

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": "search_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoОдин vs/arbitr/soyu; page*limit<=50, без ФАС-фильтров. При обёртке норм backend422: запрос без page. Без смешения корпусов/fallback.
courtNoТочное имя суда; только arbitr/soyu.
judgeNoСудья; один vs/arbitr/soyu.
limitNoМаксимум1..50, не обещание количества.
normsNoСтатьи закона; способ проверки определяет backend.
queryNoТекст от 3 символов; можно опустить при case_number.
regionNoarbitr: судебный округ; soyu: субъект РФ. Точный код или имя текущей формы; значения зависят от раздела.
date_toNoДата по, YYYY-MM-DD.
fas_lawNo44-ФЗ/223-ФЗ/135-ФЗ/38-ФЗ.
fas_bodyNoОрган ФАС; court_type=any/fas.
instanceNofirst/appeal/cassation/supervision только для soyu, проверяются по форме источника.any
date_fromNoДата с, YYYY-MM-DD.
court_typeNoРаздел API: any/vs/arbitr/soyu/fas. Полный корпус не гарантируется.any
case_numberNoОтдельный номер дела; один vs/arbitr/soyu, query необязателен.
fas_act_typeNoрешение/предписание/постановление/постановление о штрафе/определение/предупреждение/жалоба/уведомление.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changedv0.2.0
    • addedInput schema / properties / case_number
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Отдельный номер дела; один vs/arbitr/soyu, query необязателен."
      +}
    • addedInput schema / properties / court
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Точное имя суда; только arbitr/soyu."
      +}
    • changedInput schema / properties / court_type / description
      Previous value: -"vs — ВС РФ; arbitr — арбитраж; soyu — общей юрисдикции; ks — КС; any — все."New value: +"Раздел API: any/vs/arbitr/soyu/fas. Полный корпус не гарантируется."
    • addedInput schema / properties / court_type / enum
      Added value: +[
      +  "any",
      +  "vs",
      +  "arbitr",
      +  "soyu",
      +  "fas"
      +]
    • removedInput schema / properties / court_type / pattern
      Removed value: -"^(any|vs|arbitr|soyu|ks)$"
    • changedInput schema / properties / date_from / description
      Previous value: -"Дата с (YYYY-MM-DD)."New value: +"Дата с, YYYY-MM-DD."
    • changedInput schema / properties / date_to / description
      Previous value: -"Дата по (YYYY-MM-DD)."New value: +"Дата по, YYYY-MM-DD."
    • addedInput schema / properties / fas_act_type
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "решение/предписание/постановление/постановление о штрафе/определение/предупреждение/жалоба/уведомление."
      +}
    • addedInput schema / properties / fas_body
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Орган ФАС; court_type=any/fas."
      +}
    • addedInput schema / properties / fas_law
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "44-ФЗ/223-ФЗ/135-ФЗ/38-ФЗ."
      +}
    • changedInput schema / properties / instance / description
      Previous value: -"Инстанция: any | first | appeal | cassation | supervision."New value: +"first/appeal/cassation/supervision только для soyu, проверяются по форме источника."
    • addedInput schema / properties / instance / enum
      Added value: +[
      +  "any",
      +  "first",
      +  "appeal",
      +  "cassation",
      +  "supervision"
      +]
    • addedInput schema / properties / judge
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Судья; один vs/arbitr/soyu."
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Сколько дел вернуть (1-50)."New value: +"Максимум1..50, не обещание количества."
    • changedInput schema / properties / norms / description
      Previous value: -"Фильтр по статьям закона (первая идёт в поле 'Статья закона')."New value: +"Статьи закона; способ проверки определяет backend."
    • addedInput schema / properties / page
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 5,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Один vs/arbitr/soyu; page*limit<=50, без ФАС-фильтров. При обёртке норм backend422: запрос без page. Без смешения корпусов/fallback."
      +}
    • addedInput schema / properties / query / default
      Added value: +""
    • changedInput schema / properties / query / description
      Previous value: -"Текст документа / формулировка правового вопроса."New value: +"Текст от 3 символов; можно опустить при case_number."
    • removedInput schema / properties / query / minLength
      Removed value: -3
    • addedInput schema / properties / region
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "arbitr: судебный округ; soyu: субъект РФ. Точный код или имя текущей формы; значения зависят от раздела."
      +}
    • removedInput schema / required
      Removed value: -[
      -  "query"
      -]
  2. First observedv0.1.1

TDQS

B3.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load, and it does disclose real behavior beyond the schema: access to soyu is service-gated, ks is unconfirmed and rejected, the full corpus is not guaranteed, and dates/limits/metadata are not silently rewritten. What is missing is any statement of failure modes or what the provenance/warnings in the result actually mean in practice.

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?

Five short sentences, purpose front-loaded, no filler. Density comes at a cost, though — abbreviations like "ks", "vs", "arbitr", and "soyu" appear without a one-line legend, which slightly slows comprehension for a cold-start agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 15 optional parameters, a rich schema, and an output schema (so return values need no explanation), and the description covers the ecosystem-wide constraints. It still leaves out the pagination/backend422 caveat and the practical distinction from search_fas_decisions and get_search_capabilities, which matters for a tool with this many interacting filters.

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 the schema already documents all 15 parameters, and the description adds only the cross-cutting note that source/collegium are unsupported as filters. That is useful but generic, and it adds no meaning to individual parameters such as instance, region, or court_type beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Поиск подключённых источников" gives a verb and a resource, but "источники" (sources) is vague — the agent must infer from the name and schema that this searches court cases. There is no differentiation from the sibling search_fas_decisions, even though this tool carries fas_law/fas_body/fas_act_type parameters that overlap with it.

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?

The description does give hard exclusions — soyu depends on the service, ks is rejected, source/collegium are not valid API filters — which implicitly guides usage. But it never says when to pick this tool over search_fas_decisions, nor points to resolve_court_name for the "точный код или имя" ambiguity flagged in the region parameter.

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