Skip to main content
Glama

Server Details

Autonomous agent guardrails, bash sandboxing, MCP rugpull diffing & prompt firewalls.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
Repository
stand-out-of-my-sun/diogenes-agent-guardrails-mcp
GitHub Stars
2
Server Listing
Diogenes Agent Guardrails & Command Sandbox MCP
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 12 tools

Disambiguation5/5

Each tool targets a distinct artifact surface (MCP manifest, egress URI, response claims, action trace, Python source, raw tool output, sampling request, SQL AST, A2A card, shell payload), and the descriptions actively disambiguate near-neighbors with explicit 'use X instead' pointers (manifest audit vs schema rugpull, PII redaction vs output sanitization, command safety vs SQL validation). No two tools appear interchangeable.

Naming Consistency5/5

All twelve names follow a strict snake_case verb_noun pattern with security-specific verbs (audit_, detect_, validate_, verify_, sanitize_, redact_, execute_) that map to the tool's actual action. No camelCase or bare-noun outliers.

Tool Count5/5

Twelve tools sits squarely in the well-scoped band and each one covers a separate guardrail checkpoint (ingress, egress, execution, loop control, peer trust). Nothing looks like padding or a redundant variant.

Completeness4/5

Coverage spans inbound sanitization, manifest/sampling vetting, outbound egress and PII filtering, sandboxed execution, loop detection, and A2A trust — a coherent lifecycle. The main gap is that detect_mcp_schema_rugpull depends on a pinned baseline snapshot but no tool exists to create or persist that baseline, and there is no aggregate 'run all guardrails' check for a full turn.

Available Tools

12 tools
audit_mcp_server_manifestExternal MCP Server Manifest & Tool-Poisoning Security AuditorA
Read-onlyIdempotent
Inspect

Scans an external MCP server's initial tools/list manifest to detect tool-name shadowing (read_file, bash) and hidden prompt-injection directives in descriptions. Use when vetting a newly discovered third-party MCP server before mounting it into an agent session; for comparing a previously pinned MCP baseline against a live mid-session tools/list response, use detect_mcp_schema_rugpull instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'manifest_json' ('audit_profile' defaults to 'strict'), supports '?demo=true' or L402 (25 sats), and returns HTTP 400 if invalid.

Inputs: manifest_json (required), audit_profile. Returns: Deterministic response schema for audit_mcp_server_manifest.

audit_outbound_egress_urlOutbound Agent URL SSRF, Metadata & Secret Exfiltration FirewallA
Read-onlyIdempotent
Inspect

