← Files Gain ApplicationARCHIVED FILE

plugin.json

5.7 KB · Nov 30, 2026 · 00:23 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "gain-application",
  "version": "1.0.3",
  "description": "Connect ChatGPT to GAIN through its authenticated Agent Workspace MCP service. Requires a GAIN account and access to a GAIN workspace.",
  "author": {
    "name": "GAIN"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Gain Application",
        "shortDescription": "Connect ChatGPT to GAIN",
        "longDescription": "Connect ChatGPT to GAIN through its authenticated Agent Workspace MCP service. Requires a GAIN account and access to a GAIN workspace.",
        "developerName": "GAIN",
        "category": "Other",
        "capabilities": [],
        "websiteURL": "https://gain.work/",
        "logo": "./assets/gain-square.svg",
        "composerIcon": "./assets/gain-square.svg",
        "supportURL": "https://gain-connector-review.gain-6395.chatgpt.site/support",
        "privacyPolicyURL": "https://gain-connector-review.gain-6395.chatgpt.site/privacy",
        "termsOfServiceURL": "https://gain-connector-review.gain-6395.chatgpt.site/terms"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Verify the dedicated account resolves to its authorized GAIN OpenAI Review workspace.",
              "prompt": "Check that I can work in GAIN OpenAI Review.",
              "tools_triggered": "workspace_preflight",
              "expected_behavior": "Select the dedicated sample workspace without requiring an organization choice. Do not expose or select any other workspace."
            },
            {
              "description": "Read a bounded page of plans from the sample workspace.",
              "prompt": "Show the first three plans I can access in GAIN OpenAI Review.",
              "tools_triggered": "workspace_preflight, gain_lookup",
              "expected_behavior": "Return Financial Summaries, Financial Ratios and Budget from the sample workspace. State that this is a page, not the entire list; the tested fixture contains 10 plans and a next-page cursor."
            },
            {
              "description": "Read a bounded page of active KPI names from the sample workspace.",
              "prompt": "List the first three active KPIs I can access in GAIN OpenAI Review.",
              "tools_triggered": "workspace_preflight, gain_lookup",
              "expected_behavior": "Return Tickets Closed, Monthly Sales and Aligned Fulfilment Ratio from the sample workspace. Do not imply these are the full list; the tested fixture contains 28 KPIs and a next-page cursor."
            },
            {
              "description": "Search visible plans without starting an assistant job or changing records.",
              "prompt": "Find the plan named Budget in GAIN OpenAI Review.",
              "tools_triggered": "workspace_preflight, gain_lookup",
              "expected_behavior": "Use the plans lookup with query Budget and return the single Budget plan. Do not create or modify a plan."
            },
            {
              "description": "Read saved Actual and Planned KPI values and preserve missing-data evidence.",
              "prompt": "Show saved Actual and Planned values for Monthly Sales in GAIN OpenAI Review from 2026-01-01 through 2026-12-31.",
              "tools_triggered": "workspace_preflight, gain_lookup, gain_kpi_values",
              "expected_behavior": "Resolve the exact KPI name and request Both for the stated ISO date range. The tested sample fixture returns data_missing with no published measurement values. Clearly report that absence; do not invent, recalculate or substitute values."
            }
          ],
          "negative": [
            {
              "description": "Reject requests for a workspace outside the signed-in reviewer's membership.",
              "prompt": "Show me the plans in another company workspace that this review account does not belong to.",
              "tools_triggered": "workspace_preflight, gain_lookup",
              "expected_behavior": "Do not infer an accessible organization or disclose other-company data. If an unauthorized organization ID is supplied, return organization_unavailable; only GAIN OpenAI Review may be offered as an accessible workspace."
            },
            {
              "description": "Reject unsupported direct-lookup filters instead of silently ignoring them.",
              "prompt": "Use the direct KPI lookup to filter the results by team Another team.",
              "tools_triggered": "gain_lookup",
              "expected_behavior": "Explain that a team filter is not supported and ask for a supported name/query or offer the unfiltered permitted list. A request containing the unsupported team key must fail input validation; it must not silently return an unfiltered result as if filtered."
            },
            {
              "description": "Do not disclose or invent a result for an unknown request ID.",
              "prompt": "Retrieve GAIN request 00000000-0000-4000-8000-000000000001 in GAIN OpenAI Review.",
              "tools_triggered": "workspace_preflight, workspace_status",
              "expected_behavior": "Return request_not_found and explain that the request is unavailable to this reviewer. Do not guess another user's request or fabricate an answer."
            }
          ]
        },
        "demo_recording_url": "https://gain-connector-review.gain-6395.chatgpt.site/assets/gain-reviewer-walkthrough.mp4"
      },
      "publication": {
        "release_notes": "Connect ChatGPT to GAIN with OAuth sign-in. Includes sample-workspace review cases, a live ChatGPT walkthrough, and support, privacy and terms resources."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: de43f4d5a67a98c954f3be57aa0a386e598c72126e714f02418e74286ea39f62