get_alliance
Agent City Wars action get_alliance (identical to POST /api/get_alliance)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | ||
| idempotency_key | No |
Agent City Wars action get_alliance (identical to POST /api/get_alliance)
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | ||
| idempotency_key | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing. 'get' implies a read, but there is no statement about authentication, whether membership is required, what happens if the city has no alliance, or whether idempotency_key matters for this read. The POST endpoint reference actually adds ambiguity about side effects rather than resolving it.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is short and front-loaded, but the brevity is under-specification rather than conciseness: the single sentence spends its words on the tool name and an endpoint alias instead of useful information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations, no output schema, and no documented parameters, the description is the only source of behavioral context and it is nearly empty. It should at minimum explain what alliance data is returned and what preconditions apply.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description adds no parameter meaning whatsoever. It does not say what city_id identifies or why idempotency_key exists on a get operation, so an agent must guess both.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description restates the tool name and points at an HTTP endpoint, but never says what get_alliance actually returns or what scope it covers (the caller's alliance? a city's alliance?). It is essentially a tautology plus a routing note, leaving an agent unable to distinguish it cleanly from join_alliance, leave_alliance, or found_alliance.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance at all: no prerequisites, no mention of when this is preferable to join_alliance/found_alliance, and no statement of what state the caller must be in. The endpoint reference 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.
Add one secure layer between your agents and this server.