Skip to main content
Glama

OpenFactory

authenticate_tester

Log your tester browser into a login-walled OpenFactory platform site so you can reproduce and VERIFY authenticated UI. Call this BEFORE open_url / test_workflow / walk_app on console/build/direktor.openfactory.tech.

Injects a short-lived session for a scoped, NON-admin tester identity as the NextAuth session cookie (httpOnly — settable only via DevTools, not JS), so the next navigation to that site is already logged in. Only supports .openfactory.tech platform sites; managed apps (.apps.openfactory.tech) use their own app-auth secrets (enable_app_auth) instead.

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": {
      "vm_name": "<vm_name>",
      "target_url": "<target_url>"
    },
    "name": "authenticate_tester"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoMCP API key
vm_nameYesYour tester VM name (starts with 'of-tester-').
target_urlYesThe login-walled OpenFactory platform URL you are about to reproduce on, e.g. https://console.openfactory.tech. Must be an *.openfactory.tech site.
include_perfNoInclude timing metrics.
session_tokenNoSession token

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?

With no annotations, the description carries the burden well: it discloses that the identity is scoped and NON-admin, that the session is short-lived, that the cookie is httpOnly and only settable via DevTools, and that it affects the *next* navigation. What it does not cover is failure behavior (invalid or non-matching URL), whether an existing session is overwritten, or how long 'short-lived' actually is.

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-loads purpose and the call-ordering rule in the first sentence, then uses the second paragraph for mechanism and scope limits. Two dense paragraphs with little waste, though the httpOnly/DevTools aside is more implementation color than decision-relevant for an agent.

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, no-annotation, no-output-schema tool, the definition covers purpose, prerequisites, host scope, and the sibling alternative. It stops short of stating what a caller should do on failure or whether a tester VM must first exist (ensure_tester_vm / ensure_lab_tester are siblings), which leaves a small operational gap.

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%, so vm_name, target_url, api_key, include_perf and session_token are already documented in the schema. The description reinforces the domain constraint on target_url and clarifies that the VM is the one hosting the tester browser, but adds no format, default, or validation detail beyond the schema. Baseline 3 is appropriate.

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 ('Log your tester browser into a login-walled OpenFactory platform site') plus the mechanism (injects a NextAuth session cookie) and the goal (verify authenticated UI). It also names the boundary against the sibling 'enable_app_auth' for *.apps.openfactory.tech, so an agent can separate the two without opening schemas.

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?

Gives explicit ordering ('Call this BEFORE open_url / test_workflow / walk_app'), names concrete target hosts (console/build/direktor.openfactory.tech), and states the exclusion: managed apps (*.apps.openfactory.tech) must use enable_app_auth instead. When-to-use, when-not-to-use, and the alternative are all present.

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.