Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

crosspad_apps_sync

Destructive

Rebuild the apps.json manifest from existing submodules and disk state for idf, pc, or arduino platforms, keeping app metadata aligned with actual repository contents.

Instructions

Sync a platform's apps.json manifest with the existing submodules (rebuilds the manifest from disk state).

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": {
      "platform": "<platform>"
    },
    "name": "crosspad_apps_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYesPlatform repo (idf=platform-idf, pc=crosspad-pc, arduino=ESP32-S3)

Output Schema

NameRequiredDescriptionDefault
docsNo
nextNo
errorNo
actionYes
noticeNo
outputYes
successYes
app_nameNo
log_tailNo
platformYes

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
Behavior4/5

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

Annotations already flag readOnlyHint=false and destructiveHint=true, and the description reinforces this by disclosing the mechanism: the manifest is rebuilt from disk state, which means existing manifest content is replaced. That is meaningful context beyond the annotations. It still does not say what happens to manifest entries whose submodules are missing on disk, or whether the operation is reversible.

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?

One front-loaded sentence with the operation stated first and the clarifying mechanism in parentheses. No filler, nothing redundant, and the key detail about direction of sync is not buried.

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 only one fully documented parameter and an output schema covering return values, the description supplies what an agent needs to call it correctly, including the destructive nature of the rebuild. It falls short only on edge-case behavior, such as how orphaned manifest entries are handled.

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 the single platform parameter already has an enum plus a description mapping each value to a repo. The description adds only the phrase 'a platform's apps.json manifest', which restates rather than extends the schema, so the baseline 3 applies.

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?

The description names a specific verb (sync/rebuild) and resource (a platform's apps.json manifest), and the parenthetical clarifies the direction of the operation: the manifest is regenerated from on-disk submodule state rather than the reverse. It is clear enough to distinguish from manifest-editing siblings, though it does not name an alternative explicitly.

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?

Usage is only implied: an agent can infer this is for reconciling a drifted manifest with the submodules actually present on disk. There is no explicit when-to-use statement, no mention of when not to use it, and no routing to siblings such as crosspad_apps_update or crosspad_apps_install.

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