Polish
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| polish_format_fileB | Format one safely detected source file with an installed deterministic formatter. Writes atomically; dryRun returns a preview. |
| polish_format_filesC | Format a bounded collection of files. Each file is independently detected and safely processed. |
| polish_format_projectC | Scan and format a project while skipping generated, hidden, protected and ignored directories. Supports dry run. |
| polish_format_textA | Format supplied source text without writing to disk. Requires a representative path extension. |
| polish_check_fileB | Check formatting compliance without modifying the file. |
| polish_check_projectA | Check formatting for all recognized project files without writing. |
| polish_lint_fileA | Run the installed language-specific linter for a file. Linting does not format or apply fixes. |
| polish_lint_projectB | Report linter coverage for a project. No fixes are applied. |
| polish_analyze_qualityB | Measure line lengths and approximate bracket nesting for one file. Nesting is a documented lexical heuristic. |
| polish_detect_languageB | Detect language, confidence, ambiguity, and registered formatter/linter for a file. |
| polish_get_project_rulesC | Report recognized project formatter configuration files and configuration precedence. |
| polish_format_changedC | Format tracked files changed relative to Git HEAD and untracked, non-ignored files. |
| polish_get_diffA | Preview formatting changes for one file without modifying it. |
| polish_validateC | Check formatting and basic UTF-8 readability for files. |
| polish_list_languagesB | List known file mappings and adapters. Availability is checked lazily during operations. |
| polish_doctorB | Diagnose Node and installed core formatter availability without installing tools. |
| polish_install_formatterB | Explain the authorization requirement for installing formatter executables. This version does not perform package installation. |
| polish_restoreC | List available Polish backups for a file. Restore requires manual selection of a backup path. |
| polish_statusB | Return server version and operation mode. |
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 19 tools
Most tools have distinct scopes (format vs check vs lint vs project-level variants), but polish_validate overlaps heavily with polish_check_file/polish_check_project since both assess formatting compliance, and polish_get_diff duplicates the preview behavior of polish_format_file's dryRun. These overlaps will cause occasional misselection despite detailed descriptions.
Nearly all tools follow a consistent polish_verb_noun snake_case pattern (format_file, check_project, lint_file, get_project_rules). A few outliers break the pattern (validate, doctor, restore, status), but the shared prefix and readable verbs keep it predictable.
19 tools is on the heavy side for a formatting/linting server, landing in the borderline 16-25 range. The surface is broad (format, check, lint, analyze, detect, diff, config, status), but a couple of entries feel like padding.
Core formatting, checking, linting, and language detection workflows are well covered, but two tools are explicit stubs: polish_install_formatter performs no installation and polish_restore only lists backups rather than restoring. These dead ends mean agents cannot complete install or restore workflows without manual intervention.