Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

crosspad_commit

Destructive

Commit staged changes in a CrossPad repo, optionally staging listed files first. Refuses on merge conflicts and never pushes, so commits stay local and controlled.

Instructions

Commit staged changes in one CrossPad repo; repo aliases idf/pc/arduino/core/gui work. Refuses on merge conflicts, writes the message through a 0600 tempfile (quotes, newlines and backticks are safe) and never pushes. Stages files[] first if supplied.

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": {
      "repo": "<repo>",
      "message": "<message>"
    },
    "name": "crosspad_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepo to target. Aliases: idf=platform-idf, pc=crosspad-pc, arduino=ESP32-S3, core=crosspad-core, gui=crosspad-gui.
filesNoIf supplied: stage exactly these files (repo-relative paths) then commit. If omitted: commit whatever is currently staged in the repo (no auto-stage).
messageYesCommit message. Newlines/quotes/backticks are safe — passed via 0600 tempfile, not shell-quoted.

Output Schema

NameRequiredDescriptionDefault
docsNo
nextNo
repoYes
errorNo
noticeNo
messageYes
successYes
commit_hashYes
files_committedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv11.0.0
  2. Removedv10.2.0
  3. First observedv9.2.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations by disclosing concrete behavior: it refuses on merge conflicts, never pushes, passes the message through a 0600 tempfile so quotes/newlines/backticks are safe, and auto-stages files[] when supplied. These are exactly the side-effect and failure-mode details an agent needs for a mutating tool.

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?

A single dense sentence, front-loaded with the primary action and followed by the constraints that matter most (alias set, conflict refusal, no push, staging behavior). No filler or redundant restatement beyond what is needed.

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 3-parameter mutation tool with an output schema and annotations, the description covers scope, side effects, staging order, escaping guarantees, and the no-push boundary. 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.

Parameters3/5

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

Schema description coverage is 100% and every parameter (repo enum + aliases, files[] staging semantics, message escaping) is already documented there, so the description largely restates structured data. Baseline 3 is appropriate given the schema does the heavy lifting.

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?

States a specific verb and resource ('Commit staged changes in one CrossPad repo') and immediately bounds the scope with 'never pushes' and 'refuses on merge conflicts'. No sibling in the supplied list does commits, so an agent can separate this from build/flash/check tools without opening the schema.

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

Usage Guidelines3/5

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

The description implies when to use it via 'Commit staged changes' and the files[] pre-staging clause, but it never states exclusions or alternatives (e.g., what to run before committing, or which tool handles pushing/verification afterward). Usage is inferable 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.