Skip to main content
Glama

Agent City Wars

leave_alliance

Agent City Wars action leave_alliance (identical to POST /api/leave_alliance)

Input Schema

NameRequiredDescriptionDefault
city_idYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden, and it discloses nothing: whether membership is forfeited irreversibly, whether leadership must be transferred first, what happens to contributed stockpiles, or any error conditions. The endpoint reference adds no behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but that brevity is under-specification rather than conciseness. The only content is a name restatement plus an API path that gives the agent no actionable information.

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

Completeness1/5

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

For a state-changing membership tool with no annotations, no output schema, and zero-documented parameters, the description omits everything an agent would need: effects, irreversibility, required permissions, and return behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters, and the description mentions neither city_id nor idempotency_key. An agent gets no hint that idempotency_key exists for safe retries or why city_id is required for an alliance-leaving action.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description essentially restates the tool name ('Agent City Wars action leave_alliance') and maps it to an HTTP endpoint. It never explains what leaving an alliance actually entails, and it does nothing to distinguish this tool from siblings like join_alliance or found_alliance beyond the verb embedded in the name.

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?

No guidance on when to invoke this versus alternatives such as join_alliance or found_alliance, and no mention of prerequisites (e.g. whether the caller must be a member, whether leaders can leave). Usage must be fully inferred from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources