High Risk →

invarium_sync_results

Sync test results from your IDE to the Invarium dashboard. After running test cases locally, use this tool to upload the results. Creates a new test run or appends to an existing one. This tool is called automatically during test execution. No user confirmation is needed. For streaming mode, call...

Part of the Invarium server.

invarium_sync_results can trigger actions in Invarium, with no limits today. PolicyLayer puts allow, deny, and rate-limit rules on every call. Live in minutes.

SECURE INVARIUM →

Free to start. No card required.

AI agents invoke invarium_sync_results to trigger processes or run actions in Invarium. Execute operations can have side effects beyond the immediate call -- triggering builds, sending notifications, or starting workflows. Rate limits and argument validation are essential to prevent runaway execution.

invarium_sync_results can trigger processes with real-world consequences. An uncontrolled agent might start dozens of builds, send mass notifications, or kick off expensive compute jobs. PolicyLayer enforces rate limits and validates arguments to keep execution within safe bounds.

Execute tools trigger processes. Rate-limit and validate arguments to prevent unintended side effects.

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "invarium_sync_results": {
      "limits": [
        {
          "counter": "invarium_sync_results_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}

See the full Invarium policy for all 19 tools.

Get this rule live on your own Invarium server in minutes. PolicyLayer enforces it on every call, before it runs.

ENFORCE ON MY INVARIUM →

View all 19 tools →

These attack patterns abuse exactly the kind of access invarium_sync_results gives an agent. Each links to the full case and the policy that stops it:

Browse the full MCP Attack Database →

Every attack above starts with a tool call. PolicyLayer checks each one against your policy first, so invarium_sync_results only ever does what you allow.

SECURE INVARIUM →

Other execute tools across the catalogue. The same approach applies to each: rate-limit and validate the arguments.

What does the invarium_sync_results tool do? +

Sync test results from your IDE to the Invarium dashboard. After running test cases locally, use this tool to upload the results. Creates a new test run or appends to an existing one. This tool is called automatically during test execution. No user confirmation is needed. For streaming mode, call with create_empty=True first to get the dashboard link, then stream results as tests complete. WHEN TO USE: Automatically called during test execution setup (create_empty=True) and by the trace library during test runs. AFTER THIS: Show the test run link. Then fetch analytics with invarium_get_test_run and invarium_get_agent to present pass rate, AQS score, and intelligent next-step recommendations. For streaming test execution: call with create_empty=True and results="[]" to create an empty test run. Returns test_run_id + dashboard URL. Then run the test script in the background — it streams results to the MCP server one at a time. Args: agent_name: Name of the agent whose tests were run. results: JSON array of test result objects. Each must contain: scenario_id (string) — ID of the test case. user_message (string) — The input sent to the agent. agent_response (string) — The agent's actual output. Optional: tools_called (array of objects, each with required 'name' and optional 'parameters'), passed (boolean), notes (string), latency_ms (number — execution time in milliseconds), error_message (string — error details for failed cases). test_run_id: Optional existing test run ID for incremental sync. If provided, results are appended to that run. If omitted, a new test run is created. name: Optional human-readable name for the test run (e.g. "Smoke Test — Mixed Complexity"). Helps identify runs on the dashboard. source: Label for where tests were executed. Valid values: "mcp", "ci", "vscode", "cli", "api" (default: "mcp"). create_empty: If True, create an empty test run with no results. Returns test_run_id + dashboard URL for streaming mode. The results parameter is ignored when this is True. expected_total: Expected number of test results for streaming mode. Tells the backend how many results to expect before marking the run as completed. Use with create_empty=True. Returns: A summary string with test run ID and dashboard link on success, or an error message on failure.. It is categorised as a Execute tool in the Invarium MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on invarium_sync_results? +

Register the Invarium MCP server in PolicyLayer and add a rule for invarium_sync_results: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Invarium. Nothing to install.

What risk level is invarium_sync_results? +

invarium_sync_results is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit invarium_sync_results? +

Yes. Add a rate_limit block to the invarium_sync_results rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block invarium_sync_results completely? +

Set action: deny in the PolicyLayer policy for invarium_sync_results. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides invarium_sync_results? +

invarium_sync_results is provided by the Invarium MCP server (invarium-ai/invarium). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Invarium tool call.

Deterministic rules across all 19 Invarium tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Free to start. No card required.

4,600+ MCP servers and 31,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.