Agent Policy Gateway MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_piiA | Scannt Text auf personenbezogene Daten (PII). Erkennt: E-Mail-Adressen, Telefonnummern (US/EU), SSNs, Kreditkartennummern und IBANs. Gibt gefundene PII-Typen und eine bereinigte Version zurück. Nutze dieses Tool BEVOR du Text an externe Services sendest. Args: text: Der zu prüfende Text Returns: found_pii: Liste der gefundenen PII-Typen mit Positionen redacted_text: Text mit entfernter PII (ersetzt durch [PII_TYP]) has_pii: Boolean ob PII gefunden wurde pii_count: Anzahl gefundener PII-Elemente |
| apply_guardrailsA | Prüft ob eine Agent-Aktion gemäß konfigurierbarer Policies erlaubt ist. Prüft: Spend-Limits, erlaubte Domains, geblockte Aktionen, Aktionen die menschliche Freigabe brauchen, API-Rate-Limits. Args: action: Die geplante Aktion (z.B. "send_email", "make_purchase") context: Optionaler Kontext mit Details: - amount_usd: Betrag in USD (für Spend-Checks) - domain: Ziel-Domain (für Domain-Checks) - api_calls_this_minute: Aktuelle API-Calls (für Rate-Limits) - custom_policies: Dict mit Policy-Overrides Returns: allowed: Boolean ob die Aktion erlaubt ist decision: "allow", "deny" oder "require_approval" reason: Begründung der Entscheidung policy_checked: Welche Policy gegriffen hat |
| log_actionB | Loggt eine Agent-Aktion in ein Append-Only Audit-Log. Jeder Agent bekommt eine eigene JSONL-Datei unter ~/.agent-audit-log/. Einträge sind unveränderlich und enthalten Zeitstempel, Agent-ID, Aktionstyp und Details. Args: agent_id: Eindeutige ID des Agents action: Art der Aktion (z.B. "api_call", "data_access") details: Zusätzliche Details zur Aktion Returns: logged: Boolean ob erfolgreich entry_id: Eindeutige ID des Log-Eintrags file_path: Pfad zur Audit-Datei |
| get_audit_logA | Ruft Audit-Log-Einträge für einen Agent ab. Liest die JSONL-Audit-Datei und gibt die letzten Einträge zurück. Nützlich für Compliance-Reviews und Incident-Analyse. Args: agent_id: Eindeutige ID des Agents limit: Maximale Anzahl Einträge (Standard: 50) Returns: entries: Liste der Log-Einträge (neueste zuerst) total_entries: Gesamtanzahl Einträge agent_id: Abgefragter Agent |
| check_complianceA | Prüft ob ein Aktionstyp besondere Anforderungen unter EU AI Act oder DSGVO hat. Kennt Risikokategorien: automated_decision, biometric_identification, credit_scoring, content_moderation, recruitment, data_processing, customer_profiling, chatbot_interaction. Args: action_type: Art der Aktion (z.B. "automated_decision", "recruitment") jurisdiction: Rechtsraum — aktuell "EU" unterstützt Returns: action_type: Abgefragter Aktionstyp jurisdiction: Geprüfter Rechtsraum risk_level: AI Act Risikostufe requirements: Liste der Anforderungen gdpr_articles: Relevante DSGVO-Artikel is_prohibited: Ob die Aktion verboten ist |
| emergency_stopA | Löst einen Notfall-Stopp für einen Agent aus. Loggt das Emergency-Stop-Event ins Audit-Log und gibt ein Kill-Switch-Signal zurück. Der aufrufende Agent MUSS nach Erhalt dieses Signals alle laufenden Aktionen sofort beenden. Args: agent_id: ID des zu stoppenden Agents reason: Grund für den Notfall-Stopp Returns: kill_switch: True — Agent muss sofort stoppen agent_id: Gestoppter Agent reason: Grund des Stopps timestamp: Zeitstempel audit_entry: ID des Audit-Eintrags |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/AiAgentKarl/agent-policy-gateway-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server