Skip to main content
Glama
k11 API Functional QA

k11 API Functional QA

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QA_MCP_ROOTNoPath to your project root containing the .qa-mcp/api-test.yaml configuration file.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Functional API testing. Tests are YAML flows in tests/api/: chained HTTP calls ('call: POST /orders'), values saved with 'save' and reused as ${name}, checks under 'expect' (status, json paths, headers, schema, time), read-only database checks ('db: SELECT ...' with :params), fixtures and cleanup. Use list_environments first. For a user story, call review_user_story before anything else: if it has questions, ask the user and wait instead of guessing. Then draft_flow; generate_negative_tests for rejection cases, write_flow to save, run_flows to run. Data-changing calls are refused on environments that don't allow writes; never put secrets in flows, use ${ENV:NAME}.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_environmentsB

Environments (base URL, whether writes are allowed and why), auth profiles, databases and fixtures from .qa-mcp/api-test.yaml, plus the flows in tests/api/.

review_user_storyA

Call this BEFORE draft_flow. Finds what a careful tester would ask before writing an API test: missing acceptance criteria, outcomes that can't be checked, no user role, untestable words (fast, many), limits without numbers, no failure path, missing preconditions; and for APIs: rejections without a status code or error body, deletes that don't say whether the record is kept, no expected result without credentials or for another user's data, repeated requests with no defined result, and (with a spec) endpoints or fields the spec doesn't have. Returns questions for a person to answer, each with why it matters and the words that raised it. If ready is false, ask the user these questions and wait; do not guess the answers.

context: related product docs, glossary or notes; terms the story uses but this never explains become questions. spec: OpenAPI/Swagger file to check against (default: the configured spec).

draft_flowA

Turn a user story or acceptance criteria into scenarios, the spec operations most likely involved, and a flow skeleton to complete (chain IDs with save/${...}, add value and db checks). Call review_user_story first; the result includes a short review so open questions are never silently skipped.

generate_negative_testsA

Negative and boundary tests for one operation (e.g. 'POST /orders'), derived from the spec, including nested fields and array items: missing required fields, wrong types, values outside enums and min/max/length/item limits, missing parameters, no credentials, unknown IDs. Every case must get a 4xx, never a 5xx; boundary cases that must be accepted clean up after themselves. base_values supplies real values for the valid parts (e.g. {"customerId": "${fixture.customer.id}"}) with fixtures=["customer"]. Save the result with write_flow.

write_flowA

Save a YAML flow under tests/api/ after validating it. Won't overwrite unless asked.

run_flowsB

Run flows (default: everything in tests/api/) against an environment. Returns per-flow results with the failing checks and the request/response or query evidence; writes Markdown, JSON and JUnit reports.

call_apiA

Make one request (e.g. call='GET /orders/{id}', path_params={'id': '1001'}) to explore an API while writing tests. Same guardrails as flows: writes only where allowed, secrets masked, schema checked when a spec is set.

query_dbA

Run one read-only query (SELECT/WITH/SHOW/EXPLAIN) against a configured test database, with :named params. Masked columns are shown as •••. Use it to find test data and write db checks.

export_pytestA

Turn a flow into a plain pytest + httpx test (database checks included), so the suite can live without this tool. Returns the code; with write=true saves it under tests/ (never overwriting).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 9 tools

Disambiguation5/5

Each tool occupies a distinct step in the QA workflow: review_user_story reviews, draft_flow sketches, write_flow persists YAML, run_flows executes, export_pytest converts, generate_negative_tests produces negative cases, call_api explores, query_db inspects data, and list_environments lists config. The descriptions clearly delineate boundaries, including explicit sequencing (review before draft) and cross-references (generate_negative_tests saves via write_flow). No two tools appear to do the same thing.

Naming Consistency5/5

All nine tools follow a consistent snake_case verb_noun pattern (write_flow, review_user_story, draft_flow, call_api, export_pytest, generate_negative_tests, list_environments, query_db, run_flows). The convention is predictable and readable throughout.

Tool Count5/5

Nine tools is well within the sweet spot for a focused API QA server, and each tool maps to a clear, non-redundant capability. Nothing feels padded or missing at the count level.

Completeness4/5

The surface covers the full authoring lifecycle—review, draft, write, generate negative tests, run, export, explore, and inspect environments/data. Minor gaps exist: no explicit update/delete flow operation (write_flow won't overwrite) and no tools to manage environments/auth profiles beyond listing them. These are workaroundable but not fully covered.

Maintenance

ActivityNo data
ResponsivenessOutdated data