| name | mcp-java-dev-tools-performance-result |
| description | Render performance run results from Artifacts under `.mcpjvm/.../plans/performance/.../runs` into deterministic summaries and threshold tables. Use when summarizing completed Java performance-suite runs. |
MCP JVM Performance Result
Use this workflow to generate performance run summaries from persisted Artifacts under .mcpjvm/<project_name>/plans/performance/<plan>/runs/<run_id>/.
Execution Mode
This skill runs in two phases:
Read
Render
Do not render from transient logs when Artifacts are available.
Portable Source of Truth
Always align with:
references/spec-rules.md
references/authoring-checklist.md
references/templates/index.md
references/templates/performance_summary_result.md
If user request conflicts with these rules, fail closed and return deterministic blocked guidance.
Source of Truth
Operational source for Artifact reads:
artifact_management MCP Tool when performance result reads are exposed canonically
Artifact semantics/reference paths:
.mcpjvm/<project_name>/plans/performance/<plan>/runs/<run_id>/execution.result.json
.mcpjvm/<project_name>/plans/performance/<plan>/runs/<run_id>/evidence.json
- optional
.mcpjvm/<project_name>/plans/performance/<plan>/runs/<run_id>/context.resolved.json
- optional
.mcpjvm/<project_name>/plans/performance/<plan>/runs/<run_id>/execution-timing.msta.json
Template Routing
- default template:
performance_summary_result
- when user asks for
table, show thresholds, or equivalent, route to performance_summary_result
- future template IDs must be documented in
references/templates/index.md
Extensible Presentation Modes
Support user-driven display formats while preserving deterministic field mapping:
table (default)
compact
narrative
debug
Strict Line Verification Rendering
Use only these deterministic values for required line-hit coverage:
verified_line_hit
required_line_missed
unknown
n/a
MSTA Rendering
Render only persisted states:
available
not_configured
disabled
jfr_missing
jfr_parse_failed
no_anchor_samples
When status=not_configured, render MSTA: n/a (not configured) and add a one-line note pointing to analysis.msta.
When status=disabled, render MSTA: n/a (disabled).
Optional guidance for not_configured and disabled:
To enable MSTA for a future run, set analysis.msta.enabled=true and provide a valid analysis.executionTiming block.
Do not infer MSTA availability from a missing Artifact file or from the presence of a raw JFR file alone.
Governance and Redaction
- Never render secret values from Artifacts.
- Respect Artifact redaction as-is.
- Do not reconstruct secret material from surrounding fields.
Fail-Closed Conditions
Return deterministic blocked guidance when:
- one or more required Artifact files are missing
- Artifact JSON is invalid
- required threshold/result fields are absent and cannot be deterministically mapped
- requested template is not registered
Blocked response must include:
- exact missing/invalid Artifact or template id
- deterministic
reasonCode
- single
nextAction
When one or more required Artifact files are missing for the requested run_id, return:
status=blocked
reasonCode=artifact_files_missing
runId=<run_id>
missing=[...] containing only missing required Artifact filenames
nextAction=Re-run the plan to regenerate Artifacts, or provide the run ID of an existing persisted run.
Optional Artifact files such as context.resolved.json and execution-timing.msta.json MUST NOT trigger blocked output by themselves when every required output field remains deterministically mappable from persisted Artifacts. If a missing optional Artifact prevents deterministic rendering of a required field such as MSTA, the skill MUST fail closed and MUST NOT reconstruct that field from transient logs.