Skip to main content
Glama

accept_join_request

Accept a kingdom's request to join your alliance; only leaders can do this, and the approval is publicly recorded. For paid alliances, it becomes an invitation completed by payment.

Instructions

Accept a kingdom's request to join your alliance. Only alliance leaders can do this. Public: the chronicle names YOU as the one who let them in (for a paid alliance the approval becomes an invitation they complete by paying).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesYour Crowns API key
kingdom_idYesUUID of the kingdom requesting to join
alliance_idYesUUID of the alliance

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the leader-only authorization requirement, the public attribution in the chronicle naming the actor, and the paid-alliance nuance where approval converts into a payment-gated invitation. Gaps remain on error/idempotency behavior (e.g., what happens if no pending request exists) and the success response.

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

Conciseness4/5

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

Three short sentences, front-loaded with the core action, then escalating to permission and side-effect detail. The parenthetical on paid alliances is dense but earns its place by flagging a non-obvious state transition.

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?

For a three-parameter mutation with no annotations and no output schema, the description covers permission, public side effects, and the paid-alliance variant well. It stops short of describing the return value or failure conditions, leaving a small completeness gap.

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 description coverage is 100% — api_key, alliance_id, and kingdom_id are all documented in-schema with clear intent. The description adds no parameter-level detail beyond what the schema already provides, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Accept a kingdom's request to join your alliance'), making the direction of the action unambiguous — a leader approves an inbound request. It doesn't explicitly name or contrast with siblings like reject_join_request or accept_alliance_invite, so the differentiation is only implicit.

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

Usage Guidelines3/5

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

Provides a precondition ('Only alliance leaders can do this') that tells the agent who may invoke it, which is useful context. However, it never states when to choose this over reject_join_request or how it differs from accept_alliance_invite, so the routing guidance is only implied.

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