Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

crosspad_repo_diff

Read-only

Inspect submodule drift in crosspad-pc or platform-idf by showing commits ahead or behind the pinned commit, changed files, and uncommitted work before pinning.

Instructions

Show submodule drift in a parent repo (crosspad-pc or platform-idf): commits ahead/behind the pinned one, changed files, uncommitted work. Use to inspect dev-mode work before pinning.

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_repo_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
parentNoParent repo containing the submodule. Defaults to crosspad-pc.crosspad-pc
submoduleNoWhich submodule to inspect.both

Output Schema

NameRequiredDescriptionDefault
docsNo
nextNo
errorNo
noticeNo
successYes
submodulesNo
parent_repoNoThe parent repo that was inspected.

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.8/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a non-mutating inspection, so the description's added value is the detail on what drift is reported. It says nothing about permissions, cost, or behavior for a submodule that isn't initialized, so it adds context but not rich behavioral disclosure.

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?

Two sentences, zero filler: the scope and reported fields come first, the usage cue second. Nothing could be removed without losing information.

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

Completeness4/5

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

With an output schema, full schema coverage, and a readOnly annotation, the description is close to sufficient for this simple two-parameter read tool. The remaining gap is that it never positions itself relative to the closely named crosspad_repo_status sibling.

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 coverage is 100% and both parameters carry descriptions plus enums, so the schema does the heavy lifting. The description adds only the two legal parent values inline; it gives no semantics for the "both" submodule option or defaults beyond what the schema states.

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

Purpose4/5

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

"Show submodule drift in a parent repo" is a specific verb+resource, and the description enumerates exactly what drift means here (commits ahead/behind the pinned one, changed files, uncommitted work). It does not, however, distinguish itself from the sibling crosspad_repo_status, which an agent could plausibly pick instead.

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?

"Use to inspect dev-mode work before pinning" gives a concrete triggering situation, which is more than implied usage. It stops short of 5 because it names no exclusion or alternative (e.g., when to prefer crosspad_repo_status instead).

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