Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

Run a CrossPad workflow recipe

crosspad_workflow
Destructive

Run a full recipe as one task: build, OTA flash, verify APP_SHA and run HIL scenarios, stopping at the first failed step and releasing the bench. Returns a task handle with per-step evidence.

Instructions

[ESP HW] Run a whole procedure as one task, each step passing only on a measured fact and the first failure stopping it. recipe=verify_change: claim the bench, build the firmware, OTA flash it, wait out the trial boot until the running slot is confirmed and APP_SHA equals the built ELF, run the HIL scenarios (default smoke), release the bench whatever happened. It flashes, so it asks once before it starts (dry_run=true lists the steps and the preflight, read-only). recipe=new_app {id, name, visibility?}: idf.py app-new, check the registered name is at most 31 characters, fullclean + build. recipe=install_app {app_name, ref?}: install a registry app, check apps.json, fullclean + build. recipe=list shows every recipe with its steps and parameters. A parameter a recipe does not know is refused. It returns a task handle (poll with crosspad_task; the result carries steps [{step, ok, evidence, ms}], failed_step and, for verify_change, firmware_left). Tier: danger for a verify_change run and for a new_app that creates a GitHub repo (visibility private or public: it asks once), mutate-host for the other app runs, read for list and dry_run; annotations are advertised at the worst case.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "recipe": "<recipe>"
    },
    "name": "crosspad_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNoThe recipe's parameters (recipe=list shows each one's contract); a name it does not know is refused, never dropped.
recipeYeslist: every recipe with its steps and parameters; verify_change: build, flash and test a firmware change on the board; new_app: create and build an app; install_app: install a registry app and build.
dry_runNoPlan and preflight only: nothing is built, written, claimed or asked about.
wait_secondsNo0 (default) returns the task handle at once, poll it with crosspad_task. >0 waits that long and inlines the steps so far; a timeout is not an error.
confirm_tokenNoToken from a confirmation_required result; re-issue the identical call with it.

Output Schema

NameRequiredDescriptionDefault
tsNo
docsNo
hintNo
nextNo
planNo
taskNo
toolNo
errorNo
stepsNo
noticeNo
paramsNo
recipeNo
statusNo
detailsNo
dry_runNo
outcomeNo
recipesNo
successYes
preflightNo
elicitationNo
failed_stepNo
confirmationNo
firmware_leftNo
unknown_paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv11.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the annotations, it discloses that a verify_change run flashes and therefore asks once before starting, that failure aborts the sequence, that the bench is released regardless of outcome, and that tier varies per recipe (danger / mutate-host / read) with annotations advertised at the worst case. It also explains the confirmation handshake (confirm_token re-issued with an identical call) and that a wait_seconds timeout is not an error. None of this contradicts the destructive/openWorld annotations; it explains why they are conservative.

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?

It is front-loaded with the headline behavior and the flashing/confirmation caveat before the recipe catalogue, and nearly every clause carries operational information. The single dense paragraph mixing recipes, tiers and return shape makes it slightly harder to scan than it needs to be, so it falls short of perfect structure.

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?

Given five parameters, a nested params object, an output schema and destructive open-world annotations, the description covers the full call lifecycle: planning with dry_run, the one-time confirmation, task-handle polling via crosspad_task, and the meaning of steps/failed_step/firmware_left. Nothing an agent needs in order to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it spells out each recipe's own parameter contract (new_app {id, name, visibility?}, install_app {app_name, ref?}), states that an unknown parameter is refused rather than dropped, and clarifies dry_run lists steps and preflight read-only. It adds less about wait_seconds and confirm_token beyond what the schema already documents, so it is not a full 5.

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?

The description opens with a specific verb and resource ('Run a whole procedure as one task') and immediately enumerates the four concrete recipes (verify_change, new_app, install_app, list), so an agent knows exactly what domain of work this covers. It also contrasts itself with step-wise tooling by stating each step passes only on a measured fact and the first failure stops the 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?

It gives clear when-to-use signals per recipe (verify_change flashes and tests a firmware change; new_app uses idf.py app-new; install_app installs a registry app) plus the selection condition for dry_run versus a real run. It does not explicitly name sibling tools such as crosspad_build, crosspad_flash or crosspad_hil_run and say when to prefer the atomic tool over this composite one, so the alternative-routing guidance is implied rather than spelled out.

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