TMCP007 get_test with minimal fields¶
The user shall be able to query a test by ID using the get_test tool. The response shall include all fields present in the test definition.
Is a test for
Automated in
Source
Source file: specs/mcp/test_04.yaml
Loaded from: speky_mcp
Initial state¶
The expected state is the final state of
TMCP003 Initialize the MCP server
Procedure¶
Step 1¶
The client sends a get_test request for test T01
{
"id": 2,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_test",
"arguments": {"id": "T01"}
}
}
Step 2¶
Verify response contains test details with all fields. T01 is a minimal test with only mandatory fields.
{
"id": 2,
"jsonrpc": "2.0",
"result": {
"structuredContent": {
"category": "functional",
"id": "T01",
"long": "The first test, that validates the first requirement",
"ref": [{"id": "RF01"}],
"steps": [
{"action": "The only step"}
]
}
}
}