Skip to main content
Glama

analyze_user_story

Analyze a user story to generate a complete QA framework including decomposition, acceptance criteria, multi-layer scenarios, risk map, quality questions, test data, and completeness checklist.

Instructions

Analisa uma User Story e retorna framework completo de análise QA: decomposição, critérios de aceitação, cenários por camada (unit/contrato/integração/E2E), mapa de riscos por tipo de feature, perguntas de qualidade, dados de teste e checklist de completude.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storyYesTexto completo da User Story.
contextNoContexto adicional: regras de negócio, restrições, integrações conhecidas.
tech_stackNoStack tecnológica (ex.: 'Node.js, PostgreSQL, React').
feature_typeNoTipo de feature para adequar riscos de segurança e checklist.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explicitly enumerates the output contents (decomposition, acceptance criteria, scenarios per layer, risk map, quality questions, test data, checklist), making it clear this is a read/analysis operation with no side effects. However, it doesn't specify output format or any constraints, but it is sufficient for a non-mutating tool.

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 a single sentence that front-loads the main purpose and then lists the output components. It is efficient with no wasted words, though it is dense and could be slightly restructured for readability. Overall, it earns its length.

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 tool has no output schema, the description adequately summarizes the tool's rich output (a framework with multiple sections). It covers the tool's behavior and what to expect, though it could mention the output format or any limitations. Still, it is complete enough for a comprehensive analysis 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?

The input schema already provides descriptions for all four parameters (story, context, tech_stack, feature_type) with 100% coverage. The tool description does not add additional parameter semantics beyond what the schema states, so it meets the baseline for full coverage without extra value.

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 it analyzes a User Story and returns a comprehensive QA analysis framework, listing specific components (decomposition, acceptance criteria, scenarios per layer, risk map, quality questions, test data, checklist). This distinguishes it from sibling tools that focus on specific test artifacts (e.g., create_gherkin_scenarios, generate_performance_plan).

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 use for obtaining a complete QA analysis of a user story, but it does not explicitly state when to use this tool versus alternatives like generate_test_strategy or create_gherkin_scenarios. No exclusions or alternative guidance is provided, so usage context is only implicit.

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

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/qamichaelmaia/qa-testing-mcp'

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