Skip to main content
Glama

generate_spec_draft

Generate a markdown specification draft for an initiative using customizable templates (default, lite, detailed). The draft includes acceptance criteria, context, and optional risks, and is ready for mk-spec-master parsing.

Instructions

Produce a markdown spec draft for one initiative, shaped so mk-spec-master.parse_spec(raw_text=...) can ingest it verbatim. Three templates: 'default' (title / source / OKR / context / acceptance criteria / out-of-scope), 'lite' (title / context / acceptance criteria), 'detailed' (default + risks + dependencies + estimated effort). Appends a spec_generated decision to the index. Returns {markdown, suggested_filename, template_used, ready_for_mk_spec_master, next_step_hint}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
initiative_idYes
templateNodefault
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses that the tool appends a `spec_generated` decision to the index (a side effect) and returns a structured object with fields like `ready_for_mk_spec_master`. This adds behavioral context beyond the schema. However, it does not mention error conditions or authorization needs.

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?

The description is somewhat lengthy but well-structured: first sentence captures core purpose, then templates, side effect, and return fields. Every sentence adds value. Could be slightly more concise, but it remains clear and front-loaded.

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 no annotations and no output schema, the description covers the key aspects: templates, return structure, side effect, and integration with mk-spec-master. It is missing error handling or edge-case behavior, but for a draft generator, it is adequately complete.

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 0%, but the description explains the two parameters: `initiative_id` (the target initiative) and `template` with its three options (default, lite, detailed) and their contents. This compensates for the schema's lack of descriptions and provides meaningful semantics for parameter selection.

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 clearly states the tool produces a markdown spec draft for one initiative with specific formatting for mk-spec-master ingestion. It names three templates (default, lite, detailed) and their contents. While it doesn't explicitly differentiate from sibling tools, the purpose is specific and actionable.

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 usage for generating spec drafts but provides no guidance on when to use this tool versus siblings like add_initiative or analyze_initiative. It does not mention prerequisites or when not to use it, leaving the agent to infer context.

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-plan-master'

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