Skip to main content
Glama

Criar template de teste

create_test_template

Generates a basic test template for the chosen framework and test type. Supports Cypress, Playwright, and Jest with API, UI, or unit testing.

Instructions

Gera template básico de teste (boilerplate) para o framework escolhido.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoTipo de teste. Default: api.
frameworkYesFramework.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
templateYes
suggestedFileNameYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states that a basic template is generated; it does not disclose whether the tool writes a file, returns content, requires project context, or has side effects, leaving important ambiguity.

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 a single, front-loaded sentence with no filler or repetition; every phrase earns its place.

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

Completeness2/5

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

Despite having an output schema and fully documented parameters, the description lacks usage guidelines and fails to clarify side effects (file write vs. returned content). With no annotations, this is not complete enough for an agent to safely invoke the tool.

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%, and the schema already explains both parameters, their enums, and the default value. The description adds only a reference to 'framework escolhido', which does not meaningfully deepen understanding beyond what the schema provides.

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 states a specific action ('gera template básico de teste (boilerplate)') and specifies the resource ('para o framework escolhido'). It clearly distinguishes itself from siblings like generate_tests or write_test by focusing on boilerplate generation.

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?

The description implies use when a basic boilerplate test template is needed for a chosen framework, but it provides no explicit guidance on when to prefer this over generate_tests, write_test, or other sibling tools, nor any exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wesley-Gomes93/qa-lab-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server