Skip to main content
Glama

Create a test

create_test
Destructive

Save steps as a new test that Monity runs on a schedule and alerts on when it fails. Try the steps with try_test_steps first and save only steps that pass. The schedule is definition.settings.schedule (every 3 hours unless you say; no faster than the plan allows). It then counts as one of the account's monitors, and each run costs credits.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe test's name, as the person would call the journey: "Sign up", "Checkout with a card"
definitionYesThe test's definition: { startUrl, steps[], variables?, settings? }. Read get_test_steps_guide first.
workspaceIdNoThe workspace (default: the person's own)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only flag destructive=true and openWorld=true; the description adds the materially important consequences: the new test consumes one of the account's monitors and each run costs credits. It also discloses the default cadence (every 3 hours) and that faster intervals are plan-limited, which is real behavioral context an agent cannot get from structured fields.

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

Conciseness5/5

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

Four sentences, front-loaded with the action, then the precondition, then the two cost/quota consequences. No filler or restatement of the title.

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 mutation tool with a nested definition object and no output schema, the description covers prerequisites, scheduling, quota, and billing well. The only gap is that it never says what is returned (e.g., the created test's id), which matters somewhat without an output schema.

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 the baseline is 3; the description earns above that by explaining that the schedule lives at definition.settings.schedule, its default value, and its lower bound, plus pointing to get_test_steps_guide for the nested definition. The name parameter's semantics are left entirely to the schema.

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?

The description opens with a concrete verb+resource+behavior: save steps as a new test that Monity runs on a schedule and alerts on failure. That is far more specific than the title, and it implicitly separates this tool from try_test_steps (execution) and create_monitor (a different monitor type) by naming scheduling and alerting explicitly.

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?

It gives an explicit prerequisite ('Try the steps with try_test_steps first and save only steps that pass') and names the alternative tool that should precede it. It also states the default schedule and plan-imposed floor, so the agent knows the constraints before calling.

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