Skip to main content
Glama

Convert QTML to Playwright

convert_qtml_to_playwright

Persist all QTML contracts as projects/test cases, then request model-assisted Playwright generation that persists automation scripts. This is not deterministic compilation or a file-only editor action. Generation may enqueue asynchronous jobs; poll check_generation_status. Import is non-atomic and reports each contract/intent; partial imports skip generation.

Input Schema

NameRequiredDescriptionDefault
sourceYesQTML source text
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
project_idNoExisting project ID (omit to create a new project from QTML contract)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that generation may enqueue asynchronous jobs, that callers should poll check_generation_status, that import is non-atomic, and that partial imports skip generation. These are important behavioral traits for an agent invoking a mutating, open-world tool, though failure details and side effects on existing projects/scripts are not fully described.

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?

The description is front-loaded with the core action and then adds only high-value operational details: async polling, non-deterministic model-assisted generation, and non-atomic import behavior. Each sentence contributes useful context without repetition.

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 complex conversion tool with no output schema, the description covers purpose, asynchronous behavior, status polling, and partial-import behavior adequately. It is slightly incomplete on the exact result/report structure and what is returned after generation is requested, but it gives enough context to invoke the tool correctly.

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 the schema already documents source, context, and project_id, including that omitting project_id creates a new project. The description adds no additional parameter-level meaning beyond what the schema provides, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: persist QTML contracts and request model-assisted Playwright generation that persists automation scripts. It distinguishes the operation from deterministic compilation and a file-only editor action, but does not explicitly differentiate it from close siblings such as import_qtml or generate_code_for_test_case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the workflow description and the note that this is not deterministic compilation or a file-only editor action. However, it does not explicitly say when to choose this tool versus import_qtml, parse_qtml, validate_qtml, or generate_code_for_test_case.

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