Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
anonymize_textA

Anonymizuje český text — nahradí PII pseudonymy jako [OSOBA_1], [IČO_1].

Args: text: Text k anonymizaci (smlouva, rozsudek, žaloba, ...). depth: Hloubka detekce. "thorough" — všechny vrstvy (regex + NameTag NER + BERT + slovník). Doporučeno. "quick" — pouze regex vzory (RČ, IČO, telefon, ...). Rychlé.

Returns: anonymized_text: Text s nahrazenými pseudonymy. mapping_id: UUID pro pozdější deanonymizaci. UCHOVEJTE pro deanonymizaci! entity_count: Celkový počet nalezených entit. entities_summary: Počty entit dle typu.

anonymize_fileA

Anonymizuje soubor (PDF, DOCX, MD, TXT) — nahradí PII pseudonymy.

Args: file_path: Absolutní cesta k souboru ke zpracování. depth: Hloubka detekce ("thorough" nebo "quick"). output_path: Výstupní cesta (volitelné). Výchozí: vedle originálu s příponou _anonymized.txt.

Returns: anonymized_path: Cesta k výstupnímu souboru s anonymizovaným textem. mapping_id: UUID pro pozdější deanonymizaci. UCHOVEJTE! entity_count: Počet nalezených entit. entities_summary: Počty entit dle typu. source_format: Formát vstupního souboru (pdf/docx/txt/md).

deanonymizeA

Obnoví původní text nahrazením pseudonymů originálními hodnotami.

Používá se po zpracování anonymizovaného textu — vrátí výsledek s originálními údaji.

Args: text: Anonymizovaný text (nebo text zpracovaný Claudem) s pseudonymy jako [OSOBA_1]. mapping_id: UUID vrácené funkcí anonymize_text nebo anonymize_file.

Returns: original_text: Text s obnovenými originálními hodnotami. replacements_made: Počet provedených náhrad.

get_statusB

Vrátí informace o stavu Anonymix MCP serveru a dostupnosti modelů.

Returns: version: Verze anonymix-mcp. nametag_available: True pokud je NameTag NER dostupný. bert_available: True pokud je BERT NER dostupný. active_sessions: Počet uložených mapovacích tabulek. cache_dir: Cesta k cache adresáři. models: Detailní info o modelech.

start_guiB

Spustí Streamlit GUI na localhostu pro vizuální revizi entit.

GUI umožňuje nahrát dokument, ručně upravit detekované entity, anonymizovat a deanonymizovat výsledek.

Args: port: Port pro Streamlit server (výchozí 8501).

Returns: url: URL na které běží GUI. pid: PID spuštěného procesu. message: Instrukce pro uživatele.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: anonymize_file handles file processing, anonymize_text processes raw text, deanonymize reverses the process, get_status provides server information, and start_gui launches a visual interface. The descriptions clearly differentiate between file vs text processing, anonymization vs deanonymization, and operational vs administrative functions.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with clear, descriptive names: anonymize_file, anonymize_text, deanonymize, get_status, start_gui. The naming convention is uniform throughout, using snake_case consistently and clearly indicating each tool's primary action and target.

Tool Count5/5

Five tools is perfectly appropriate for this document anonymization server. The set covers the core workflow (anonymize files/text, deanonymize), provides operational visibility (get_status), and offers a user-friendly interface option (start_gui). Each tool has a clear purpose and contributes meaningfully to the server's functionality without redundancy.

Completeness4/5

The tool set covers the essential anonymization workflow comprehensively: input processing (both file and text), reversal capability, system status, and a GUI option. The only minor gap is the lack of batch processing capabilities or configuration management tools, but agents can work around this by iterating through individual files. The core lifecycle of anonymize → deanonymize is fully supported.

Maintenance

ActivityInactive
ResponsivenessNo issues