Skip to main content
Glama

Edit a particle file

edit_effect

Edits a Minecraft Bedrock particle file with JSON Pointer operations while preserving comments and formatting, then validates it, re-estimates cost, and proposes a reviewable change set.

Instructions

Change one particle file with JSON Pointer operations (e.g. path "/particle_effect/components/minecraft:emitter_rate_instant/num_particles"), keeping comments and formatting. Validates and re-estimates cost. Proposes a change set.

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": {
      "target": "<target>"
    },
    "name": "edit_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
packNo
targetYesparticle identifier or file path
operationsNo
replace_withNoa complete particle JSON to replace the file with

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses that comments and formatting are preserved, that validation and cost re-estimation occur, and that the result is a proposed change set rather than a committed mutation. It stops short of explaining how a proposal is committed or what happens on validation failure, which keeps it from 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?

Three short sentences, front-loading the core action and mechanism before the behavioral notes. The inline path example is the one long element and it earns its space by demonstrating the required pointer syntax.

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 a file-mutating tool with no annotations and no output schema, the description covers the important behavioral traits but leaves the commit workflow and return shape implicit. An agent knows what the tool does and roughly what it produces, but not how to act on the proposed change set.

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?

At 50% schema coverage, the description usefully clarifies the operations[].path format with a real JSON Pointer example, which the bare schema does not. It says nothing about pack, leaves replace_with entirely unmentioned, and does not explain how operations and replace_with interact when both are provided, so it only partially compensates for the coverage gap.

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 specific verb and resource ('Change one particle file') plus the exact mechanism ('JSON Pointer operations') with a concrete path example, which makes the effect unambiguous. It is clearly distinct from a creation tool like create_effect, but it never names a sibling to steer between, so it falls short of a 5.

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: 'Proposes a change set' hints that this stages work rather than committing it, and 'Validates and re-estimates cost' suggests it is safe to call before applying. However, there is no explicit when-to-use/when-not statement, no mention of apply_changes or discard_changes as the follow-up, and no guidance on when replace_with should supersede operations.

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