Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

Confirm a CrossPad danger-tier action

crosspad_confirm
Destructive

Confirm a pending CrossPad action by submitting its one-time token and exact summary, triggering the client permission prompt and returning the action’s result.

Instructions

Run the action a crosspad_* tool answered with outcome="confirmation_required" (a flash, an SWD write, a bootloader request), given its token and summary copied from that result. Call it right away: this tool is marked destructive, so the client shows its own permission prompt with the summary, and approving that prompt is the confirmation; do NOT ask the user in chat first. The token is good once, for 120 s, for exactly the arguments it was issued for. Returns the action's own result.

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": {
      "token": "<token>",
      "summary": "<summary>"
    },
    "name": "crosspad_confirm"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesconfirmation.token from the confirmation_required result
summaryYesconfirmation.summary from the same result, word for word: the permission prompt shows it to the person approving, and it must match the action

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv11.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description is fully consistent with them while adding genuinely new behavior: the client will surface its own permission prompt, the token is single-use, valid for 120 s, and bound to exactly the arguments it was issued for, and the return is the underlying action's own result. That token lifetime and argument-binding detail is exactly what an agent needs to avoid a doomed or replayed call.

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

Conciseness5/5

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

Three sentences, front-loaded with the triggering condition, then the call-immediately rationale, then the token constraints. Nothing is padding; even the semicolon-chained middle sentence carries two non-redundant facts (permission prompt shows the summary; approval is the confirmation).

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?

For a destructive two-parameter confirmation tool with no output schema, the description covers everything an agent needs: when to call, what to pass and where to copy it from, why not to separately ask the user, token expiry and scope, and the fact that it returns the action's own result rather than a wrapper payload.

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 per-parameter formats (regex token pattern, non-empty summary) are already documented and the baseline is 3. The description adds value beyond that by establishing the token's single-use/120 s/exact-argument binding and that summary must be verbatim from the same result, though the summary-is-shown-to-the-approver point largely restates the schema text.

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?

"Run the action a crosspad_* tool answered with outcome=\"confirmation_required\"" states a specific verb (run/confirm the pending action) and the exact resource (a previously issued confirmation token), with examples of what those actions are (flash, SWD write, bootloader request). It cleanly distinguishes this follow-up step from the sibling action tools that produce the token.

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

Usage Guidelines5/5

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

The trigger condition is explicit and machine-checkable (call it when a crosspad_* tool returned outcome="confirmation_required"), and the description goes further by excluding a wrong path: do not ask the user in chat first, because the client's destructive-tool permission prompt is itself the confirmation. There is no ambiguity about when to invoke it or what not to do.

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