Skip to main content
Glama
Verge3D MCP Server
by sanky369

verge3d_puzzles_save

Validates Puzzles XML and saves visual_logic.xml and visual_logic.js to a Verge3D app, automatically creating a timestamped backup first.

Instructions

Validate XML and save visual_logic.xml and visual_logic.js via App Manager (/storage/xml), automatically creating a timestamped backup in v3d_app_data/puzzles_backup/.

Args: app_name: Application folder name. xml_content: Full well-formed Puzzles XML document. js_content: Compiled or custom visual_logic.js code. xml_filename: Target XML filename (default 'visual_logic.xml'). js_filename: Target JS filename (default 'visual_logic.js').

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": {
      "app_name": "<app_name>",
      "xml_content": "<xml_content>",
      "js_content": "<js_content>"
    },
    "name": "verge3d_puzzles_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_nameYes
js_contentYes
js_filenameNovisual_logic.js
xml_contentYes
xml_filenameNovisual_logic.xml

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that the tool validates XML, writes via App Manager (/storage/xml), and automatically creates a timestamped backup in v3d_app_data/puzzles_backup/. It does not state overwrite behavior, failure handling if XML validation fails, required permissions, or whether both files are backed up.

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?

The definition is front-loaded with the core validate-save-backup behavior, then follows with a compact Args list. Every sentence carries operational information, and there is no wasted preamble. The Args formatting is serviceable but slightly repetitive in naming each field.

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

Completeness3/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-value documentation is not required, and the description covers the core save path, validation, and backup location. But for a mutation tool with no annotations, it should also describe overwrite/replace semantics, validation-failure behavior, and permission or path prerequisites. These omissions leave meaningful operational gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: all five parameters are explained, including that xml_content must be a full well-formed Puzzles XML document, js_content is compiled or custom visual_logic.js code, and filenames have defaults. The explanations add meaningful semantics beyond the schema titles and defaults, though some format or path constraints remain unspecified.

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 uses a specific verb-and-resource formulation: validate XML, save visual_logic.xml and visual_logic.js, and create a timestamped backup. It clearly distinguishes the action from read/restore siblings by describing writes to /storage/xml and backup creation. It does not explicitly name a sibling alternative, so it falls short of the top differentiation score.

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 this is used for persisting Puzzles XML and compiled/custom JS after validation, and it names the storage location and backup behavior. However, it gives no explicit when-to-use guidance versus verge3d_puzzles_read or verge3d_puzzles_restore_backup, and no conditions under which this tool should not be used.

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