Skip to main content
Glama

List Automated Tests

list_automated_tests
Read-only

Search a project's recorded Playwright test identities to get the exact pwTestId and fullTitle needed for linking automated tests. Filter by title substring or link status and page through results.

Instructions

Search the automated (Playwright) test identities recorded for a project — the source of the pwTestId and fullTitle pair that link_automated_test / bulk_link_automated_tests require. ALWAYS take fullTitle from this tool: it is a server-reconstructed join key (" > <describe…> > ") and a hand-built one fails identity validation. Filter with search (title substring), linkStatus ("all" | "linked" | "unlinked") and page with cursor/limit. Each row also reports whether it is already linked to a manual case.

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>"
    },
    "name": "list_automated_tests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 20, max 100)
cursorNonextCursor from the previous page. Omit for the first page.
searchNoSubstring match on the test title
projectIdYesProject ID
linkStatusNoDefault "all". "unlinked" lists tests no manual case links to yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.2.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / limit / description
      Previous value: -"Page size (default 20, max 100)."New value: +"Page size (default 20, max 100)"
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / projectId / description
      Previous value: -"Project ID (Required). The TestDino project identifier."New value: +"Project ID"
    • changedInput schema / properties / search / description
      Previous value: -"Substring match on the test title."New value: +"Substring match on the test title"
    • addedInput schema / properties / search / maxLength
      Added value: +500
  2. Addedv2.0.3

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds real behavioral context — that fullTitle is a server-reconstructed join key with a specific format and that filtering by link status is supported. It stops short of ordering guarantees, total counts, or any rate/limit behavior beyond the schema's stated page size.

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 resource and the critical fullTitle warning, then filtering and return-shape notes. Dense but every clause carries information; the parenthetical format example is justified by the validation-failure risk it prevents.

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

Completeness5/5

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

For a read-only list tool with no output schema, the description covers what a row contains (the pwTestId/fullTitle pair, plus linked-to-manual-case status), how to page, and the downstream dependency. Nothing an agent needs in order to call it correctly is missing.

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, but the description adds meaning the schema does not: it explains why projectId matters in combination with fullTitle, characterizes search as a title substring match, and describes linkStatus in terms of workflow rather than just enum values. Cursor/limit semantics remain purely schema-level.

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 — searching automated Playwright test identities for a project — and immediately ties it to the pwTestId/fullTitle pair, which separates it from the list_manual_* siblings. An agent can tell what this returns 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 the agent: this is the required source of fullTitle for link_automated_test and bulk_link_automated_tests, with a hard directive (ALWAYS take fullTitle from here) and the failure mode stated (hand-built keys fail identity validation). It also names the three filter axes so the agent knows how to narrow before calling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.