Skip to main content
Glama

Prompt Cleaner MCP Server

by dacebt

cleaner

Clean and structure raw user prompts by normalizing tone, removing sensitive data, and preserving intent. Outputs JSON with retouched text, redactions, notes, and risks for safer pre-processing and planning.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
modeNoRetouching mode; default 'general'. Use 'code' only for code-related prompts.
promptYesRaw user prompt
temperatureNoSampling temperature (0-2); default 0.2

Input Schema (JSON Schema)

{ "properties": { "mode": { "description": "Retouching mode; default 'general'. Use 'code' only for code-related prompts.", "enum": [ "code", "general" ], "type": "string" }, "prompt": { "description": "Raw user prompt", "type": "string" }, "temperature": { "description": "Sampling temperature (0-2); default 0.2", "type": "number" } }, "required": [ "prompt" ], "type": "object" }

Other Tools from Prompt Cleaner MCP Server

Related Tools

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