Skip to main content
Glama

Grant or revoke advancements

set_advancement
Idempotent

Complete or revoke all criteria for specified Minecraft advancements for an online player, with each advancement key handled independently.

Instructions

Complete every criterion of advancements for a player, or take them all back. Each key is answered on its own. The player must be online.

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": {
      "player": "<player>",
      "keys": "<keys>",
      "done": "<done>"
    },
    "name": "set_advancement"
  }
}

Input Schema

NameRequiredDescriptionDefault
doneYesfalse revokes
keysYesSuch as ["minecraft:story/mine_diamond"]
playerYesPlayer name or UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.0.0
    • changedInput schema / properties / keys / description
      Previous value: -"Advancement keys, such as [\"minecraft:story/mine_diamond\"]"New value: +"Such as [\"minecraft:story/mine_diamond\"]"
  2. Changed1 schema field changedv4.2.1
    • addedInput schema / properties / done / description
      Added value: +"false revokes"
  3. First observedv4.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false; the description adds real context on top: an online-state prerequisite and the fact that "Each key is answered on its own," i.e. per-key partial success. It still omits what the failure behavior or result payload looks like.

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, front-loaded with the action and followed by the scoping rule and prerequisite; nothing is redundant. The middle sentence ("Each key is answered on its own") is slightly opaque as phrased but earns its place.

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 3-parameter tool with full schema coverage and no output schema, the description covers the action, the per-key granularity and the online requirement. It leaves the result shape and the behavior on an offline player unstated, which matters for a state-changing call.

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 100%, so player (name or UUID), keys (example format, 1-50 limit) and done ("false revokes") are already documented. The description's only extra semantic content is the per-key independence of "keys", which is marginal beyond the schema baseline.

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 a specific verb pair and resource: complete all criteria of advancements for a player, or revoke them all. That is distinguishable from sibling setters like set_effects or set_player_property, though it never names an alternative tool explicitly.

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?

It gives one concrete prerequisite ("The player must be online") which implies when the call is valid, but there is no guidance on when to prefer this over related tools such as get_player or get_leaderboard, and no statement of what to do when the player is offline.

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