Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

crosspad_settings_set

Destructive

Updates a single CrossPad simulator setting by key/value and returns its new value; use it for targeted configuration changes while the simulator is running.

Instructions

[PC sim] Write one setting on the running PC simulator by key and return the key and the value it now holds. The key is a flat name or a dotted category.field; use crosspad_settings_get to discover valid keys. It fails when the simulator is not running.

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": {
      "key": "<key>",
      "value": "<value>"
    },
    "name": "crosspad_settings_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesSetting key. Either a flat name ('lcd_brightness') or dotted category.field ('keypad.eco_mode', 'vibration.enable'). Use crosspad_settings_get to discover valid keys.
portNoSimulator control port (default: CROSSPAD_REMOTE_PORT of this server, else 19840). Needed to address a second instance.
valueYesThe value, matching the field's type in the CrosspadSettings schema: a number, or true/false for a bool field (encoded as 1/0 on the wire for you).

Output Schema

NameRequiredDescriptionDefault
keyNo
docsNo
nextNo
errorNo
valueNo
noticeNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description adds real context beyond that — it is a single-key write, it echoes back the post-write value, and it fails if the simulator is down. It does not say whether a bad key leaves state untouched or what the failure payload looks like, so it is not fully transparent.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and scope, then the key convention, then the failure mode. The key-format sentence largely duplicates the schema, which is the only wasted material.

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?

An output schema exists, so return values need no explanation, yet the description briefly describes the echo-back anyway. With annotations and full schema coverage in place, the remaining need was error/precondition behavior, which is supplied; only recovery or partial-failure semantics are 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 coverage is 100%, so key, value, and port are already documented in the schema, including the flat vs. dotted key format and the number/bool value typing. The description restates the key format but adds no semantics the schema lacks, so the baseline of 3 applies.

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 ('Write one setting'), a specific target ('on the running PC simulator'), and the exact scope ('one setting ... by key'). It also names the read-only sibling crosspad_settings_get, so an agent can separate read from write without inspecting schemas.

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 key discovery to crosspad_settings_get and states the precondition for failure ('fails when the simulator is not running'). It stops short of saying when a caller should prefer this over other mutating siblings, but the write/read split is clear.

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