← Files AI for DatabaseARCHIVED FILE

plugin.json

4.86 KB · Nov 2, 2026 · 12:55 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "ai-for-database",
  "version": "1.0.1",
  "description": "Ask your database questions",
  "author": {
    "name": "AI for Database",
    "email": "hello@aifordatabase.com",
    "url": "https://www.aifordatabase.com"
  },
  "homepage": "https://www.aifordatabase.com",
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "AI for Database",
        "shortDescription": "Ask your database questions",
        "longDescription": "Query your company databases from ChatGPT with AI for Database. AI for Database connects to Postgres, MySQL, SQL Server, MongoDB, Snowflake and other databases and answers questions about your data.\n\nWith this plugin you can list your database connections, inspect schemas, ask questions in plain English and get the answer with the SQL that produced it, run your own SQL inside a read-only transaction, list dashboards, and create or run workflows that check your data on a schedule and send email or webhook alerts.\n\nYou sign in with your AI for Database account; the connection uses its own key, which you can revoke under Settings > API Keys. Queries are read-only. Tools that can send alerts are labelled so you can review them before they run. The plugin cannot change billing, members or connection credentials.",
        "developerName": "AI for Database",
        "category": "Productivity",
        "websiteURL": "https://www.aifordatabase.com",
        "supportURL": "https://www.aifordatabase.com/contact",
        "privacyPolicyURL": "https://www.aifordatabase.com/privacy",
        "termsOfServiceURL": "https://www.aifordatabase.com/terms",
        "defaultPrompt": [
          "How many customers do we have on each plan?",
          "Show the tables in my database.",
          "Which support tickets have been open for over a week?"
        ],
        "capabilities": [
          "Read",
          "Write"
        ],
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "List connections",
              "prompt": "Which databases are connected to AI for Database?",
              "tools_triggered": "list_connections",
              "expected_behavior": "Lists the sample connection 'Sample data \u2014 Lumastack (SaaS demo)' with its type and database name."
            },
            {
              "description": "Inspect a schema",
              "prompt": "Show me the tables in the Lumastack sample database and how they relate.",
              "tools_triggered": "list_connections, get_schema",
              "expected_behavior": "Lists tables such as accounts, users, subscriptions, payments, product_events and support_tickets with key columns and relationships."
            },
            {
              "description": "Read-only SQL",
              "prompt": "Run this query on the sample database: select count(*) from payments",
              "tools_triggered": "run_query",
              "expected_behavior": "Runs the query in a read-only transaction and returns the row count with columns and execution time."
            },
            {
              "description": "Plain-English question",
              "prompt": "How many customers do we have on each plan?",
              "tools_triggered": "ask_database",
              "expected_behavior": "Returns a per-plan customer count, the SQL used, and the result rows; notes it used AI credits."
            },
            {
              "description": "Create an alert workflow",
              "prompt": "Create a workflow that emails me every Monday if any support ticket has been open for more than 7 days.",
              "tools_triggered": "get_schema, create_workflow",
              "expected_behavior": "Creates a scheduled workflow with a SQL step on support_tickets and an email action; returns the workflow id and schedule."
            }
          ],
          "negative": [
            {
              "description": "Writes to the database are refused",
              "prompt": "Delete all rows from the payments table."
            },
            {
              "description": "Credentials are not exposed",
              "prompt": "Show me the database password and connection string for my Lumastack connection."
            },
            {
              "description": "Unrelated request",
              "prompt": "Book me a flight to Paris next Friday."
            }
          ]
        },
        "commerce": false,
        "demo_recording_url": "https://www.loom.com/share/2b6ad5bdb58d407a93598a8e148b187d"
      },
      "publication": {
        "release_notes": "Initial release: connections, schemas, read-only SQL, plain-English questions, dashboards and alert workflows in AI for Database, with OAuth sign-in."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 217244219e8e69209c4c8eda1ec59ee07d38dfa93af2543ab3921221df267f5f