Skip to main content
Glama
vroid-files MCP server
by JAmadoD

vroid_replace_layer

Creates a new VRoid file by replacing a single layer image with a supplied PNG of matching width and height, then verifies the saved result by re-reading it.

Instructions

Write a NEW file dst = src with one layer's image replaced by png_path (same width and height). Verifies the result by re-reading it. dst must not exist.

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": {
      "src": "<src>",
      "dst": "<dst>",
      "layer_guid": "<layer_guid>",
      "png_path": "<png_path>"
    },
    "name": "vroid_replace_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
dstYes
srcYes
png_pathYes
layer_guidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose valuable non-obvious traits: this is a write that leaves src untouched, the destination must not already exist (no overwrite), and the result is self-verified by re-reading. It omits what happens if verification fails, whether a partial dst is left behind, and any permission requirements.

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 with no filler, and the core operation is front-loaded. The terse 'dst = src' pseudo-assignment notation is slightly cryptic compressed syntax, but it does convey the copy semantics efficiently.

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?

For an unannotated mutation tool with no output schema and zero schema-level parameter documentation, the description covers the core contract but leaves error handling, verification-failure behavior, and layer_guid acquisition unaddressed. Adequate to attempt a call, thin for handling failure modes.

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 description coverage is 0%, so the description must compensate for four bare string parameters. It does explain dst (a copy of src, must not pre-exist), src implicitly, and png_path (must match width and height), but layer_guid's semantics, format, and how to obtain a valid value are only implied by 'one layer'.

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?

States a concrete verb and resource: writing a new file that is a copy of src with one layer's image swapped for png_path. An agent can tell this is a layer-image mutation rather than an export or metadata read, though it never names a sibling to contrast with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as exporting the layer first or reading info to obtain a layer_guid. The only guidance-like content is the precondition 'dst must not exist', which constrains inputs rather than routing between tools.

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