Static validation firewall for outbound network destination URIs against cloud metadata IP addresses (169.254.169.254), RFC 1918 private IP blocks, and query-string secret exfiltration before agent dispatch. Use when validating a user-supplied or tool-supplied URI destination before network dispatch; for auditing local shell commands or general prompts, use verify_agent_command_safety instead. Read-only edge call (32 KB, 60 RPM): accepts 'destination_uri' ('egress_policy' defaults to 'block_private_and_metadata'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

Inputs: destination_uri (required), egress_policy. Returns: Deterministic response schema for audit_outbound_egress_url.

audit_response_factualityDraft Agent Response Groundedness & Hallucination AuditorA
Read-onlyIdempotent
Inspect

Cross-references factual claims, numbers, and citations in a draft agent response against retrieved source passages to flag unsupported hallucinations before delivery. Use when verifying that a generated answer is 100% grounded in source evidence before returning it to the user; for scrubbing inbound tool outputs for prompt-injection and invisible Unicode, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'claim' ('context' defaults to 'standard'), supports '?demo=true' or L402 (25 sats), and returns HTTP 400 if invalid.

Inputs: claim (required), context (required), strictness. Returns: Deterministic response schema for audit_response_factuality.

detect_agent_action_loopAutonomous Agent Action-Trace Loop & Token-Burn Circuit BreakerA
Read-onlyIdempotent
Inspect

Analyzes an agent's recent tool-call trace to detect identical retry spins, A/B state oscillation, and runaway token burn. Use when monitoring autonomous agent execution loops to decide whether to continue or trip a token-burn breaker; for inspecting a single command payload for security threats before execution, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'action_trace_json' ('sensitivity' defaults to 'strict_2_repeats'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

Inputs: action_trace_json (required), sensitivity. Returns: Deterministic response schema for detect_agent_action_loop.

detect_mcp_schema_rugpullMid-Session MCP tools/list Rug-Pull & Schema Mutation DetectorA
Read-onlyIdempotent
Inspect

Computes structural diffs between a pinned baseline MCP tools/list snapshot and a live server response to catch mid-session description or schema tampering. Use when verifying that a connected MCP server has not mutated its tool definitions mid-session; for performing a first-time static security audit on a single MCP manifest, use audit_mcp_server_manifest instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'baseline_tools_json' ('current_tools_json' defaults to 'standard'), supports '?demo=true' or L402 (20 sats), and returns HTTP 400 if invalid.

Inputs: baseline_tools_json (required), diff_mode, current_tools_json. Returns: Deterministic response schema for detect_mcp_schema_rugpull.

execute_python_sandboxAST-Audited Ephemeral Python Code Execution SandboxA
Read-onlyIdempotent
Inspect

Audits Python source code for forbidden syscalls (os, subprocess, socket, open, eval) inside an AST-governed WebAssembly sandbox with no host filesystem access. Use when executing LLM-generated Python snippets safely; for checking shell commands without executing code, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'python_script' ('timeout_profile' defaults to 'fast_1s'), supports '?demo=true' or MPP (250 sats), and returns HTTP 400 if invalid.

Inputs: python_script (required), timeout_profile. Returns: Deterministic response schema for execute_python_sandbox.

redact_sensitive_piiZero-PII & Secret Credential Redaction EngineA
Read-onlyIdempotent
Inspect

Redacts emails, phone numbers, SSNs, credit cards, API keys, and crypto private keys from text before logging or external transmission. Use when stripping personal data or secret credentials from prompts, logs, or outbound messages; for neutralizing indirect prompt injections and invisible Unicode in inbound tool responses, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('redaction_style' defaults to 'typed_token'), supports '?demo=true' or L402 (25 sats), and returns HTTP 400 if invalid.

Inputs: text (required), redaction_style. Returns: Deterministic response schema for redact_sensitive_pii.

sanitize_tool_output_streamIndirect Prompt-Injection, Invisible Unicode & Beacon Output ScrubberA
Read-onlyIdempotent
Inspect

Sanitizes untrusted external tool or web-scrape outputs by stripping invisible Unicode Tag characters (U+E0000), neutralizing Markdown tracking image beacons, and defusing indirect prompt overrides. Use when cleaning raw third-party tool outputs or scraped web text before inserting it into the LLM context window; for redacting personal identifiable information (emails, SSNs, keys) from outbound text, use redact_sensitive_pii instead. Read-only edge call (32 KB, 60 RPM): accepts 'raw_tool_output' (with enum defaults), uses '?demo=true' or L402 (15 sats); HTTP 400 if invalid.

Inputs: raw_tool_output (required), wrap_tag. Returns: Deterministic response schema for sanitize_tool_output_stream.

validate_mcp_sampling_requestInbound MCP sampling/createMessage Reverse-Injection FirewallA
Read-onlyIdempotent
Inspect

Audits inbound MCP sampling/createMessage callbacks from connected servers to block cross-server context snooping (includeContext='allServers') and token quota hijacking. Use when filtering a connected MCP server's request to sample the host LLM; for scrubbing text returned from a standard synchronous tools/call response, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sampling_request_json' ('max_tokens_ceiling' defaults to '512'), supports '?demo=true' or L402 (20 sats), and returns HTTP 400 if invalid.

Inputs: sampling_request_json (required), max_tokens_ceiling. Returns: Deterministic response schema for validate_mcp_sampling_request.

validate_sql_query_astAST-Level Read-Only SQL Query & Injection Safety ValidatorA
Read-onlyIdempotent
Inspect

Performs static AST syntax tree parsing on SQL statements to verify strictly read-only SELECT clauses and reject mutations, stacked queries, or comment bypasses. Use when verifying that an agent-authored SQL statement is strictly read-only before running it on a database; for screening non-SQL bash commands or general agent prompts, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sql_statement' ('dialect' defaults to 'postgres'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

Inputs: sql_statement (required), dialect. Returns: Deterministic response schema for validate_sql_query_ast.

verify_a2a_agent_cardA2A /.well-known/agent.json Identity & Capability Card VerifierA
Read-onlyIdempotent
Inspect

Verifies a remote agent's A2A /.well-known/agent.json discovery card, checking JWS/DID signature binding, endpoint HTTPS enforcement, and capability spoofing. Use when authenticating a peer autonomous agent before delegating subtasks or exchanging payments over A2A; for auditing an MCP tool server's tools/list manifest rather than a peer agent's A2A card, use audit_mcp_server_manifest instead. Read-only edge call (32 KB, 60 RPM): accepts 'agent_card_json' ('trust_policy' defaults to 'require_https_and_did'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

Inputs: agent_card_json (required), trust_policy. Returns: Deterministic response schema for verify_a2a_agent_card.

verify_agent_command_safetyAutonomous Agent Pre-Execution Command & Prompt Injection GateA
Read-onlyIdempotent
Inspect

Evaluates untrusted agent prompts, bash commands, and tool arguments to block prompt injection, destructive shell commands, and private-key exfiltration. Use when screening a general shell command or user prompt before autonomous agent execution; for statically validating SQL database queries at the AST level, use validate_sql_query_ast instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'payload' ('action_type' defaults to 'bash_command'), supports '?demo=true' or L402 (20 sats), and returns HTTP 400 if invalid.

Inputs: payload (required), action_type. Returns: Deterministic response schema for verify_agent_command_safety.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Zero-dependency, memory-safe Rust execution firewall and MCP proxy for AI agents. Blocks infinite loops, enforces token/USD budgets, redacts leaked secrets (DLP), and records tamper-evident audit logs with sub-millisecond overhead.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables running AI coding agents and MCP servers inside an OS-level least-privilege sandbox that hides credentials and blocks network access by default, with tool firewalling, rug-pull protection, audit logging, and boundary verification.
      8
      2
      AGPL 3.0
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.