Skip to main content
Glama

generate_acceptance_criteria

Generate AI-assisted Gherkin, bullet-point, or checklist acceptance criteria from Jira or Azure DevOps work items to clarify requirements for product owners and business analysts.

Instructions

AI-generate Gherkin or bullet-point acceptance criteria for a work item. Perfect for POs and BAs.

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": {
      "platform": "<platform>",
      "workItemId": "<workItemId>"
    },
    "name": "generate_acceptance_criteria"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format for acceptance criteriagherkin
platformYesThe platform
workItemIdYesThe work item ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it never says whether the generated criteria are persisted to the work item or merely returned, whether the call is idempotent or costs/latency-bearing (AI generation), or what permissions the platform requires. The 'AI-generate' wording implies non-deterministic output, but that implication is left unexplored.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and precise. The second sentence is pure marketing filler that does not earn its place and could be replaced with actual behavioral or routing guidance.

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

Completeness3/5

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

For a three-parameter, fully documented generation tool with no annotations and no output schema, the definition is minimally viable. It leaves open what is returned and whether the generated criteria are written anywhere, which is the key question an agent needs answered before invoking an AI mutation-adjacent 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 two parameters are enums, so the schema already documents platform, workItemId, and format. The description names two of the three formats but omits 'checklist' entirely, adding no semantics beyond the schema and slightly under-representing it.

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 names a specific verb and resource ('AI-generate ... acceptance criteria for a work item') and enumerates output formats, so an agent can tell it apart from generic generators like generate_report or generate_test_cases by resource. It stops short of explicitly contrasting with the closest sibling, generate_test_cases.

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

Usage Guidelines2/5

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

The only usage framing is an audience claim ('Perfect for POs and BAs'), which tells an agent nothing about when to call this versus generate_test_cases or analyze_work_item. There are no preconditions, exclusions, or alternative routing.

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