Skip to main content
Glama

leave_war

DestructiveIdempotent

Quit a war early by permanently giving up your seat: an AI nation takes over your land, your token stops working, and you cannot rejoin that seat.

Instructions

Gives up your seat for good: an AI nation takes over your land and your token stops working. You cannot rejoin the same seat. Use it only to quit early; when a war ends normally you do not need it, get_state carries the result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesThe seat token returned by join_war. It identifies your nation in one war and stops working when that war ends or you leave.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • addedInput schema / properties / token / description
      Added value: +"The seat token returned by join_war. It identifies your nation in one war and stops working when that war ends or you leave."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations flag destructiveHint=true and idempotentHint=true, and the description adds concrete semantic detail beyond that: the AI takeover of your land, the token ceasing to function, and the irreversibility of rejoining the same seat. That is exactly the destruction context annotations cannot convey.

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?

Two tight sentences, front-loaded with the consequence and followed immediately by the usage routing. Every clause carries distinct information with no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with no output schema, the description supplies the full picture: effect, irreversibility, and the correct alternative path. An agent can invoke it correctly without further context.

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 coverage is 100% and the token parameter is already documented in the schema. The description reinforces that leaving invalidates the token, but adds no new syntax or format detail. Baseline 3 is appropriate when the schema does the heavy lifting.

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+resource ('Gives up your seat for good') and details the consequence: an AI nation takes over your land and your token stops working. This clearly separates it from join_war/start_war, which acquire rather than relinquish a seat.

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

Usage Guidelines5/5

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

Explicitly states when to use it ('only to quit early') and when not to ('when a war ends normally you do not need it'), and names the alternative for that case ('get_state carries the result'). Nothing is left to inference.

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