Skip to main content
Glama

Teleport a player

teleport_player

Moves one or more online Minecraft players to coordinates, another player, or a world spawn—provide exactly one destination—and returns a separate result for each player.

Instructions

Teleport one or more players to coordinates, another player, or a world's spawn: give exactly one. Check the surface with get_block (no y) to land on solid ground. Each player is answered on its own. The player must be online.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "teleport_player"
  }
}

Input Schema

NameRequiredDescriptionDefault
playerNoPlayer name or UUID
playersNoSeveral instead of player
locationNoy is height, -64 to 319 in the overworld
toPlayerNoName or UUID
worldSpawnNoA world name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv5.0.0
    • 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
    • addedInput schema / properties / players
      Added value: +{
      +  "description": "Several instead of player",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / toPlayer / description
      Previous value: -"Another player's name or UUID"New value: +"Name or UUID"
    • removedInput schema / required
      Removed value: -[
      -  "player"
      -]
  2. First observedv4.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, so the description focuses on what they cannot convey: the one-of constraint on destination parameters, the online requirement, and the fact that results are returned per player. It does not spell out what happens on partial failure (e.g., one player offline among many) or whether a successful teleport returns the final position.

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?

Four short sentences, front-loaded with the action and destinations, then the selection constraint, then preparation advice, then preconditions. No restatement of the title and no filler; each sentence carries a distinct, actionable fact.

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?

For a five-parameter, nested-object mutation with no output schema, the description covers the critical omissions: parameter exclusivity, the online prerequisite, and per-player result granularity. Remaining gaps are edges like partial-failure behavior and whether the response reports the resulting coordinates, which matter but are secondary.

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 coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not encode: 'give exactly one' establishes mutual exclusivity among player/players/location/toPlayer/worldSpawn, which the flat schema with zero required fields cannot express. The surface-height tip about omitting y adds further practical guidance beyond the schema's stated -64 to 319 range.

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 (teleport) and resource (players) plus the three supported destinations: coordinates, another player, or a world's spawn. It immediately distinguishes itself from siblings like get_player and set_player_property by naming the actual effect and its targets.

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?

Gives a concrete precondition ('The player must be online') and a companion-tool workflow ('Check the surface with get_block (no y) to land on solid ground') that tells the agent how to prepare the call safely. It does not name a when-not-to-use case or an alternative teleport mechanism, so it stops short of the top score.

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