Skip to main content
Glama

ai_acceptance_criteria

Read-only

Acceptance criteria (Gherkin) writer — Turn a user story into testable Given/When/Then scenarios (happy, edge, error, security) plus non-functional criteria, out-of-scope items and open questions. Offline lint: missing Given/When/Then, untestable wording (fast, intuitive, appropriate...), invented numbers not in the story, scenario coverage, story format check; testability score and READY/REVIEW/NEEDS_WORK. Optional: context. Price: $0.008 USDC (Base, via x402).

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": {
      "story": "<story>"
    },
    "name": "ai_acceptance_criteria"
  }
}

Input Schema

NameRequiredDescriptionDefault
storyYese.g. As a shopper I want to reset my password by email so that I can regain access. The reset link expires after 30 minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), and the description adds genuinely new behavioral facts: the output bundle contents, an offline lint pass with specific failure modes (missing Given/When/Then, untestable wording, invented numbers), a testability score, and a READY/REVIEW/NEEDS_WORK verdict. It also discloses the paid x402/$0.008 USDC requirement, which is critical pre-call context. It does not address latency, failure/refund behavior, or output format details.

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?

Front-loaded with the core purpose, then progressively details lint checks, scoring, and price — a sensible order. The middle clause is a dense run-on with heavy parenthetical lists, but nearly every element carries information an agent would want; only the ambiguous 'Optional: context' fragment is wasted.

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 one-parameter generation tool with no output schema, the description does the necessary work of describing what comes back and what quality gates are applied. The gaps are minor: the unexplained 'Optional: context', no guidance on story length or minimum viable input, and no note on what happens with malformed or non-story input.

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% and the single 'story' parameter already carries a strong illustrative example, so the schema does the heavy lifting. The description adds little about how to shape the story input beyond implying it should contain concrete facts (it penalizes 'invented numbers not in the story'), but the stray 'Optional: context' reference is not reflected in the schema and reads as ambiguous.

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 names a specific verb and artifact — 'Turn a user story into testable Given/When/Then scenarios' — and enumerates the concrete deliverables (happy/edge/error/security scenarios, non-functional criteria, out-of-scope items, open questions). That specificity distinguishes it from nearby siblings like ai_bug_report or ai_content_brief without needing to name them.

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?

Usage is implied by the input shape: supply a user story, receive acceptance criteria. However, there is no explicit when-to-use/when-not-to-use statement and no routing to alternatives (e.g., when to prefer ai_bug_report or ai_content_brief instead). The trailing 'Optional: context' hints at an invocation nuance but never explains it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources