Skip to main content
Glama

Add friend

add_friend

Ask another player into the current user's trade circle by their handle ("@name"). Friends are matched against each other in one call (match_circle). A request reaches only a handle that has a wantlist or tradelist published; any other handle answers "Nothing is published under @name", the same as a lookup, so this never tells whether a player exists. The user needs a handle of their own (set_handle): it is the only thing the friend sees of them. status "pending" waits for the friend to accept; a request they already sent is accepted at once ("accepted"). What a friend can see: exactly what the handle publishes (wantlists and tradelists), never the collection, a deck share, a name or an email. The account's plan holds a number of friends, requests sent included: past it the answer is a plan limit naming the page that describes plans.

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": "add_friend"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYesThe friend's handle, written with its @

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations say this is a non-read-only, non-idempotent, open-world mutation; the description goes well beyond that with real behavioral detail: the privacy boundary (friend sees only published lists, never collection/deck share/name/email), identical error text for unknown vs unpublished handles so existence is never leaked, and the two possible status outcomes (pending vs accepted). That is exactly the extra context an agent cannot infer from annotations.

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?

The core action is front-loaded in the first clause, and each following sentence carries distinct information (matching, error semantics, prerequisites, status outcomes, privacy, plan limits). It is dense but nearly every sentence earns its place; only the plan-limit sentence is slightly verbose.

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

Completeness5/5

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

For a single-parameter mutation with no output schema and no annotations covering semantics, the description supplies prerequisites, both success states, failure modes, privacy scope, and quota behavior. Nothing an agent needs to call this correctly or explain the result is missing.

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 @-format, so the baseline is 3. The description adds genuine meaning: the handle identifies the target in the user's own account space, it must correspond to a handle with published lists, and it is the only identity the friend will see.

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+resource: 'Ask another player into the current user's trade circle by their handle.' The agent immediately knows this sends a friend/trade-circle request, and the mention of match_circle as the follow-on matching step adds context. It doesn't distinguish itself from the similarly named invite_friend sibling, so it stops short of a 5.

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?

Preconditions are explicit: the user must have a handle (set_handle), and the target handle must have a wantlist or tradelist published. It also states the plan-limit failure mode. It lacks an explicit 'use X instead' exclusion, but the when-to-use context is clear.

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