Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SAOS_OUTPUT_DIRNoDirectory 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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:

  1. Główne pojęcie w cudzysłowie: "umowa o dzieło", "rękojmia za wady", "bezpodstawne wzbogacenie"

  2. Dodaj keyword= z hasłem tematycznym SAOS — to kuratorowana taksonomia niezależna od treści, np. keyword: "umowa o dzieło"

  3. Połączenie query + keyword daje najlepszą precyzję

  4. Dodaj judgmentType=SENTENCE gdy szukasz wyroków merytorycznych (nie postanowień)

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness5/5

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.

Maintenance

ActivityStale
ResponsivenessSyncing