Skip to main content
Glama

get_citation

Retrieves a Russian court decision's citation text or case card from Sudact using a URL or case ID, with optional anonymization and full-text inclusion.

Instructions

Текст акта или карточки; полный текст доступен не для каждой записи.

Нужен url/case_id. Анонимизация и её ограничения определяются backend.

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

Input Schema

NameRequiredDescriptionDefault
urlNoURL из выдачи поиска.
case_idNocase_id из выдачи, включая fas:.
anonymize_levelNonone
include_full_textNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • removedInput schema / properties / anonymize_level / description
      Removed value: -"none — как опубликовано; physical_persons — маскировать ФИО физлиц; all_persons — и физлиц, и юрлиц."
    • addedInput schema / properties / anonymize_level / enum
      Added value: +[
      +  "none",
      +  "physical_persons",
      +  "all_persons"
      +]
    • removedInput schema / properties / anonymize_level / pattern
      Removed value: -"^(none|physical_persons|all_persons)$"
    • changedInput schema / properties / case_id / description
      Previous value: -"case_id из выдачи (если дело уже в кэше)."New value: +"case_id из выдачи, включая fas:."
    • removedInput schema / properties / include_full_text / description
      Removed value: -"Вернуть полный текст решения."
    • changedInput schema / properties / url / description
      Previous value: -"URL карточки sudact.ru (из выдачи search_cases)."New value: +"URL из выдачи поиска."
  2. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden but does disclose two real behavioral traits: full text is not available for every record, and anonymization behaviour is backend-determined. It omits what happens when full text is missing (fallback to card only?), permission/auth requirements, and any error or rate-limit behaviour.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short lines with no filler, but they read as fragments rather than a front-loaded statement of purpose. Brevity here comes from under-specification rather than disciplined editing.

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?

An output schema exists, so return values need no explanation, and the unavailability caveat plus the anonymization note are genuinely useful. Still, for a 4-parameter tool with no annotations and 50% schema coverage, the description should explain the anonymize_level choices and the include_full_text flag to be complete.

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 50% and two parameters (anonymize_level enum, include_full_text) have no schema descriptions, so the description must compensate. It does add meaning for anonymize_level by stating anonymization and its limits are backend-defined, and it ties url/case_id to search output, though it never explains the include_full_text toggle or url/case_id precedence. Actually, let me reconsider. This is a 3.

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?

The description identifies the resource as "текст акта или карточки" (text of the act or of the card), which signals a document-fetch tool, but it is a noun fragment with no verb and does not distinguish itself from siblings such as search_fas_decisions or search_cases. An agent can infer it retrieves a document by url/case_id, but only by inference.

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?

"Нужен url/case_id" states a precondition and implicitly frames the tool as a follow-up to a search that produced those identifiers. There is no explicit when-to-use versus siblings, no when-not, and no guidance on choosing url versus case_id.

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