Skip to main content
Glama

Create a test

create_test

Create a test of a website (url) or of an app (platform android or ios, and appId; device phone or tablet and osVersion, default a phone on the latest OS). Pass plan (from plan_test, after the requester confirmed it): it is stored as the approved checklist and the tester follows it as written. Or pass requirement, plain-language text the tester plans itself at run time. Never put passwords in the text: name a sign-in account in credentials. Reference: https://testsy.dev/docs/mcp/

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": {
      "projectId": "<projectId>",
      "title": "<title>"
    },
    "name": "create_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoStart address (https://…); omit for app tests
planNoA plan from plan_test: {title, startUrl, steps[], checks[], record[], assumptions[], credentials[]}. Stored as the approved checklist; the tester follows it as written.
appIdNoApps: package name or bundle id, for example com.example.app (see list_builds)
titleYesShort title (up to 200 characters)
deviceNoWebsites: screen, desktop (default), tablet or mobile. Apps: phone (default) or tablet — an iPhone or iPad, an Android phone or tablet (see list_devices)
buildIdNoApps: pin this build (ab_…); default: the app's newest build
optionsNoTest options, all optional: device (desktop | tablet | mobile; websites), timeoutMinutes (2-20; 20 when left out, the app sets 15), recordVideo (default true), trackers (block | allow; websites, default block), jsErrors (report | fail; websites, default report: errors from the site's own scripts are reported and fail the run only when one breaks a step; fail = any of them fails it), credentials (names of the project's sign-in accounts), services (email = its own mailbox, sms and call = its own phone number, http = the project's endpoints; sms, call and http need a paid plan), devices (1 or 2 phones; apps), platform (web | android | ios), appId and buildId (apps), buildUrl (apps: an https link to the build, downloaded every run), orientation (apps: default | portrait | landscape — the screen's shape when the run starts; default is the device's own).
platformNoweb (default), android or ios
osVersionNoApps: the OS version, latest (default) or a version — iOS: iOS 27, iOS 26, iOS 18, iOS 17; Android: Android 16, Android 15, Android 14, Android 13, Android 12, Android 11, Android 10 (see list_devices)
projectIdYesProject id (p_…)
credentialsNoNames of the project's sign-in accounts the tester may use (see list_credentials)
orientationNoApps: the screen's shape when the run starts — default (the device's own: phones and iPads upright, Android tablets on their side), portrait or landscape. The test may still rotate the device during the run.
requirementNoWhat to do and check, in plain language (optional when plan is given)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare write semantics (readOnlyHint=false, non-idempotent, non-destructive), so the lower bar applies. The description adds real behavioral context beyond that: the plan is stored as the approved checklist and followed verbatim, while a requirement is interpreted at run time, plus secret-handling guidance. It does not say whether the test starts running immediately or must be launched separately (run_test), which is a meaningful remaining gap for a create tool.

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?

One front-loaded paragraph that leads with what is created and in which modes before drilling into plan/requirement semantics. The heavy parenthetical nesting around device/platform options is dense but proportionate to 13 parameters; no sentence is idle.

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

Completeness3/5

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

For a 13-parameter tool with nested `plan`/`options` objects and no output schema, the description covers inputs well but is silent on outcomes: it never says whether the call returns a test id, whether a run is kicked off, or what the agent should do next. An agent can invoke it correctly but cannot predict the result or the follow-up step.

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 coverage is 100%, so baseline is 3; the description goes slightly beyond by specifying default device behavior (a phone on the latest OS) and by defining the plan-versus-requirement precedence and the credentials safety constraint. Most of its option detail does duplicate the schema's own per-field descriptions, which keeps it from being a 5.

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 and immediately splits the two modes: a website test via `url` versus an app test via `platform` + `appId` + device/osVersion. An agent can distinguish this from siblings like plan_test or run_test without opening the schema.

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 routes between the two input strategies: pass `plan` (produced by plan_test, after the requester confirmed it) or pass `requirement` for run-time planning. It also names the prerequisite sibling (plan_test) and gives an exclusion-style safety rule: never put passwords in text, name an account in `credentials`.

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.