Skip to main content
Glama

Lightning, explosions, sounds, particles

world_effect
Destructive

Trigger lightning, explosions, sounds, or particles at a specific location in a Minecraft world to create live events and effects. Set power, spread, and world as needed.

Instructions

At a location: lightning (effectOnly is harmless), an explosion (power 4 is TNT), a sound such as minecraft:entity.ender_dragon.growl for everyone nearby, or particles such as minecraft:heart (not ones that need extra data, like dust).

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": {
      "kind": "<kind>",
      "location": "<location>"
    },
    "name": "world_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
fireNo
kindYes
countNo10 by default
pitchNo
powerNo4 by default
soundNoThe sound key
speedNo
worldNoWorld name or keyworld
offsetNoSpread
volumeNo
categoryNo`master` by default
locationYesy is height, -64 to 319 in the overworld
particleNoThe particle key
effectOnlyNo
breakBlocksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv5.0.0
    • removedInput schema / properties / breakBlocks / description
      Removed value: -"explosion"
    • changedInput schema / properties / category / description
      Previous value: -"sound: `master` by default"New value: +"`master` by default"
    • changedInput schema / properties / count / description
      Previous value: -"particles: 10 by default"New value: +"10 by default"
    • changedInput schema / properties / count / maximum
      Previous value: -9007199254740991New value: +10000
    • removedInput schema / properties / effectOnly / description
      Removed value: -"lightning: only the flash and the sound"
    • removedInput schema / properties / fire / description
      Removed value: -"explosion"
    • removedInput schema / properties / kind / description
      Removed value: -"Picks the fields that apply"
    • changedInput schema / properties / location / description
      Previous value: -"A spot in a world; y is height (the overworld runs from -64 to 319)"New value: +"y is height, -64 to 319 in the overworld"
    • removedInput schema / properties / location / properties / world / description
      Removed value: -"World name"
    • addedInput schema / properties / location / properties / world / minLength
      Added value: +1
    • changedInput schema / properties / offset / description
      Previous value: -"particles: spread"New value: +"Spread"
    • changedInput schema / properties / particle / description
      Previous value: -"particles: the particle key"New value: +"The particle key"
    • removedInput schema / properties / pitch / description
      Removed value: -"sound"
    • changedInput schema / properties / power / description
      Previous value: -"explosion: 4 by default"New value: +"4 by default"
    • changedInput schema / properties / sound / description
      Previous value: -"sound: the sound key"New value: +"The sound key"
    • removedInput schema / properties / speed / description
      Removed value: -"particles"
    • removedInput schema / properties / volume / description
      Removed value: -"sound"
    • changedInput schema / properties / world / description
      Previous value: -"World name, such as `world`, `world_nether`, `world_the_end`, or a key like `minecraft:the_nether`"New value: +"World name or key"
    • addedInput schema / properties / world / minLength
      Added value: +1
  2. Changed1 schema field changedv4.2.1
    • addedInput schema / properties / kind / description
      Added value: +"Picks the fields that apply"
  3. First observedv4.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and non-idempotent, so the safety bar is lower. The description does add real behavioral context — `effectOnly` makes lightning harmless, `power 4` equals TNT strength, sounds are heard by everyone nearby, and particles requiring extra data (dust) are unsupported. However, it never states that explosions can destroy terrain by default, mentions nothing about `breakBlocks`/`fire` consequences, and gives no permission or broadcast-scope details for a mutation tool.

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?

A single sentence that front-loads the location scoping and lists each effect kind with its most decision-relevant qualifier, with no filler. It is dense but every clause carries information; the parenthetical caveats are the only slightly awkward part.

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 15-parameter, destructive, no-output-schema tool, the description covers effect selection and the two required parameters conceptually but omits the destruction model (terrain damage, block breaking, fire spread) and any prerequisites such as permissions or whether the effect is one-shot. An agent could call it and be surprised by the blast radius, which is the main gap.

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?

With schema coverage at only 53% across 15 parameters, the description carries real weight and does explain the highest-value ones: the `kind` options, `sound`/`particle` key formats with a `minecraft:` example, the `power` default, and the `effectOnly` flag. Still, `count`, `pitch`, `speed`, `volume`, `offset`, `category`, `world`, `fire`, and `breakBlocks` receive no meaning beyond their terse schema text, which leaves notable gaps.

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 names the resource (world effects) and enumerates the four concrete kinds with representative examples (`lightning`, `explosion`, `sound`, `particles`), so an agent knows exactly what the tool produces. It stops short of an explicit verb like "spawns/triggers" and never contrasts with any sibling, though the siblings listed are all readers/mutators of other resources, so the distinction is largely implicit.

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: nothing says which kind to prefer for a given goal, whether this requires elevated permissions, or what alternatives exist (e.g. run_command for raw effect commands). The only guidance is embedded parameter hints, which is not usage context.

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