Prompt Cleaner MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLM_MODEL | No | Model identifier sent to the API | open/ai-gpt-oss-20b |
| LOG_LEVEL | No | Log verbosity (error|warn|info|debug) | info |
| LLM_API_KEY | No | Bearer token for the API (optional) | |
| LLM_API_BASE | No | OpenAI-compatible base URL | http://localhost:1234/v1 |
| LLM_BACKOFF_MS | No | Initial backoff delay in milliseconds | 250 |
| LLM_TIMEOUT_MS | No | Request timeout in milliseconds | 60000 |
| LLM_MAX_RETRIES | No | Retry count for retryable HTTP/network errors | 1 |
| ENFORCE_LOCAL_API | No | If true, only allow localhost APIs | false |
| LLM_BACKOFF_JITTER | No | Jitter factor applied to backoff (0..1) | 0.2 |
| RETOUCH_CONTENT_MAX_RETRIES | No | Retries when the cleaner returns non-JSON content | 1 |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cleanerA | Pre-reasoning prompt normalizer and PII redactor. Use when: you receive raw/free-form user text and need it cleaned before planning, tool selection, or code execution. Does: normalize tone, structure the ask, and redact secrets; preserves user intent. Safe: read-only, idempotent, no side effects (good default to run automatically). Input: { prompt, mode?, temperature? } — defaults mode='general', temperature=0.2; mode='code' only for code-related prompts. Output: JSON { retouched, notes?, openQuestions?, risks?, redactions? }. Keywords: clean, sanitize, normalize, redact, structure, preprocess, guardrails |
| sanitize-textC | Alias of cleaner. Keywords: sanitize, scrub, redact, filter, pii, normalize, preprocess. Same input/output schema as 'cleaner'. |
| normalize-promptC | Alias of cleaner. Keywords: normalize, restructure, clarify, tighten, format, preflight. Same input/output schema as 'cleaner'. |
| health-pingB | Liveness probe; returns { ok: true } |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dacebt/prompt-cleaner-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server