SAOS MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SAOS_OUTPUT_DIR | No | Directory for saved .md judgment files (default: ~/Documents/saos-orzeczenia) | ~/Documents/saos-orzeczenia |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| saos_search_judgmentsA | Wyszukuje orzeczenia sądowe w bazie SAOS (sortowanie: najnowsze pierwsze). ZASADA NACZELNA — frazy prawne zawsze w cudzysłowie: • query: "umowa o dzieło" → szuka tej dokładnej frazy (wysokа precyzja) • query: umowa o dzieło (bez cudzysłowu) → AND po słowach osobno = fałszywe trafienia STRATEGIA — stosuj warstwowo:
PRZYKŁADY: • query: "umowa o dzieło" "wynagrodzenie", judgmentType: SENTENCE • query: "nienależyte wykonanie", keyword: "umowa o dzieło" • query: "odstąpienie od umowy" "wada", ccCourtType: APPEAL • caseNumber: "VIII GC 23/24" → konkretna sygnatura Jeśli wyniki są nieistotne: dodaj cudzysłowy, dołącz keyword, zawęź typ sądu lub daty. |
| saos_get_judgmentA | Pobiera pełne orzeczenie z SAOS po ID. Zwraca metadane + sentencję dosłownie + pełne uzasadnienie. W trybie lokalnym zapisuje też plik .md z kopią archiwalną. |
| saos_list_courtsA | Zwraca listę sądów powszechnych (ID, nazwa, typ). Użyj żeby znaleźć ID sądu do filtrowania w saos_search_judgments. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: searching judgments, fetching a specific judgment by ID, and listing courts. There is no overlap or ambiguity between them.
All tool names follow a consistent pattern: saos_ + verb + noun (search_judgments, get_judgment, list_courts). This makes the API predictable and easy to navigate.
With only 3 tools, the server is tightly scoped to its purpose of accessing court judgments. This is an appropriate size for a focused legal database, avoiding unnecessary complexity.
The tool set covers the complete workflow: find courts for filtering, search for judgments with rich query options, and retrieve full details for a specific judgment. There are no obvious gaps for typical use cases.