Skip to main content
Glama
playcrowns

crowns-mcp

Official
by playcrowns

invite_to_alliance

Send an alliance invitation to a target kingdom. Only founders or officers can invite, and the invite can be accepted or declined.

Instructions

Invite another kingdom to join your alliance. Only alliance founders and officers can invite. Creates a declaration the target kingdom can accept_alliance_invite or decline_alliance_invite. Target must not already be in another alliance. One pending invite per (inviter, target) pair.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesYour Crowns API key
messageNoOptional message shown to the target
alliance_idYesUUID of your alliance (URL path parameter)
to_kingdom_idYesUUID of the target kingdom to invite
Behavior3/5

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

Annotations are absent, so the description carries the full burden. It does disclose a behavioral effect: it 'creates a declaration' that the target can accept or decline. It also notes the one-pending-invite constraint, which is a behavioral limitation. However, it doesn't mention whether the invocation is idempotent (e.g., what happens if you call again with the same pair) or whether it requires any authentication beyond the api_key parameter. Given the lack of annotations, a 3 is fair – it adds some context but leaves gaps around side effects (e.g., does it consume resources? Does it fail if target is in alliance? It says 'must not already be in alliance' but not the consequence of violating that).

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?

The description is three sentences, each dense with critical information. The core action is first, followed by constraints and lifecycle. No filler words; every sentence carries new information. It is well-structured and easily scannable.

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

Completeness4/5

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

The description covers the action, prerequisites, constraints, and the follow-up actions. It doesn't describe the response format (but no output schema exists, so the agent might need to infer), yet for a simple invite tool, the essentials are present. It could mention what happens on success/failure (e.g., errors if target is in alliance), but the preconditions imply that. Given the tool's complexity, a 4 is appropriate – minor gap on error handling, but otherwise complete.

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

Parameters4/5

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

Schema coverage is 100%, so parameters are already documented. The description adds value by clarifying the message parameter's purpose ('Optional message shown to the target') and the relationship between alliance_id and to_kingdom_id. It doesn't need to repeat schema details, but its brief mention of message and target conditions enhances the semantic context beyond the schema.

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?

The description clearly states the action ('invite another kingdom to join your alliance') and identifies the target resource. It also distinguishes this tool from sibling accept_alliance_invite and decline_alliance_invite by explicitly naming them and describing the invite lifecycle.

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?

The description explicitly states when to use this tool (to invite a kingdom, not accept/decline an invite) and includes critical preconditions: only founders/officers can invite, target must not be in another alliance, and one pending invite per (inviter, target) pair. These are direct usage constraints that prevent misuse.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/playcrowns/crowns-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server