ARCHOS 525 BLUEPRINT · /d/dgm_int-tool-gateway
Tool Execution Gateway Internals (MCP Policy, Sandbox & Idempotency)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-tool-gateway) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-tool-gateway)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-tool-gateway" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Tool Execution Gateway Internals (MCP Policy, Sandbox & Idempotency) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Autonomous Agents"]
n1_1["MCP Tool Gateway"]
n2a_2["Policy & Approval Gate"]
n2b_3[("Idempotency & Budget")]
n3_4[("Isolated Connectors")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Call tool · JSON-RPC"| n1_1
n1_1 -->|"2a. Check auth · gRPC"| n2a_2
n1_1 -.->|"2b. Guard step · Redis"| n2b_3
n2a_2 -->|"3a. Exec/Log · HTTPS"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Autonomous AgentsSTATELESSStructured MCP tool calls
- MCP Tool GatewaySTATELESSJSON Schema + arg validation
- Policy & Approval GateSTATELESSOPA RBAC + HITL for writes
- Idempotency & BudgetSTATEFULStep cap + dedupe mutating ops
- Isolated ConnectorsSTATEFULScoped OAuth + audit receipt
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Autonomous Agents → MCP Tool Gateway (Call tool)[JSON-RPC]
- MCP Tool Gateway → Policy & Approval Gate (Check auth)[gRPC]
- MCP Tool Gateway → Idempotency & Budget (Guard step)[Redis]
- Policy & Approval Gate → Isolated Connectors (Exec/Log)[HTTPS]
- Idempotency & Budget → Isolated Connectors (Sync)[Control]
- Isolated Connectors → Downstream & OTel (Emit /)[OTLP/API]