Rulebench
Server Details
Test a chatbot's system prompt: find which rules each model breaks, fix the prompt and retest.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 9 tools
Most tools have clearly distinct roles (gate_model_change vs test_prompt_rules vs retest_prompt vs suggest_prompt_fix), and the get_* tools split cleanly by object (gate vs audit). The closest overlap is between gate_model_change and retest_prompt, both of which re-run existing messages on models, and get_gate_result vs get_rulebench_report, which are both wait_seconds pollers; descriptions resolve these but require careful reading.
Almost everything follows a snake_case verb_noun pattern (test_prompt_rules, suggest_prompt_fix, retest_prompt, list_models, get_gate_result). Minor deviations: schedule_monitoring uses a gerund rather than an object noun, and get_rulebench_report embeds the product name where peers use a plain resource noun.
Nine tools sit squarely in the well-scoped range for a prompt-rule auditing service. Each tool maps to a distinct step in the test/retest/gate/monitor workflow, so none feel redundant.
The lifecycle is largely covered: create an audit, fetch messages, run a gate, poll results, get a report, suggest a fix, retest, and schedule monitoring. Gaps are minor but real — there is no way to list or delete existing audits/gates, cancel a running job, or manage the model list beyond list_models.
Available Tools
9 toolsgate_model_changeAInspect
Check a model change before it ships: a fine-tune, a weight edit, a merge, or switching to a different model. The current model (base) and the changed one (candidate) answer the same audit messages with the bot's instructions, plus a fixed set of everyday-skill prompts (facts, arithmetic, formats, other languages, refusals, coherence). The gate fails if the candidate is measurably worse on any rule or skill, and returns the replies that got worse. Each side is {"model": id} (with key_id for a connected key), {"ref": "handle/model"} for a model hosted on Weightship, or {"replies": {message_id: text}} for a model you ran yourself (get the messages with get_gate_messages).
Inputs: base (required), candidate (required), prompt, skills, +1 more.
get_gate_messagesAInspect
Every message a gate will ask, with the system prompt to use, so you can run a local or private model on them and send its replies to gate_model_change. Makes an audit from prompt if you don't pass audit_id.
Inputs: prompt, skills, audit_id.
get_gate_resultBRead-onlyInspect
The verdict of a gate, waiting up to wait_seconds while it runs.
Inputs: gate_id (required), wait_seconds.
get_rulebench_reportBRead-onlyInspect
Get the results of a Rulebench audit, waiting up to wait_seconds for runs still in progress.
Inputs: audit_id (required), wait_seconds.
list_modelsBRead-onlyInspect
Suggested chat models to test (OpenRouter ids). Any OpenRouter model id works.
Inputs: no named parameters.
retest_promptAInspect
Run an audit's same test messages on the same models again, either unchanged (to check a model update) or with a revised prompt, and report before versus after.
Inputs: audit_id (required), prompt.
schedule_monitoringAInspect
Rerun an audit daily or weekly and email the account owner when a rule starts breaking more often (for example after a provider updates a model).
Inputs: audit_id (required), schedule (required).
suggest_prompt_fixARead-onlyInspect
Draft a revised system prompt that fixes the rules an audit found broken. Returns the new prompt and what changed; run retest_prompt with it to check.
Inputs: audit_id (required).
test_prompt_rulesAInspect
Test whether a chatbot or LLM feature keeps the rules in its system prompt. Rulebench reads the rules out of the prompt, writes everyday and adversarial test messages, runs them on the chosen models with the prompt as the system prompt, and grades every reply rule by rule. Returns the score per model, the rules that broke with example replies, and a report link. Use it after writing or changing a system prompt, or before switching models.
Inputs: prompt (required), name, models, messages.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
LLM red teaming and prompt injection testing for chatbots and AI agents: A-F grade, prompt fixes.
Jailbreak resistance tester for LLM agents: DAN, role-play, encoding bypass probes.
Tests a model or prompt change on your own evals and says if it holds, before your agent ships it.
Prompt injection and system-prompt extraction testing for LLM agents. Free 8-probe sample.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables a coding agent to iteratively rewrite a misbehaving prompt and rerun it, with every attempt graded against a frozen baseline by judges from other AI vendors so improvements are proven rather than assumed. It also classifies failures into nine origins, showing when the problem lies in the test set, rubric, judges, or surrounding code instead of the prompt.10Apache 2.0
- AlicenseNot gradedqualityCmaintenanceRun and test agentic systems in isolated Docker sandboxes, varying system prompts, models, and task prompts while capturing full behavior traces via MCP tools.MIT

mirage-mcpofficial
FlicenseNot gradedqualityDmaintenanceEnables auditing an AI agent's guardrails by providing adversarial test prompts and scoring responses against known refusal/guardrail patterns.-- AlicenseAqualityDmaintenanceAn MCP server that runs curated adversarial prompts against local Ollama models to test guardrails, scoring responses with heuristic verdicts for human review.51MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.