# RAG Context Sanitizer – A2A & MCP Tool Discovery and Safe-Proxy Router

> RAG Context Sanitizer – A2A & MCP Tool Discovery and Safe-Proxy Router is a paid API for AI agents from hn-pulse.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Searches and routes across 500+ indexed MCP servers and A2A tools with token compression and prompt-injection firewall protection

## Facts

- Endpoint: GET https://hn-pulse.agentdiet.dev/v1/workflows/rag-context-sanitizer?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: hn-pulse.agentdiet.dev
- Website: https://hn-pulse.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/hn-pulse-agentdiet-dev-rag-context-sanitizer-a2a-mcp-tool-discovery-8e48675b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cgZRQWU1WRCMERvVhRzZo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hn-pulse-agentdiet-dev-rag-context-sanitizer-a2a-mcp-tool-discovery-8e48675b
```

Example prompt: Search the agentdiet MCP index for tools that can do context compression and prompt sanitization — I want to find a safe proxy I can route my RAG pipeline through.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover and safely route to external MCP servers or A2A tools without managing individual connections. Especially useful when token budget is a concern (85% compression claim) or when prompt injection from untrusted tool outputs is a risk. Prefer over direct MCP connections when you want a single-connection meta-router with a built-in firewall.

## Known failure modes

- Empty query string returns validation error
- Query too vague returns no matching tools
- Endpoint URL verification fails if target is offline or non-compliant
- Firewall may over-filter legitimate context containing security-related keywords
- Rate limiting or payment required (HTTP 402) if per-call budget is exceeded

## How this service works

Single-connection meta-router indexing 500+ MCP servers & A2A tools with 85% token compression and Prompt-Guard firewall. (Live x402 v2, IETF MPP & MCP endpoint at https://hn-pulse.agentdiet.dev/v1/workflows/rag-context-sanitizer)

## Output

Returns a filtered, token-compressed list of matching MCP servers or A2A tools from a 500+ entry index, including endpoint metadata and routing info, after passing results through a Prompt-Guard firewall to strip injection attempts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hn-pulse-agentdiet-dev-rag-context-sanitizer-a2a-mcp-tool-discovery-8e48675b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hn-pulse.agentdiet.dev](https://www.zero.xyz/host/hn-pulse.agentdiet.dev/llms.txt)
