Skip to main content
Glama

Ferrite

Test a committed revision

test_ref

Runs a committed revision's #[test]s as its own 2-4 minute build. Run required tests against the exact committed revision before deploying it. TEST a COMMITTED revision (the platform's in-house test gate — no external CI): the platform checks out the app's repo at the ref (omit for the 'main' head), GATES + RUNS its tests (constrained test code against the platform's vetted test SDK), and stores a commit-bound verdict. When the platform requires tests, deploy_ref requires a passing verdict for that commit. ASYNCHRONOUS, and the longest of the three: it compiles the app AND its tests, then runs them. Returns {BuildStarted:{build_id,app}}; then build_status (wait_s: 50), which reports 'tested' (green) or 'test_failed' with the summary.

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": {
      "app": "<app>"
    },
    "name": "test_ref"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
referenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare the safety profile (readOnlyHint false, destructiveHint false), and the description goes well beyond them: it discloses the 2-4 minute duration, the asynchronicity, the fact that it compiles the app and its tests, the constrained test SDK, and the stored commit-bound verdict. The return shape and the `build_status` polling step (wait_s: 50) are also given, but the description doesn't cover failure modes beyond 'test_failed' or what happens if the app fails to compile.

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?

It leads with the core action and gives useful detail, but the density (parentheticals, uppercase emphasis, mid-sentence return-shape snippet) makes it slower to parse than it needs to be. There is little outright waste, but the phrasing could be tighter.

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?

Given that there is no output schema, the description supplies the response shape ({BuildStarted:{build_id,app}}), the terminal states to poll for ('tested' or 'test_failed'), and the async handoff, so the agent knows how to call the tool and what to do next. Only minor gaps remain, such as compile-failure behavior and the meaning of the `app` parameter.

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

Parameters4/5

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

Schema description coverage is 33%, but the description adds the key semantic for `reference`, which is undocumented in the schema: omit it to test the 'main' head. `token` is documented in the schema itself, while `app` is left implicit, so coverage is good but not complete.

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: 'Runs a committed revision's #[test]s as its own 2-4 minute build.' It also distinguishes itself from the surrounding workflow tools by describing the stored commit-bound verdict and contrasting with 'no external CI'.

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?

Explicitly says to run required tests against the exact committed revision before deploying, and explains that 'deploy_ref requires a passing verdict for that commit' when the platform mandates tests. It also states the reference can be omitted for the 'main' head, and names the follow-up tool (`build_status`).

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.