Outline sketch
# MCP / tool semantic firewall
State: relevant software state for this pattern.
Ask: Choice / Score / Noul questions that close the decision space.
Then: compose the route or action in code; escalate when confidence is low.
Needs access to: typesafe-sdk
Who it's for
MCP client authors
Steps / how it's set up
Steps
- Pre-tool Nouls per hazard.
- ALLOW/APPROVE/BLOCK in code.
- Compose the decision in application code and calibrate thresholds on your data.
Sources
Metrics and demo claims are author-reported or cookbook-reported unless you measure them yourself. Calibrate on your data.
Expected effect
Multi-hazard beats one vague question (author-reported)
Unofficial outline for learning. Paraphrased from public docs and tutorials — not a production recipe. Review sources before you automate anything.