Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

Triage a HIL report (advisory, via TypeSafe)

crosspad_hil_triage
Read-onlyIdempotent

Classify the cause of a finished HIL report as firmware regression, bench issue, known baseline, or inconclusive, and check whether the exit code's attribution matches the evidence.

Instructions

Advisory second opinion on a finished HIL report: classifies the cause as firmware_regression, bench_environment, known_baseline or inconclusive. The class comes with a probability distribution, and the reply says whether the exit code's attribution agrees with the evidence and whether the board reset unexpectedly. The exit code stays the verdict. Takes the report.json path or a finished crosspad_hil_run task. Sends the report's summary, error, data and the console tail to api.typesafe.ai (needs TYPESAFE_API_KEY in the server's environment); touches nothing on the board or the host.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "crosspad_hil_triage"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoA finished crosspad_hil_run task handle; its report artifact is triaged. Either report or task is required
modelNoTypeSafe model aliasjev-latest
reportNoPath to a scenario's report.json, or to its work directory. Relative paths resolve against the crosspad-hil checkout
console_linesNoHow many lines from the end of console.log to include as evidence

Output Schema

NameRequiredDescriptionDefault
tsNo
docsNo
nextNo
causeNo
errorNo
modelNo
usageNo
noticeNo
reportNo
successYes
verdictNo
advisoryNo
scenarioNo
exit_codeNo
board_resetNo
cause_confidenceNo
cause_probabilitiesNo
exit_code_consistentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv11.0.0

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the readOnly/openWorld/idempotent annotations by disclosing that the report's summary, error, data and console tail are transmitted to api.typesafe.ai, that TYPESAFE_API_KEY must be present in the server environment, and that nothing on the board or host is touched. That data-egress and credential detail is exactly the context an agent cannot get from the hint flags alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and output classes, then moves to inputs, side effects, and safety in a compact set of sentences with no filler. The single dense paragraph is slightly heavy to scan, but every sentence adds information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description needn't enumerate return fields, yet it still notes that the class arrives with a probability distribution plus attribution-agreement and unexpected-reset flags. Input modes, external dependency, and side-effect scope are all covered for a read-only advisory tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description reinforces the either/or relationship between the 'report' and 'task' inputs but says nothing about 'model' or 'console_lines', leaving the schema to carry those entirely.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Advisory second opinion on a finished HIL report') and enumerates the exact output classes (firmware_regression, bench_environment, known_baseline, inconclusive), so an agent knows what comes back before opening the output schema. The framing as a non-authoritative second opinion where 'The exit code stays the verdict' further separates it from crosspad_hil_run.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Establishes the trigger clearly: use it on a *finished* HIL report, supplied either as a report.json path or a completed crosspad_hil_run task handle. The 'advisory... exit code stays the verdict' line functions as useful when-not-to-rely guidance, but no sibling is named as an alternative for related questions (e.g. crash diagnosis), so the routing is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.