Skip to main content
Glama

Remove friend

remove_friend
DestructiveIdempotent

Remove a friend from the current user's trade circle, decline a request they received, or cancel one they sent — by the other player's handle. was says which it was. Both sides stop seeing each other's match; nothing in either collection changes. Asking again needs a new request.

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

Input Schema

NameRequiredDescriptionDefault
handleYesThe friend's handle, with its @

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, but the description adds genuinely new context: the effect is symmetric ('both sides stop seeing each other's match'), scoped to not touch collections ('nothing in either collection changes'), and that re-establishing requires a fresh request. It doesn't cover failure modes (e.g., handle with no relationship), which keeps it off a 5.

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?

Front-loaded with the primary action and free of filler; each short clause (the three cases, the `was` note, the mutual-visibility effect, the re-request rule) carries distinct information. It is dense but not bloated.

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 destructive mutation with no output schema, the description covers effect scope, what is not affected, and the return discriminator `was`, which is the key missing piece an output schema would have supplied. Only error/edge-case behavior is left implicit.

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?

With one parameter and 100% schema description coverage (including the '@' prefix requirement), the schema already carries the semantics; the description only restates that the handle identifies the other player. The mention of `was` is about the response, not the input, so it adds nothing to parameter meaning.

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 (remove/decline/cancel) against a specific resource (a friend in the current user's trade circle) and enumerates the three states the call can act on. The 'by the other player's handle' clause pins down the selector, so an agent knows exactly what this does without opening the schema.

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 when-to-use context by naming the three situations (existing friendship, incoming request, outgoing request), which is strong guidance for a single-handle call. It stops short of explicit exclusions — notably it never says how this differs from siblings like cancel_invite or accept_friend, which an agent could plausibly reach for in the outgoing-request 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.

Resources