Skip to main content
Glama

OpenFactory

get_test_results

Get the results of a test run.

Returns bounded individual assertion evidence, a deterministic failure classification, VM/snapshot information, and the exact next diagnostic tools. A failed run with results populated has usable evidence even when the optional legacy logs string is absent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "run_id": "<run_id>"
    },
    "name": "get_test_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAssertion page size; get_test_evidence reads full output
offsetNoAssertion offset in failure-first order
run_idYesThe test run ID
api_keyNoYour OpenFactory MCP API key (optional)
session_tokenNoSession token from a previous tool response (pass this to maintain session continuity)

Output Schema

NameRequiredDescriptionDefault
vmsNo
logsNo
offsetNo
run_idYes
statusYes
resultsNo
summaryNo
verdictNo
build_idYes
evidenceNo
installerNo
created_atYes
test_phaseNo
environmentNo
next_offsetNo
completed_atNo
error_messageNo
parent_run_idNo
operation_kindNotest
retained_untilNo
startup_failuresNo
resource_progressNo
results_truncatedNo
worker_generationNo
verification_bindingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does reasonably well: it discloses that evidence is bounded (a paging/cost trait not obvious from a 'get' name), that failure classification is deterministic, and that legacy `logs` may legitimately be absent so a failed run is not a dead end. It still omits permissions/auth requirements and the concrete paging behavior, which the schema does cover.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core purpose and then the return payload. Slightly noisy with reStructuredText double-backtick markup that adds no meaning for an agent reader.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be spelled out, and the description still sketches what matters (assertions, classification, next tools). For a read-only inspection tool with fully documented parameters this is close to complete; only auth/permission expectations are unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and every parameter including `limit`, `offset`, and the session/auth fields is documented inline, so the baseline is 3. The description adds only the general notion of 'bounded' evidence, not parameter-specific meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get the results of a test run') and enumerates the payload (assertions, failure classification, VM/snapshot info, next diagnostic tools), so an agent knows exactly what comes back. It does not name a sibling to differentiate against in the body — the nearest one, get_test_evidence, only appears in the schema text for `limit`.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied rather than stated: the note about a failed run with `results` populated still being usable 'even when the optional legacy `logs` string is absent' tells the agent how to interpret output but not when to pick this over get_test_evidence or get_test_run_screenshot. No explicit when-not or alternative routing appears in the description body.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.