Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Fetch failed rows for goal
OPENLAYER_MCP_FETCH_FAILED_ROWS_FOR_GOALFetch the rows that made a test fail, with per-row judge scores and the LLM judge's explanation (reasoning) for each score. This is how you answer "why did this test fail on this row?" -- each returned row carries a ``judge_scores`` list of ``{score_column, score, test_name, explanation}``, where ``explanation`` is the judge's written justification, the same text the UI shows in the record detail panel. Rows are selected using a 3-tier filter strategy: 1) Prefer pre-computed rowsBody.columnFilters from the goal result (update measurement names with llmSettingHash if available; invert operators to target failed rows). 2) Otherwise construct aggregate metric filters (latency/cost/tokens).
Finalize commit
OPENLAYER_MCP_FINALIZE_COMMITCreate a commit from a bundle already uploaded via create_presigned_upload_url.
Finalize custom metric
OPENLAYER_MCP_FINALIZE_CUSTOM_METRICSENSITIVE: when it replaces a metric that tests use: those tests compute their next results with the new code and bounds. Blast radius: every test that uses the metric. Undo: push the previous version again; results already computed stay as they are. Adding a new key is not sensitive. Registers a custom metric whose bundle is already uploaded. Tar the metric folder so the archive root is a folder named ``key`` (``tar -cf bundle.tar <key>``), upload it with ``create_presigned_upload_url``, then call this with the returned ``storage_uri`` and the values from its ``config.json``.
Get alert settings
OPENLAYER_MCP_GET_ALERT_SETTINGSShow where a project's alerts go: the Slack channel, which events post to it, and the workspace webhooks with their event types. Also explains the ``alertsConfigured`` lifecycle requirement: whether it is met, and if not, what to add. Read this before changing any alert setting. There is no event for a data source that stops receiving data; use ``get_data_source_health`` for that.
Get connector sync status
OPENLAYER_MCP_GET_CONNECTOR_SYNC_STATUSShow which connector syncs into a data source, and how its sync is doing. For a data source a connector feeds (ElevenLabs, Agentforce, Dialogflow, Copilot Studio, ...), returns the connector, the synced agent, whether it is enabled, the time and error of its last sync, the running total of records it has synced, and the connection's state. It also returns the earliest and latest *record* times, which for synced history can be days before the sync itself. ``diagnosis`` flags records that all fall before the monitoring tests' windows, and gives the ``evaluate_data_source`` range that covers them. Connectors keep running totals only, so there is no count for the last sync alone. ``connector`` is null when no connector feeds the data source.
Get data source health
OPENLAYER_MCP_GET_DATA_SOURCE_HEALTHCheck whether a data source is still receiving data, and how much. Returns when the last sample arrived plus request-volume series, whether the data source is paused, and when it was last evaluated. Use it first when a user reports missing data or missing results. ``diagnosis`` names the case: a stale ``last_sample_received`` points upstream of Openlayer, while a paused data source, or samples arriving with no recent evaluation, points at evaluation. ``last_sample_received`` is when data *arrived*; the ``earliest_record`` / ``latest_record`` times are what tests evaluate by. When every record is older than the tests' windows (common after a connector syncs history), ``diagnosis`` gives the ``evaluate_data_source`` range to run. For a connector-fed data source, also see ``get_connector_sync_status``. The volume series come in fixed hourly/daily/weekly/monthly windows computed by the backend -- the route accepts no time range, so an arbitrary window (say, one specific day last week) cannot be requested here. Use ``fetch_data_source_rows`` with timestamp filters for that.
Get data source row
OPENLAYER_MCP_GET_DATA_SOURCE_ROWFetch one row (trace) from a data source by inference ID, with its OTel steps. Direct lookup for when you already have an inference ID -- from a user, a log, or a previous search -- so you don't have to build a filter to find one trace.
Get data source session
OPENLAYER_MCP_GET_DATA_SOURCE_SESSIONGet the aggregation for one session in a data source. The drill-down for ``fetch_data_source_sessions``: returns the session's record count, token usage, cost, duration and scores.
Get data source session summary
OPENLAYER_MCP_GET_DATA_SOURCE_SESSION_SUMMARYRead the cached AI summary of a session, plus a staleness flag. A whole conversation compressed into a paragraph -- far cheaper to reason over than paging the raw turns. Read-only: it never triggers generation. Summary generation is gated by workspace AI-feature settings and is deliberately not exposed as a tool, so a session with no summary yet reports that explicitly rather than looking like an empty summary. ``stale`` is true when the session has changed since the summary was written.
Get data source user
OPENLAYER_MCP_GET_DATA_SOURCE_USERGet the aggregation for one user of a data source. Use when you already have a user ID and want that user's session count, record count, token usage and cost without paging the whole cohort.
Get framework project rule stats
OPENLAYER_MCP_GET_FRAMEWORK_PROJECT_RULE_STATSGet per-project rule pass/fail stats for a framework.
Get intake form
OPENLAYER_MCP_GET_INTAKE_FORMGet the workspace's intake form: the questions every project answers. Returns sections of fields, each with its ``id``. Reuse those ids in any change -- recorded answers point at them.
Get lifecycle stages
OPENLAYER_MCP_GET_LIFECYCLE_STAGESGet the workspace's lifecycle: the ordered stages projects move through. Each stage has its ``id``, ``approvalMode`` (``sequential`` is what the web app calls "Ordered"), the ``reviewerIds`` who approve leaving it, and the ``requirements`` a project meets before leaving it. Resolve reviewer ids to people with ``list_workspace_members``.
Get risk template
OPENLAYER_MCP_GET_RISK_TEMPLATEGet the workspace's risk template: the dimensions every project is scored on (0-4). Returns categories of dimensions, each with its ``id``. Reuse those ids in any change -- recorded scores point at them.
Get rule result evidence
OPENLAYER_MCP_GET_RULE_RESULT_EVIDENCEGet the evidence attached to a rule result.
Get test results
OPENLAYER_MCP_GET_TEST_RESULTSList results for a test.
Get workspace rule stats
OPENLAYER_MCP_GET_WORKSPACE_RULE_STATSGet aggregate rule-result stats for a workspace (compliance summary).
List commits
OPENLAYER_MCP_LIST_COMMITSList the commits in a project, newest first. Each commit carries its ``status`` (e.g. ``completed`` or ``failed``) and its ``passing_goal_count`` / ``failing_goal_count`` / ``total_goal_count``, so a failed push (``status="failed"``, 0 tests) stands out. Use this to show the user which commits are failed or superseded before ``delete_commit``.
List commit test results
OPENLAYER_MCP_LIST_COMMIT_TEST_RESULTSList the test results for a commit. Each result is shaped to the essentials: test_name, status, threshold, the measured value, and goal_id -- pass that goal_id to ``fetch_failed_rows_for_goal`` to drill into the failing rows and read the LLM judge's per-row scores and explanations.
List custom metrics
OPENLAYER_MCP_LIST_CUSTOM_METRICSList a project's custom metrics, with the tests that use each one. Returns each metric's key, name, description, bounds and parameter definitions. Use the key in a ``customMetricThreshold`` test (type ``performance``) whose threshold is ``{"measurement": "value", "insightName": "customMetric", "insightParameters": [{"name": "key", "value": "<key>"}], "operator": "<", "value": 5}``. ``measurement`` is always the literal ``"value"``; the key goes in ``insightParameters``.