Skip to main content
Glama

generate_test_plan

Fetch, parse, and extract a specification to generate a markdown test plan with business context per scenario, ready for mk-qa-master.

Instructions

One-shot: fetch + parse + extract for a spec, then emit a markdown test plan with a business_context block per scenario ready to hand to mk-qa-master.generate_test(business_context=...). The AI client typically reads this plan, loops the scenarios, and calls mk-qa-master once per scenario. Set target_runner to hint the desired output (pytest / jest / cypress / go / maestro). Returns {spec_id, target_runner, scenario_count, markdown, scenarios[]}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spec_idYes
target_runnerNopytest
Behavior3/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. It describes the process steps (fetch, parse, extract, emit) and the return structure. However, it does not disclose behavioral traits such as side effects, idempotency, authentication needs, or rate limits. The 'one-shot' label hints at no side effects but lacks explicit safety guarantees.

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 two sentences with no wasted words. It front-loads the key action ('One-shot: fetch + parse + extract') then covers usage and return values efficiently. Every sentence contributes valuable information.

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 low schema coverage and no output schema, the description provides process steps, return fields, and ties to another tool (mk-qa-master). It explains the workflow for an AI agent. However, it omits description of spec_id and does not address error scenarios or constraints, leaving minor gaps.

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?

With 0% schema description coverage, the description must explain parameters. It explains target_runner as 'hint the desired output (pytest / jest / cypress / go / maestro)', adding meaning beyond the schema. However, it does not describe spec_id at all, leaving ambiguity about its format or constraints.

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's purpose: fetching, parsing, and extracting for a spec to emit a markdown test plan. It distinguishes itself from siblings by being a one-shot combined operation, unlike separate tools like fetch_spec, parse_spec, or extract_scenarios.

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

Usage Guidelines4/5

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

The description explains the usage context: it is a one-shot operation for generating a test plan ready for mk-qa-master.generate_test, and the AI client loops over scenarios. It implicitly contrasts with sibling tools but does not explicitly state when not to use it or provide alternatives, though the 'one-shot' keyword and mention of other tools in the workflow provide guidance.

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/kao273183/mk-spec-master'

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