Skip to main content
Glama

Accept Friend Request

accept_friend_request
Destructive

Nimmt einen eingehenden Freundschaftsantrag an und ersetzt seinen offenen Status durch eine bestätigte Freundschaft, die in öffentlichen Freundeslisten erscheinen kann.

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": {
      "manager_id": "<manager_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "accept_friend_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
manager_idYes
idempotency_keyYes1–180 druckbare ASCII-Zeichen von ! bis ~, ohne Leerzeichen. Vor dem ersten Aufruf wählen und für Wiederholungen beibehalten.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=true, openWorldHint=true), so the bar is lower. The description still adds real consequence context beyond them: the pending status is replaced by a confirmed friendship, and that friendship may surface in public friend lists — a visibility side effect an agent should know about. It says nothing about reversibility or permissions, which is the remaining gap.

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?

A single sentence with the action front-loaded, followed by the resulting state change. No filler. The only minor cost is that the public-visibility clause is packed into the same sentence rather than separated.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the annotations carry the safety profile. What is missing is coverage of the required manager_id parameter and any hint that the call is non-idempotent despite requiring an idempotency key — an agent could get either wrong.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: idempotency_key is well documented in the schema, but manager_id has no description anywhere. The tool description mentions no parameters at all, so it fails to compensate for the undocumented half — notably which manager the request belongs to.

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?

The description gives a specific verb and resource — accepting an *incoming* friend request — which implicitly separates it from the outbound request_friend and from reject_friend_request/withdraw_friend_request. It stops short of naming any sibling explicitly, so differentiation rests on the word 'eingehenden'.

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?

Usage is only implied: an agent can infer 'call this when you are the recipient of a pending request'. There is no statement of prerequisites (must be the addressee, request must be pending), no when-not guidance, and no routing to reject_friend_request or withdraw_friend_request.

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.