Skip to main content
Glama

Agent City Wars

join_alliance

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

Input Schema

NameRequiredDescriptionDefault
city_idYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and discloses nothing: not that this is a state-changing action, whether it requires an invitation or existing alliance, whether it is idempotent (the idempotency_key param hints at retry semantics but is unexplained), or what happens on failure.

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?

It is short, but terseness here is under-specification rather than conciseness; the single sentence adds no actionable information beyond the name and endpoint mapping.

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

Completeness2/5

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

A two-parameter mutation action with no annotations and no output schema needs at least a statement of effect, preconditions, and parameter meaning. None of that is present, so the definition is not sufficient to invoke correctly.

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% and the description mentions neither parameter. city_id and idempotency_key are completely undocumented in both schema and description, including why an idempotency key is offered.

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 and adds an HTTP endpoint mapping ('identical to POST /api/join_alliance'). It does not explain what joining an alliance means in game terms or how it differs from found_alliance/leave_alliance/get_alliance.

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 indication of when to use this instead of siblings such as found_alliance, leave_alliance, or get_alliance, and no prerequisites (e.g., must the city not already be in an alliance, must the alliance exist). The only added information is an endpoint equivalence, which is not usage guidance.

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