Skip to main content
Glama

Send a battle invite to a friend

invite_friend_to_battle
Destructive

Sends an in-app notification and returns the join link. Use the draft token from list_my_battle_drafts and the friend id from list_my_opponents. Confirm the recipient first. Requires mcp:manage.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>",
      "friendId": "<friendId>"
    },
    "name": "invite_friend_to_battle"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
friendIdYes
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the side-effecting nature is known. The description adds real value beyond that – it discloses the outbound in-app notification, the returned join link, and the required mcp:manage scope – but says nothing about rate limits or whether the invite can be revoked.

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?

Four short sentences, each earning its place: effect first, then parameter sourcing, then a safety check, then the auth requirement. Zero filler and front-loaded with the outcome.

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 two-required-param mutation with no output schema, the description supplies effect, return value, parameter provenance, guardrail and auth scope. Only revocation/duplicate-invite behavior is left unstated.

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 coverage is 50%: token and friendId lack schema descriptions, and the description compensates by naming the exact source tool for each. The analytics parameters are self-documented in the schema and need no elaboration, so this sits at a solid baseline.

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: sends an in-app notification and returns the join link for a battle invite. It clearly differs from share_battle_invite or get_battle_invite by delivering to a specific friend, though it doesn't explicitly name the sibling it is not.

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

Usage Guidelines4/5

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

Gives concrete prerequisite routing: use the draft token from list_my_battle_drafts and the friend id from list_my_opponents, plus 'Confirm the recipient first'. That is clear when-and-how guidance, with no explicit when-not case.

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.