Agent-Janitor
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| audit_codebaseC | Scans repository for Agent Distraction traps: closed-bug references (dead-ends), open-bug scope-creep risks, and ancient fossilized TODOs. |
| clean_dead_endsB | Removes obsolete inline TODO/FIXME comments that reference closed or resolved tickets. |
| mask_triggersA | Neutralizes active action tags (TODO, FIXME) into passive 'Note:' comments to prevent LLM agent distraction. |
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
The tools are mostly distinct: audit_codebase is read-only scanning, clean_dead_ends removes obsolete TODO/FIXME comments tied to closed tickets, and mask_triggers converts active tags into passive notes. However, clean_dead_ends and mask_triggers both operate on TODO/FIXME comments and could be confused about whether to delete or neutralize a given comment.
All three names follow a consistent verb_noun pattern in snake_case: audit_codebase, clean_dead_ends, mask_triggers. The naming is predictable and easy to map to actions.
Three tools is a well-scoped set for a narrow janitorial purpose: inspect, remove dead-end comments, and neutralize distracting tags. Each tool earns its place without bloat.
The surface covers auditing, removal, and masking, which are the core janitor operations. Minor gaps exist, such as no explicit handling for closed-bug references outside TODO/FIXME comments and no dry-run or reporting/restore operation.