Skip to main content
Glama

Accept friend

accept_friend
Idempotent

Accept a circle request another player sent the current user (my_circle lists them under requests_received). Both become friends at once: each sees what the other's handle publishes, in match_circle. Counts against the friends the account's plan holds.

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": {
      "handle": "<handle>"
    },
    "name": "accept_friend"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYesThe handle of the player who sent the request, with its @

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the mutual effect (both become friends at once, each sees the other's published handle in match_circle) and a quota consequence (counts against the account plan's friend allowance). It does not say what happens on failure when no request exists or the plan limit is reached.

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?

Three short sentences, front-loaded with the action and the source of valid handles, then the side effects. No redundant restatement of the title or annotations.

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 one-parameter mutation with no output schema, the definition covers the effect, the visibility change, the quota impact, and where to find valid inputs. Error behavior (missing request, limit exceeded) is the only notable gap, and no output schema exists to cover it.

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% and already documents the single handle parameter including the required '@'. The description still adds meaning by constraining the handle to the player who sent the request — not just any handle — which the schema alone does not convey.

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?

States a specific verb and resource ('Accept a circle request another player sent the current user') and pins the direction of the relationship, distinguishing it from outgoing-invite siblings like invite_friend or add_friend. It also tells the agent where such requests surface (my_circle → requests_received).

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 clear context for use: this is for requests the other player already sent, and it points at my_circle/requests_received as the source of valid handles. It stops short of naming an explicit alternative for adding a player who has not sent a request (e.g. add_friend), so the when-not case is inferred rather than stated.

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