MCP tools report real results, or say why they can't
Several MCP tools returned placeholders, blanks or misleading numbers. Each now returns the real answer, or the platform's own reason for not having one.
- Errors say why. When the platform explains a failure (sign-in, not-found and server errors), the tool includes that explanation instead of a bare status line. A missing endpoint or resource gives a clear error rather than "Cannot read properties of undefined", and a feature the platform doesn't offer yet reads "This feature is not available on the platform yet." Five failed lookups in a row, such as a mistyped run ID, no longer block every other tool for 30 seconds.
tr_ai_rcaandtr_suggest_fixstop returning placeholders. The 0%-confidence result that read "not yet available" is gone.tr_ai_rcafalls back to an analysis of the run's failures written by your assistant, marked "(sampled fallback)". This needs an assistant that supports MCP sampling. Without it the result reads "RCA not available."tr_suggest_fixreturns the reason it has no suggestion.tr_recent_runspages. Passing thecursorfrom one page returns the next one, not the first again.tr_ask_aisays why an answer stopped, as "Ask AI stopped:" followed by the reason, instead of a blank reply.tr_replay_failuregives a command you can run for the run's framework:npx playwright test -g,npx jest -tornpx vitest run -twith the test title quoted, ornpx cypress run --specwith the spec file.tr_user_journeyslists the paths your tests walk, with how many times tests took each one and the share that passed, in place of placeholder rows. They come from test runs, not user analytics.- Failure text is clean. Terminal colour codes and a doubled "Error: Error:" no longer appear in failure messages, and
error_typeis the error's own type, such asTimeoutError. - Smaller fixes.
tr_ai_usageno longer shows a budget of 0 when the platform doesn't report one,tr_marketplace_validategives the reason credentials were rejected, andtr_flaky_auditno longer fails when the platform returns no scores.
Released as @testrelic/mcp 3.4.5. The same release raises the minimum Node version and changes what some tools take and return, covered in its own entry for this date.