Skip to main content
Glama

Generate cases from pasted text

plune_cases_generate

Generate test case proposals from pasted requirement, user story, or ticket text using the project's AI. Proposals land in a review queue and only become cases after a person approves them.

Instructions

Generate test case proposals from pasted text — a requirement, a user story, the text of a ticket — with the project's AI. It spends the project's AI budget. The proposals land in the review queue and nothing becomes a case until a person approves it. The run is queued: keep its id and poll it with plune_cases_generation_get until it is done. A Jira ticket by its key is not taken here: paste its text.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "plune_cases_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
dry_runNotrue: answer what would be sent, and send nothing
languageNoThe cases' language; the project's AI language when left out
maxCasesNoHow many proposals at most; 8 when left out
projectIdNoThe project; the one the server was started with when left out
confirmDuplicatesNotrue: go ahead although cases or proposals from this text exist (the platform answers 409 duplicate_source first)

Output Schema

NameRequiredDescriptionDefault
dryRunYes
resultNo
requestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.39.8

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnlyHint false, destructiveHint false, openWorldHint false), while the description adds genuinely new behavior: budget consumption, proposals landing in a review queue, no case existing until human approval, and an asynchronous queued run requiring polling by id. It even surfaces the 409 duplicate_source condition via the confirmDuplicates parameter. It stops short of stating polling cadence or run expiry, which keeps it off a 5.

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?

Five short sentences, ordered from what it does, to cost, to side effects, to the async follow-up, to the input restriction. Each sentence carries a distinct operational fact and there is no filler.

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 six-parameter, nested-input, async, budget-consuming tool with an output schema and annotations, the description covers cost, side effects, approval gating, polling, and duplicate handling. Only minor operational details (poll interval, run lifetime) are absent, and those are not blocking for correct invocation.

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 already 83%, so the schema documents input.text, dry_run, language, maxCases, projectId and confirmDuplicates on its own. The description adds only an indirect gloss on the input kind by ruling out Jira keys, and otherwise repeats rather than extends parameter meaning. 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?

States a specific verb and resource ('generate test case proposals') plus the exact input modality ('from pasted text — a requirement, a user story, the text of a ticket'), and explicitly rejects a nearby alternative mode ('a Jira ticket by its key is not taken here'). An agent can tell what this does and what it does not accept without opening the schema.

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?

Gives the use condition (you have pasted source text), the exclusion (Jira keys not accepted), a cost caveat ('spends the project's AI budget'), and a follow-up route ('poll it with plune_cases_generation_get until it is done'). That is explicit when-to-use plus the next step in the workflow.

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