{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "diogenesgateway.com",
    "site": "diogenesgateway.com",
    "addresses": [
      {
        "address": "172.67.139.188",
        "endpoints": 10,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "104.21.94.202",
        "endpoints": 10,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.64.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3036::ac43:8bbc",
        "endpoints": 10,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3036::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3036::6815:5eca",
        "endpoints": 10,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3036::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.139.188",
          "104.21.94.202",
          "2606:4700:3036::ac43:8bbc",
          "2606:4700:3036::6815:5eca"
        ],
        "first_seen": "2026-11-24T02:42:01.418Z",
        "last_seen": "2026-11-24T02:42:01.418Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "diogenes-edge-gateway",
      "version": "2.5.0",
      "protocol_version": "2024-11-05"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 9,
      "sample": [
        {
          "id": "99107",
          "url": "https://diogenesgateway.com/mcp/agent-guardrails",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-agent-guardrails-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:40:06.097Z"
        },
        {
          "id": "99108",
          "url": "https://diogenesgateway.com/mcp/context-code-solver",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-context-code-solver-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:41:02.710Z"
        },
        {
          "id": "99110",
          "url": "https://diogenesgateway.com/mcp/dev-utilities",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-dev-utilities-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:43:02.198Z"
        },
        {
          "id": "99111",
          "url": "https://diogenesgateway.com/mcp/eve-frontier",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-eve-frontier-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:44:01.524Z"
        },
        {
          "id": "99112",
          "url": "https://diogenesgateway.com/mcp",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-gateway",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:45:03.531Z"
        },
        {
          "id": "99113",
          "url": "https://diogenesgateway.com/mcp/gemini-suite",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-gemini-suite-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:46:00.850Z"
        },
        {
          "id": "99114",
          "url": "https://diogenesgateway.com/mcp/neural-search-engine",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-neural-search-engine-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:47:01.284Z"
        },
        {
          "id": "99115",
          "url": "https://diogenesgateway.com/mcp/web-scraping-engine",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-web-scraping-engine-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:48:00.837Z"
        },
        {
          "id": "99116",
          "url": "https://diogenesgateway.com/mcp/web3-security",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-web3-security-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:49:02.435Z"
        }
      ]
    },
    "same_site": {
      "total": 9,
      "sample": [
        {
          "id": "99107",
          "url": "https://diogenesgateway.com/mcp/agent-guardrails",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-agent-guardrails-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:40:06.097Z"
        },
        {
          "id": "99108",
          "url": "https://diogenesgateway.com/mcp/context-code-solver",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-context-code-solver-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:41:02.710Z"
        },
        {
          "id": "99110",
          "url": "https://diogenesgateway.com/mcp/dev-utilities",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-dev-utilities-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:43:02.198Z"
        },
        {
          "id": "99111",
          "url": "https://diogenesgateway.com/mcp/eve-frontier",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-eve-frontier-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:44:01.524Z"
        },
        {
          "id": "99112",
          "url": "https://diogenesgateway.com/mcp",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-gateway",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:45:03.531Z"
        },
        {
          "id": "99113",
          "url": "https://diogenesgateway.com/mcp/gemini-suite",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-gemini-suite-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:46:00.850Z"
        },
        {
          "id": "99114",
          "url": "https://diogenesgateway.com/mcp/neural-search-engine",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-neural-search-engine-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:47:01.284Z"
        },
        {
          "id": "99115",
          "url": "https://diogenesgateway.com/mcp/web-scraping-engine",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-web-scraping-engine-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:48:00.837Z"
        },
        {
          "id": "99116",
          "url": "https://diogenesgateway.com/mcp/web3-security",
          "server_name": "io.github.stand-out-of-my-sun/diogenes-web3-security-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T02:49:02.435Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.stand-out-of-my-sun",
      "total": 9,
      "sample": [
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-agent-guardrails-mcp",
          "title": "Diogenes Agent Guardrails & Sandbox MCP"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-context-code-solver-mcp",
          "title": "Diogenes Context Compression & Code Solvers MCP"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-dev-utilities-mcp",
          "title": "Diogenes Dev & Data Utilities MCP"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-eve-frontier-mcp",
          "title": "Diogenes EVE: Frontier Sui Move MCP"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-gateway",
          "title": "Diogenes Autonomous Microservice Gateway"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-gemini-suite-mcp",
          "title": "Diogenes Gemini Suite & Agents MCP"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-neural-search-engine-mcp",
          "title": "Diogenes Neural Search & Grounded Research MCP"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-web-scraping-engine-mcp",
          "title": "Diogenes Web Extraction & Markdown Engine MCP"
        },
        {
          "name": "io.github.stand-out-of-my-sun/diogenes-web3-security-mcp",
          "title": "Diogenes Web3, DeFi & 402 Security MCP"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/stand-out-of-my-sun/diogenes-database-intelligence-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "99109",
    "server_name": "io.github.stand-out-of-my-sun/diogenes-database-intelligence-mcp",
    "url": "https://diogenesgateway.com/mcp/database-intelligence",
    "host": "diogenesgateway.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T02:42:01.418Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "ba6c61713a5682141b603db30192eb80224788c321bf9665daf262411f4b6711",
    "first_listed_at": "2026-11-24T02:42:01.418Z",
    "created_at": "2026-11-24T02:40:04.450Z",
    "resolved_addresses": [
      "172.67.139.188",
      "104.21.94.202",
      "2606:4700:3036::ac43:8bbc",
      "2606:4700:3036::6815:5eca"
    ]
  },
  "server": {
    "name": "io.github.stand-out-of-my-sun/diogenes-database-intelligence-mcp",
    "title": "Diogenes Database Intelligence & SQL Engine MCP",
    "description": "Database intelligence, AST SQL injection auditing, query optimization & schema guards.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": "https://github.com/stand-out-of-my-sun/diogenes-database-intelligence-mcp",
    "website_url": "https://diogenesgateway.com",
    "published_at": "2026-11-24T02:38:08.215Z",
    "updated_at": "2026-11-24T02:38:08.215Z",
    "first_seen": "2026-11-24T02:40:03.952Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-24T02:42:02.695Z"
  },
  "operator": {
    "key": "diogenesgateway.com",
    "name": "diogenesgateway.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 188,
    "first_check_in_window": "2026-11-24T02:42:01.418Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "ba6c61713a5682141b603db30192eb80224788c321bf9665daf262411f4b6711",
    "tools": 12,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-24T02:42:01.723Z",
    "tool_names": [
      "synthesize_sql_query",
      "audit_sql_injection_ast",
      "analyze_query_plan",
      "detect_breaking_migrations",
      "transpile_sql_dialect",
      "recommend_database_indexes",
      "validate_schema_normalization",
      "sanitize_sql_telemetry",
      "synthesize_seed_fixtures",
      "calculate_pool_headroom",
      "audit_transaction_isolation",
      "generate_orm_models"
    ],
    "declared": {
      "tools": [
        {
          "name": "synthesize_sql_query",
          "title": "Deterministic NL-to-SQL Synthesizer & Dialect Query Generator",
          "description": "Translates natural language questions into dialect-accurate, optimized SQL SELECT queries with schema awareness and safety checks. Use when generating reporting queries or automated data analytics pipelines; for analyzing SQL execution performance and EXPLAIN plans, use analyze_query_plan instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'natural_language_request' and 'schema_ddl' ('sql_dialect' defaults to 'postgresql_dialect'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "natural_language_request",
              "schema_ddl"
            ],
            "properties": {
              "schema_ddl": {
                "type": "string",
                "description": "Database schema DDL statements defining available tables, columns, and relations."
              },
              "sql_dialect": {
                "enum": [
                  "postgresql_dialect",
                  "mysql_dialect",
                  "sqlite_dialect"
                ],
                "type": "string",
                "description": "Target SQL dialect specification: PostgreSQL dialect, MySQL dialect, or SQLite dialect."
              },
              "read_only_mode": {
                "type": "boolean",
                "description": "Whether to enforce strict read-only SELECT query constraints."
              },
              "natural_language_request": {
                "type": "string",
                "description": "Natural language question or reporting requirement to transform into SQL."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "sql_query",
              "dialect",
              "query_type",
              "explanation",
              "safety_checked"
            ],
            "properties": {
              "dialect": {
                "type": "string",
                "description": "Database engine dialect target the query was generated for."
              },
              "sql_query": {
                "type": "string",
                "description": "Synthesized, formatted SQL query tailored to the provided schema and dialect."
              },
              "query_type": {
                "type": "string",
                "description": "Operation classification (e.g., SELECT_AGGREGATE, SELECT_JOIN, FILTERED_SCAN)."
              },
              "explanation": {
                "type": "string",
                "description": "Step-by-step rationale explaining table joins, filtering predicates, and grouping logic."
              },
              "safety_checked": {
                "type": "boolean",
                "description": "True if AST static analysis verified the query has zero mutation side-effects."
              }
            },
            "description": "Deterministic execution response schema for synthesize_sql_query."
          },
          "annotations": {
            "title": "Deterministic NL-to-SQL Synthesizer & Dialect Query Generator",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_sql_injection_ast",
          "title": "Deterministic SQL AST Injection & Tautology Vulnerability Auditor",
          "description": "Statically parses SQL queries via AST lexical analysis to detect second-order injection, tautology conditions, and stacked queries. Use when auditing dynamic query parameters or untrusted user input before database execution; for sanitizing query strings for telemetry logging, use sanitize_sql_telemetry instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'raw_sql' ('audit_sensitivity' defaults to 'strict_zero_dynamic_taint'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "raw_sql"
            ],
            "properties": {
              "raw_sql": {
                "type": "string",
                "description": "Raw SQL query string to parse and audit for injection vulnerabilities."
              },
              "allow_comments": {
                "type": "boolean",
                "description": "Whether SQL inline comments are allowed or treated as injection vectors."
              },
              "audit_sensitivity": {
                "enum": [
                  "strict_zero_dynamic_taint",
                  "second_order_injection_check",
                  "standard_syntax_audit"
                ],
                "type": "string",
                "description": "Audit sensitivity mode: strict zero dynamic taint, second order injection check, or standard syntax audit."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "is_safe",
              "risk_score",
              "vulnerabilities",
              "ast_fingerprint"
            ],
            "properties": {
              "is_safe": {
                "type": "boolean",
                "description": "True if the SQL query passed AST security audit with zero injection indicators."
              },
              "risk_score": {
                "type": "number",
                "description": "Continuous vulnerability score between 0.0 (safe) and 1.0 (critical exploit)."
              },
              "ast_fingerprint": {
                "type": "string",
                "description": "Normalized structural AST hash of the parsed statement tree."
              },
              "vulnerabilities": {
                "type": "array",
                "description": "List of flagged injection mechanisms (e.g., tautology_always_true, stacked_statement, comment_truncation)."
              }
            },
            "description": "Deterministic execution response schema for audit_sql_injection_ast."
          },
          "annotations": {
            "title": "Deterministic SQL AST Injection & Tautology Vulnerability Auditor",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "analyze_query_plan",
          "title": "SQL Query Plan EXPLAIN Optimizer & Bottleneck Diagnostics",
          "description": "Analyzes SQL EXPLAIN execution plans to detect sequential table scans, high-cost cartesian joins, and buffer memory bottlenecks. Use when diagnosing slow queries, optimizing database performance, or evaluating query cost; for getting index recommendations, use recommend_database_indexes instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'explain_plan_or_query' ('optimization_target' defaults to 'eliminate_seq_scans'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "explain_plan_or_query"
            ],
            "properties": {
              "database_engine": {
                "type": "string",
                "description": "Database engine name (e.g., 'postgres', 'mysql', 'sqlite')."
              },
              "optimization_target": {
                "enum": [
                  "eliminate_seq_scans",
                  "reduce_memory_buffers",
                  "minimize_join_costs"
                ],
                "type": "string",
                "description": "Optimization goal: eliminate sequential scans, reduce memory buffers, or minimize join costs."
              },
              "explain_plan_or_query": {
                "type": "string",
                "description": "Raw text or JSON output of EXPLAIN / EXPLAIN ANALYZE or the candidate SQL query."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "bottlenecks_detected",
              "estimated_cost_reduction_pct",
              "recommended_rewrites"
            ],
            "properties": {
              "bottlenecks_detected": {
                "type": "array",
                "description": "Identified query execution bottlenecks (e.g., Seq Scan on large table, Nested Loop join)."
              },
              "recommended_rewrites": {
                "type": "array",
                "description": "Specific SQL query rewrites and predicate adjustments to improve performance."
              },
              "estimated_cost_reduction_pct": {
                "type": "number",
                "description": "Estimated potential query cost reduction percentage with recommended optimizations."
              }
            },
            "description": "Deterministic execution response schema for analyze_query_plan."
          },
          "annotations": {
            "title": "SQL Query Plan EXPLAIN Optimizer & Bottleneck Diagnostics",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "detect_breaking_migrations",
          "title": "Database Schema Migration Differ & Breaking Change Linter",
          "description": "Compares source and target DDL schemas to identify breaking changes, destructive column drops, and lock-inducing mutations. Use when verifying CI/CD migration scripts before production deployment to prevent downtime; for verifying relational normal form, use validate_schema_normalization instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'current_schema' and 'target_schema' ('risk_tolerance' defaults to 'zero_downtime_strict'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "current_schema",
              "target_schema"
            ],
            "properties": {
              "target_schema": {
                "type": "string",
                "description": "Proposed new database DDL schema representing target migration state."
              },
              "current_schema": {
                "type": "string",
                "description": "Current production database DDL schema representing live tables and columns."
              },
              "risk_tolerance": {
                "enum": [
                  "zero_downtime_strict",
                  "allow_transient_locks",
                  "permissive_dev"
                ],
                "type": "string",
                "description": "Deployment safety policy: zero downtime strict, allow transient locks, or permissive dev."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "breaking_changes_detected",
              "risk_level",
              "breaking_operations",
              "migration_steps_safe_order"
            ],
            "properties": {
              "risk_level": {
                "type": "string",
                "description": "Categorical migration risk assessment (LOW, MEDIUM, HIGH_LOCK_RISK, CRITICAL_DATA_LOSS)."
              },
              "breaking_operations": {
                "type": "array",
                "description": "List of destructive changes (e.g., column dropped, non-null without default, type narrowing)."
              },
              "breaking_changes_detected": {
                "type": "boolean",
                "description": "True if breaking changes or destructive table mutations were identified."
              },
              "migration_steps_safe_order": {
                "type": "array",
                "description": "Recommended zero-downtime phased rollout steps (expand, migrate, contract)."
              }
            },
            "description": "Deterministic execution response schema for detect_breaking_migrations."
          },
          "annotations": {
            "title": "Database Schema Migration Differ & Breaking Change Linter",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "transpile_sql_dialect",
          "title": "Polyglot SQL Dialect Transpiler (PostgreSQL, MySQL, SQLite)",
          "description": "Transpiles SQL queries and DDL schemas across PostgreSQL, MySQL, and SQLite dialects, rewriting functions and syntax quirks. Use when migrating application queries across database backends or testing against in-memory SQLite; for generating new queries from natural language, use synthesize_sql_query instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sql_code' and 'source_dialect' ('target_dialect' defaults to 'sqlite'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "sql_code",
              "source_dialect",
              "target_dialect"
            ],
            "properties": {
              "sql_code": {
                "type": "string",
                "description": "SQL query or DDL statement to convert from source dialect into target dialect."
              },
              "source_dialect": {
                "enum": [
                  "postgresql",
                  "mysql",
                  "sqlite"
                ],
                "type": "string",
                "description": "Original SQL dialect of the input code: postgresql, mysql, or sqlite."
              },
              "target_dialect": {
                "enum": [
                  "postgresql",
                  "mysql",
                  "sqlite"
                ],
                "type": "string",
                "description": "Destination SQL dialect to transpile into: postgresql, mysql, or sqlite."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "transpiled_sql",
              "syntax_transformations",
              "compatibility_warnings"
            ],
            "properties": {
              "transpiled_sql": {
                "type": "string",
                "description": "Transpiled SQL code compliant with the target database dialect specification."
              },
              "compatibility_warnings": {
                "type": "array",
                "description": "Potential semantic differences or unsupported features flagged during transpilation."
              },
              "syntax_transformations": {
                "type": "array",
                "description": "List of dialect-specific transformations applied (e.g., NOW() to CURRENT_TIMESTAMP)."
              }
            },
            "description": "Deterministic execution response schema for transpile_sql_dialect."
          },
          "annotations": {
            "title": "Polyglot SQL Dialect Transpiler (PostgreSQL, MySQL, SQLite)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recommend_database_indexes",
          "title": "Database Index Advisor & Composite B-Tree Optimizer",
          "description": "Recommends optimal single-column and composite B-Tree/BRIN indexes based on slow query WHERE, JOIN, and ORDER BY clauses. Use when optimizing database response times and eliminating full-table scans; for inspecting full execution plans, use analyze_query_plan instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'slow_queries_or_workload' ('index_type_preference' defaults to 'btree_and_composite'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slow_queries_or_workload"
            ],
            "properties": {
              "max_new_indexes": {
                "type": "integer",
                "description": "Maximum number of index creation statements to recommend."
              },
              "index_type_preference": {
                "enum": [
                  "btree_and_composite",
                  "brin_and_gin_sparse",
                  "covering_indexes_include"
                ],
                "type": "string",
                "description": "Target indexing strategy: B-tree and composite, BRIN and GIN sparse, or covering indexes with INCLUDE."
              },
              "slow_queries_or_workload": {
                "type": "string",
                "description": "Collection of slow SQL queries or workload log statements to analyze for index gaps."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "recommended_indexes",
              "expected_speedup_factor",
              "storage_overhead_est"
            ],
            "properties": {
              "recommended_indexes": {
                "type": "array",
                "description": "List of recommended CREATE INDEX DDL statements with target columns."
              },
              "storage_overhead_est": {
                "type": "string",
                "description": "Estimated index disk storage footprint overhead impact."
              },
              "expected_speedup_factor": {
                "type": "number",
                "description": "Estimated average query execution speedup multiple (e.g. 14.5x)."
              }
            },
            "description": "Deterministic execution response schema for recommend_database_indexes."
          },
          "annotations": {
            "title": "Database Index Advisor & Composite B-Tree Optimizer",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "validate_schema_normalization",
          "title": "Relational Schema Normalization Auditor (3NF, BCNF) & Integrity Guard",
          "description": "Audits database schemas for third normal form (3NF) compliance, transitive dependencies, and missing foreign key constraints. Use when reviewing database architectures, preventing update anomalies, or validating relational integrity; for detecting breaking schema migrations, use detect_breaking_migrations instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'schema_ddl' ('target_normal_form' defaults to 'third_normal_form_3nf'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "schema_ddl"
            ],
            "properties": {
              "schema_ddl": {
                "type": "string",
                "description": "Database schema DDL statements defining table columns, primary keys, and relations."
              },
              "strict_keys": {
                "type": "boolean",
                "description": "Whether to enforce explicit foreign key constraints on all ID references."
              },
              "target_normal_form": {
                "enum": [
                  "third_normal_form_3nf",
                  "boyce_codd_bcnf",
                  "denormalized_olap_star"
                ],
                "type": "string",
                "description": "Target normalization standard: 3NF, Boyce-Codd BCNF, or denormalized OLAP star."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "conforms_to_target",
              "normalization_score",
              "redundancies_flagged",
              "refactoring_suggestions"
            ],
            "properties": {
              "conforms_to_target": {
                "type": "boolean",
                "description": "True if the schema strictly satisfies the chosen normal form requirements."
              },
              "normalization_score": {
                "type": "integer",
                "description": "Schema relational design quality score on a 0 to 100 scale."
              },
              "redundancies_flagged": {
                "type": "array",
                "description": "List of redundant fields, missing primary keys, or transitive dependencies identified."
              },
              "refactoring_suggestions": {
                "type": "array",
                "description": "Specific table decomposition and foreign key recommendations to achieve compliance."
              }
            },
            "description": "Deterministic execution response schema for validate_schema_normalization."
          },
          "annotations": {
            "title": "Relational Schema Normalization Auditor (3NF, BCNF) & Integrity Guard",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sanitize_sql_telemetry",
          "title": "SQL Query Telemetry PII Scrubber & Parameterization Masker",
          "description": "Masks PII, financial values, and credential literals from raw SQL query logs and slow-query dumps before telemetry storage. Use when scrubbing production database query logs before shipping to APM tools, Datadog, or external log collectors; for auditing SQL injection vulnerabilities, use audit_sql_injection_ast instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'query_logs' ('masking_policy' defaults to 'mask_pii_and_literals'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query_logs"
            ],
            "properties": {
              "hash_salt": {
                "type": "string",
                "description": "Optional salt string for deterministic pseudonymization of user IDs."
              },
              "query_logs": {
                "type": "string",
                "description": "Raw SQL query text or multi-line database query log strings requiring sanitization."
              },
              "masking_policy": {
                "enum": [
                  "mask_pii_and_literals",
                  "anonymize_all_constants",
                  "strict_ast_parameterization"
                ],
                "type": "string",
                "description": "Scrubbing rigor policy: mask PII and literals, anonymize all constants, or strict AST parameterization."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "sanitized_logs",
              "redacted_literals_count",
              "parameterized_templates"
            ],
            "properties": {
              "sanitized_logs": {
                "type": "string",
                "description": "Clean query logs with sensitive constants replaced by parameter placeholders."
              },
              "parameterized_templates": {
                "type": "array",
                "description": "Normalized abstract query patterns suitable for APM metrics grouping."
              },
              "redacted_literals_count": {
                "type": "integer",
                "description": "Total number of strings, numbers, and PII literals scrubbed from logs."
              }
            },
            "description": "Deterministic execution response schema for sanitize_sql_telemetry."
          },
          "annotations": {
            "title": "SQL Query Telemetry PII Scrubber & Parameterization Masker",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "synthesize_seed_fixtures",
          "title": "Deterministic Relational Seed Data & SQL Mock Fixture Generator",
          "description": "Generates deterministic relational test seed fixtures respecting foreign key constraints, unique indexes, and data bounds. Use when provisioning mock database datasets for automated testing, staging environments, or sandbox demos; for compiling ORM models from schemas, use generate_orm_models instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'schema_ddl' ('fixture_volume' defaults to 'minimal_smoke_test_5'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "schema_ddl"
            ],
            "properties": {
              "schema_ddl": {
                "type": "string",
                "description": "Target database schema DDL defining tables, column types, and foreign key relations."
              },
              "fixture_volume": {
                "enum": [
                  "minimal_smoke_test_5",
                  "standard_dataset_50",
                  "stress_dataset_500"
                ],
                "type": "string",
                "description": "Mock dataset volume profile: minimal smoke test (5), standard dataset (50), or stress dataset (500)."
              },
              "deterministic_seed": {
                "type": "integer",
                "description": "Integer seed for reproducible pseudo-random data generation."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "sql_inserts",
              "records_generated_per_table",
              "foreign_keys_satisfied"
            ],
            "properties": {
              "sql_inserts": {
                "type": "string",
                "description": "Executable SQL INSERT statements populated with realistic mock records."
              },
              "foreign_keys_satisfied": {
                "type": "boolean",
                "description": "True if all foreign key dependencies and unique constraints were verified valid."
              },
              "records_generated_per_table": {
                "type": "object",
                "description": "Count of generated records partitioned by target table name."
              }
            },
            "description": "Deterministic execution response schema for synthesize_seed_fixtures."
          },
          "annotations": {
            "title": "Deterministic Relational Seed Data & SQL Mock Fixture Generator",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_pool_headroom",
          "title": "Database Connection Pool Sizing & Concurrency Headroom Calculator",
          "description": "Calculates optimal connection pool sizing, idle timeouts, and client headroom based on server RAM and concurrency profile. Use when sizing PgBouncer, HikariCP, or Prisma connection pools to avoid server out-of-memory crashes; for checking transaction isolation hazards, use audit_transaction_isolation instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'server_ram_mb' and 'max_concurrent_clients' ('workload_profile' defaults to 'high_concurrency_oltp'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "server_ram_mb",
              "max_concurrent_clients"
            ],
            "properties": {
              "server_ram_mb": {
                "type": "number",
                "description": "Total available RAM in megabytes dedicated to the database server instance."
              },
              "workload_profile": {
                "enum": [
                  "high_concurrency_oltp",
                  "heavy_analytical_olap",
                  "serverless_edge_burst"
                ],
                "type": "string",
                "description": "Workload operational characteristics: high-concurrency OLTP, heavy analytical OLAP, or serverless edge burst."
              },
              "max_concurrent_clients": {
                "type": "number",
                "description": "Peak anticipated concurrent client connections or serverless worker threads."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "recommended_max_connections",
              "recommended_min_idle",
              "connection_timeout_ms",
              "memory_headroom_mb"
            ],
            "properties": {
              "memory_headroom_mb": {
                "type": "number",
                "description": "Estimated unallocated memory buffer in megabytes remaining for query sorting."
              },
              "recommended_min_idle": {
                "type": "integer",
                "description": "Recommended standby idle connection count for warm latency response."
              },
              "connection_timeout_ms": {
                "type": "integer",
                "description": "Recommended pool connection acquisition timeout in milliseconds."
              },
              "recommended_max_connections": {
                "type": "integer",
                "description": "Calculated optimal max pool size to avoid database thrashing and memory exhaustion."
              }
            },
            "description": "Deterministic execution response schema for calculate_pool_headroom."
          },
          "annotations": {
            "title": "Database Connection Pool Sizing & Concurrency Headroom Calculator",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_transaction_isolation",
          "title": "Transaction Concurrency Anomaly & Isolation Level Hazard Auditor",
          "description": "Audits database transaction workflows for concurrency anomalies, dirty reads, non-repeatable reads, and deadlock risks. Use when reviewing financial transfer procedures, inventory decrement operations, or multi-step checkout workflows; for calculating connection pool headroom, use calculate_pool_headroom instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'transaction_steps' ('target_isolation_level' defaults to 'read_committed'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "transaction_steps"
            ],
            "properties": {
              "transaction_steps": {
                "type": "string",
                "description": "Sequential SQL commands or description of business operations within the transaction."
              },
              "strict_deadlock_check": {
                "type": "boolean",
                "description": "Whether to perform exhaustive cross-table lock acquisition ordering analysis."
              },
              "target_isolation_level": {
                "enum": [
                  "read_committed",
                  "repeatable_read",
                  "serializable"
                ],
                "type": "string",
                "description": "Candidate SQL isolation level: read committed, repeatable read, or serializable."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "vulnerable_to_dirty_reads",
              "vulnerable_to_phantom_reads",
              "deadlock_risk",
              "recommended_isolation"
            ],
            "properties": {
              "deadlock_risk": {
                "type": "string",
                "description": "Deadlock risk severity rating (NEGLIGIBLE, MODERATE, HIGH_REVERSED_LOCK_ORDER)."
              },
              "recommended_isolation": {
                "type": "string",
                "description": "Optimal transaction isolation level to ensure ACID safety for the workload."
              },
              "vulnerable_to_dirty_reads": {
                "type": "boolean",
                "description": "True if transactions could read uncommitted intermediate state from other sessions."
              },
              "vulnerable_to_phantom_reads": {
                "type": "boolean",
                "description": "True if concurrent inserts could introduce phantom rows between sequential reads."
              }
            },
            "description": "Deterministic execution response schema for audit_transaction_isolation."
          },
          "annotations": {
            "title": "Transaction Concurrency Anomaly & Isolation Level Hazard Auditor",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "generate_orm_models",
          "title": "SQL DDL to Type-Safe ORM Entity Compiler (Prisma, Drizzle, Zod)",
          "description": "Compiles SQL DDL schemas into type-safe ORM entities and TypeScript validation schemas (Prisma, Drizzle, SQLAlchemy, Zod). Use when scaffolding application models, generating TypeScript data layers, or synchronizing schemas; for translating raw SQL across dialects, use transpile_sql_dialect instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'schema_ddl' ('orm_target' defaults to 'drizzle_orm_typescript'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.",
          "inputSchema": {
            "type": "object",
            "required": [
              "schema_ddl"
            ],
            "properties": {
              "orm_target": {
                "enum": [
                  "prisma_schema",
                  "drizzle_orm_typescript",
                  "sqlalchemy_python_2_0",
                  "zod_types_validation"
                ],
                "type": "string",
                "description": "Target ORM framework standard: Prisma schema, Drizzle ORM TypeScript, SQLAlchemy Python 2.0, or Zod types."
              },
              "schema_ddl": {
                "type": "string",
                "description": "Database schema DDL statements defining tables, primary keys, and relationships."
              },
              "include_relations": {
                "type": "boolean",
                "description": "Whether to generate explicit foreign key relation decorators and navigation properties."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "compiled_code",
              "orm_framework",
              "models_generated"
            ],
            "properties": {
              "compiled_code": {
                "type": "string",
                "description": "Generated type-safe model code matching the specified ORM or validation schema framework."
              },
              "orm_framework": {
                "type": "string",
                "description": "Name of the target ORM framework output produced."
              },
              "models_generated": {
                "type": "array",
                "description": "List of model entity names successfully parsed and compiled from the schema."
              }
            },
            "description": "Deterministic execution response schema for generate_orm_models."
          },
          "annotations": {
            "title": "SQL DDL to Type-Safe ORM Entity Compiler (Prisma, Drizzle, Zod)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Welcome to Diogenes Edge Gateway (121 Deterministic Microservices).\nTo preserve token context, tools are lazy-loaded via 3 Meta-Tools:\n1. 'diogenes_discover_tools': Search for capabilities by keyword or domain suite (gemini-suite, eve-frontier, web3-security, agent-guardrails, dev-utilities, neural-search-engine, data-pipeline, crypto-market, code-execution).\n2. 'diogenes_inspect_tool': Retrieve full JSON Schema and required parameters for up to 5 tools.\n3. 'diogenes_execute_tool': Execute any tool. Free-tier tools (e.g. malformed_json_healer, guardrail_verify, ast_sql_validator) execute with zero auth. Paid tools accept Lightning L402, Solana x402, Base MPP, or Garlicoin settlement."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}