# `TMCP053` get_test exposes continued_by for tests used as prereq The user shall see the downstream chain in the response. A test that is listed as a `prereq` by other tests shall appear with a `continued_by` field naming them, mirroring how `prereq` exposes the upstream chain. :::{dropdown} Is a test for :open: :icon: check-circle-fill :color: primary [`MCP004` Get test by ID](/requirements/MCP004) ::: :::{dropdown} Automated in :open: :icon: check-circle-fill :color: success {fab}`python` [`test_get_test_continued_by`](https://github.com/agagniere/speky/blob/master/tests/test_mcp_server.py#L345) ::: :::{dropdown} Source :icon: file-code :color: info __Source file__: [`specs/mcp/test_04.yaml`](https://github.com/agagniere/speky/blob/master/specs/mcp/test_04.yaml) __Loaded from__: [`speky_mcp`](https://github.com/agagniere/speky/blob/master/specs/mcp/mcp.toml) ::: ## Initial state The expected state is the final state of [`TMCP003` Initialize the MCP server](/tests/TMCP003) ## Procedure ### Step 1 The client sends a `get_test` request for test `T03`, which is used as a prereq by T04 ```json { "id": 2, "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get_test", "arguments": {"id": "T03"} } } ``` ### Step 2 Verify the response includes `continued_by` listing T04, alongside the other fields of T03. T03 itself has no `prereq`. ```json { "id": 2, "jsonrpc": "2.0", "result": { "structuredContent": { "category": "non-functional", "continued_by": [{"id": "T04", "short": "Yet another test"}], "id": "T03", "initial": "Nothing", "long": "First step before T04", "ref": [{"id": "RF03"}], "short": "Create files", "steps": [ {"action": "Store secret", "run": "echo secret > topsecret.txt"}, {"action": "Store some values", "run": "echo '{\"foo\": \"bar\", \"baz\": 21}' > foo.json"} ] } } } ```