Skip to main content
Glama

lupa_init

Initializes the Lupa testing framework in a project with default scaffolding, using non-interactive execution to set up configuration, test directories, suites, and reporters.

Instructions

Initializes lupa testing framework in a project with default scaffolding, avoiding interactive prompts. MUST be used INSTEAD of running npx lupa init via terminal to ensure non-interactive execution and correct default arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesAbsolute path to the project root where lupa should be initialized
configNoPath to the test configuration file (default: lupa.config.ts or .js)
useTypeScriptNoUse TypeScript configuration and templates (default: true)
testDirNoDirectory where test files will be located (default: tests)
suitesNoList of suite names to create (default: unit, browser)
reportersNoList of reporters to use (default: dot)
Behavior3/5

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

With no annotations provided, the description carries full burden. It mentions avoiding interactive prompts and using default scaffolding, but does not disclose what files are created or modified, nor any error conditions or required permissions.

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?

Two sentences, no wasted words. The first sentence states purpose, the second gives critical usage guidance. Well-structured and efficient.

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?

Given the schema covers all parameters and the description is clear, it is mostly complete. However, it lacks information about return values or effects on the file system, which would be helpful for a scaffolding 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 coverage is 100% with descriptions for all 6 parameters. The description adds minimal extra meaning beyond the schema defaults (e.g., 'default scaffolding'), so baseline 3 is appropriate.

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 clearly states the tool initializes the lupa testing framework with default scaffolding, using specific verbs and resources. It implicitly distinguishes from sibling tools (lupa_list_tests, lupa_run_tests) which serve different purposes.

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 tells when to use this tool (instead of running npx lupa init in terminal) and why (to ensure non-interactive execution and correct default arguments). No comparison to siblings needed as they are different operations.

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/pawel-up/lupa-mcp'

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