Skip to main content
Glama

Report test results

report_test_results

Report results of tests YOU executed yourself (your own browser/Playwright, curl/HTTP checks, a manual click-through, a CI job) - not run by run_tests. Every test you execute for a project must be reported here, pass or fail. One call can report several tests. Each result needs test_id (create the test first with manage_test if it does not exist yet) and result pass|warn|fail|error|timeout; optional summary, steps (what you did and saw), metrics, started_at/finished_at (ISO), artifacts [{kind: screenshot|video|replay|log|report, url | bytes_b64, mime_type, file_name}]. Stores a finished run (source 'external', executor = who ran it) and updates the test's traffic light unless a newer run exists.

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": {
      "results": "<results>"
    },
    "name": "report_test_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultsYesOne entry per executed test
executorNoWho/what executed the tests, e.g. 'Claude Code, Playwright headless'
target_commitNoGit commit under test
environment_idNoEnvironment the tests ran against (manage_test_environment)
target_versionNoSoftware version under test

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare write/idempotent=false/destructive=false, and the description goes beyond them usefully: it discloses storage semantics (finished run with source 'external', executor recorded) and the conditional side effect on the test's traffic light unless a newer run exists. It stops short of describing error behavior or what the call returns, but the side-effect profile is well covered.

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?

Front-loaded with the core verb and the run_tests exclusion, then the mandatory-every-test norm, then the per-result requirements. It is dense but nearly every clause carries operational information; only the field enumeration slightly duplicates schema content.

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?

For a 5-parameter batch-write tool with no output schema, the description covers prerequisites, cardinality ('one call can report several tests'), side effects and ordering against newer runs. The remaining gap is that with no output schema present, it never says what the response contains (e.g. run IDs or per-result status), leaving the agent to discover return values empirically.

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 coverage is 100%, so the schema already documents test_id, result enum, timestamps, artifacts and top-level executor/commit/version fields. The description restates the same sets (test_id, result pass|warn|fail|error|timeout, artifacts kinds) without adding format or default semantics beyond what the schema already carries, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource (report results of tests you executed yourself) and immediately distinguishes the sibling it is not: 'not run by run_tests'. It also enumerates concrete execution modes (browser/Playwright, curl, manual click-through, CI) so an agent knows exactly which class of activity belongs here.

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

Usage Guidelines5/5

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

Norms and exclusions are explicit: 'Every test you execute for a project must be reported here, pass or fail', the contrast with run_tests, and the prerequisite 'create the test first with manage_test if it does not exist yet'. Almost no inference is required to decide when to call this versus a sibling.

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.

Resources