Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

crosspad_check

Read-only

Checks whether the PC simulator build is current by detecting a stale exe, new sources missing from the build system, and dirty submodules. Run before building to decide if a rebuild is needed.

Instructions

[PC] Check whether the PC simulator build is current: detects a stale exe, new sources missing from the build system and dirty submodules. Use before crosspad_build to decide whether a rebuild is needed.

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

Input Schema

NameRequiredDescriptionDefault
platformNoPlatform — currently only 'pc' is supported here.pc

Output Schema

NameRequiredDescriptionDefault
docsNo
nextNo
errorNo
noticeNo
reasonsYes
successYes
exe_pathYes
exe_existsYes
needs_rebuildYes
exe_age_secondsYesSeconds since the simulator binary was built; null when there is none.
new_source_filesYesSource files the CMake cache does not know yet.
needs_reconfigureYesCMake must run again (new source files, or a submodule pin moved).
submodule_changesYescrosspad-core / crosspad-gui: the pinned commit against the checked-out one.

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

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds the substantive detail that it inspects build artifacts, build-system source lists, and submodule state — work an agent couldn't guess from the name. It does not state whether the check is expensive or how conclusive a positive result is, which would have pushed this to a 5.

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, no waste: the first lists the checks, the second gives the workflow placement. The purpose is front-loaded before the usage hint, which is the correct ordering.

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?

A read-only, single-parameter check with a declared output schema — the description needn't explain return values, and annotations carry the safety profile. Everything an agent needs to decide to call it and how to sequence it against crosspad_build is present.

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?

Only one parameter, and the schema already documents it at 100% coverage including the 'pc' enum and default. The '[PC]' prefix and 'PC simulator' wording reinforce the platform scope but add no syntax or format meaning beyond the schema, so this sits at the baseline for fully covered schemas.

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 ('Check whether the PC simulator build is current') and then enumerates exactly what it detects: stale exe, sources missing from the build system, and dirty submodules. An agent can distinguish this staleness-audit role from crosspad_build and crosspad_analyze without opening any schema.

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?

Explicitly routes the agent: 'Use before crosspad_build to decide whether a rebuild is needed,' naming the sibling and the decision it informs. The implicit inverse (skip the rebuild if it reports current) is easy to infer, but no explicit when-not condition or cost note is given.

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