List models

The ostra_list_models tool on the Ostra MCP server — arguments, result, errors and examples.

MCPhttps://ostra.testrelic.ai/mcp · ostra_list_models

Lists the Ostra models, their tasks and prices. Free, and works with read-only keys.

Title
List Ostra models
Access
Any key, read-only included.
Cost
Free; not rate limited.
Hints
readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false

Once the Ostra MCP server is connected, your agent calls the tool with these arguments.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ostra_list_models",
    "arguments": {}
  }
}
Headers
mcp-protocol-version
2025-06-18
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"object\":\"list\",\"data\":[{\"id\":\"ostra-lite\",\"name\":\"Ostra Decision\",\"status\":\"beta\",\"release\":\"v.beta.5\",\"tasks\":[{\"task\":\"triage\",\"name\":\"Failure triage\",\"description\":\"Classifies a failing test as flaky, product bug, test bug, environment or selector drift.\",\"mcpTool\":\"ostra_triage_failure\",\"rateLabel\":\"$0.50 / 1M failures\",\"outputRateLabel\":\"$0.00 / 1M decisions\",\"version\":\"1.4.0\",\"contentHash\":\"sha256:3f9a1c07d2e4b8a6\",\"gatePassed\":true,\"classes\":[\"flaky\",\"product_bug\",\"test_bug\",\"environment\",\"selector_drift\"],\"deferThreshold\":0.6},{\"task\":\"test_impact\",\"name\":\"Test impact\",\"description\":\"Ranks candidate tests by the probability that a diff breaks them.\",\"mcpTool\":\"ostra_select_impacted_tests\",\"rateLabel\":\"$2.00 / 1M diffs\",\"outputRateLabel\":\"$0.00 / 1M decisions\",\"version\":\"1.1.2\",\"contentHash\":\"sha256:a07be3315c9d4f12\",\"gatePassed\":true,\"classes\":[\"not_impacted\",\"impacted\"],\"deferThreshold\":0.55},{\"task\":\"selector_survival\",\"name\":\"Selector survival\",\"description\":\"Predicts whether UI locators survive the next release.\",\"mcpTool\":\"ostra_check_selector\",\"rateLabel\":\"$0.25 / 1M selectors\",\"outputRateLabel\":\"$0.00 / 1M decisions\",\"version\":\"1.2.0\",\"contentHash\":\"sha256:5d21f0e9c4a7b3e8\",\"gatePassed\":true,\"classes\":[\"survives\",\"breaks\"],\"deferThreshold\":0.6}],\"pricing\":{\"input\":\"$0.25–$2.00 / 1M inputs\",\"output\":\"$0.00 / 1M decisions\"},\"latencyP50Ms\":41,\"requests7d\":1284},{\"id\":\"ostra-pro\",\"object\":\"model\",\"created\":1794873600,\"owned_by\":\"testrelic\",\"name\":\"Ostra Pro\",\"version\":\"1.0\",\"base_url\":\"https://ostra.testrelic.ai/api/v1\",\"context_window\":262144,\"max_output_tokens\":32768,\"pricing\":{\"input\":\"$0.64 / 1M input tokens\",\"cached_input\":\"$0.06 / 1M cached input tokens\",\"output\":\"$4.47 / 1M output tokens\"},\"mcp_tool\":\"ostra_pro_chat\"}]}"
      }
    ],
    "structuredContent": {
      "object": "list",
      "data": [
        {
          "id": "ostra-lite",
          "name": "Ostra Decision",
          "status": "beta",
          "release": "v.beta.5",
          "tasks": [
            {
              "task": "triage",
              "name": "Failure triage",
              "description": "Classifies a failing test as flaky, product bug, test bug, environment or selector drift.",
              "mcpTool": "ostra_triage_failure",
              "rateLabel": "$0.50 / 1M failures",
              "outputRateLabel": "$0.00 / 1M decisions",
              "version": "1.4.0",
              "contentHash": "sha256:3f9a1c07d2e4b8a6",
              "gatePassed": true,
              "classes": [
                "flaky",
                "product_bug",
                "test_bug",
                "environment",
                "selector_drift"
              ],
              "deferThreshold": 0.6
            },
            {
              "task": "test_impact",
              "name": "Test impact",
              "description": "Ranks candidate tests by the probability that a diff breaks them.",
              "mcpTool": "ostra_select_impacted_tests",
              "rateLabel": "$2.00 / 1M diffs",
              "outputRateLabel": "$0.00 / 1M decisions",
              "version": "1.1.2",
              "contentHash": "sha256:a07be3315c9d4f12",
              "gatePassed": true,
              "classes": [
                "not_impacted",
                "impacted"
              ],
              "deferThreshold": 0.55
            },
            {
              "task": "selector_survival",
              "name": "Selector survival",
              "description": "Predicts whether UI locators survive the next release.",
              "mcpTool": "ostra_check_selector",
              "rateLabel": "$0.25 / 1M selectors",
              "outputRateLabel": "$0.00 / 1M decisions",
              "version": "1.2.0",
              "contentHash": "sha256:5d21f0e9c4a7b3e8",
              "gatePassed": true,
              "classes": [
                "survives",
                "breaks"
              ],
              "deferThreshold": 0.6
            }
          ],
          "pricing": {
            "input": "$0.25–$2.00 / 1M inputs",
            "output": "$0.00 / 1M decisions"
          },
          "latencyP50Ms": 41,
          "requests7d": 1284
        },
        {
          "id": "ostra-pro",
          "object": "model",
          "created": 1794873600,
          "owned_by": "testrelic",
          "name": "Ostra Pro",
          "version": "1.0",
          "base_url": "https://ostra.testrelic.ai/api/v1",
          "context_window": 262144,
          "max_output_tokens": 32768,
          "pricing": {
            "input": "$0.64 / 1M input tokens",
            "cached_input": "$0.06 / 1M cached input tokens",
            "output": "$4.47 / 1M output tokens"
          },
          "mcp_tool": "ostra_pro_chat"
        }
      ]
    },
    "isError": false
  }
}

Arguments

None. Call it with an empty object.

Result

content[0].text holds the answer as text; structuredContent holds it as JSON:

  • objectstring

    list.

  • dataarray of objects

    The same entries as GET /models.

Errors

Billing, validation, rate-limit and permission problems come back as a normal result with isError: true and structuredContent.error (type, message), the same types as the REST errors. Authentication failures are HTTP 401/403 before any JSON-RPC.

Was this page helpful?