Skip to main content
Glama

Request Friend

request_friend

Sendet einen Freundschaftsantrag an einen bekannten Manager (ID oder Name). Vorher list_friends lesen, bestehenden Antrag respektieren und keine Massenanträge senden.

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

Input Schema

NameRequiredDescriptionDefault
empfaengerNo
manager_idNo
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. Changed3 schema fields changed
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "properties": {
      -      "empfaenger": {
      -        "pattern": "\\S"
      -      }
      -    },
      -    "required": [
      -      "empfaenger"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "manager_id": {
      -        "minimum": 1
      -      }
      -    },
      -    "required": [
      -      "manager_id"
      -    ]
      -  }
      -]
    • addedInput schema / description
      Added value: +"Bedingte Parameterregeln werden vor Ausführung serverseitig geprüft; VALIDATION_ERROR nennt den betroffenen Parameter."
    • 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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, destructiveHint=false and idempotentHint=false, so the safety profile is largely covered. The description adds genuinely useful behavior context beyond that: a mandatory prior lookup and an explicit anti-spam constraint. However it says nothing about what happens on a duplicate or rejected request, or about side effects on the recipient, which matters for an open-world mutation.

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?

Two short sentences with the core action front-loaded and the prerequisites following in a single compact clause. Every clause carries a rule the caller needs. Minor cost: 'bekannten Manager' is slightly loose phrasing that could be read as assuming prior knowledge of the recipient.

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?

An output schema exists, so return values need not be described, and the annotations cover the safety profile. For a 3-parameter open-world mutation, the description supplies the prerequisite read, the anti-spam rule and the identifier flexibility, which is close to sufficient. The remaining gap is duplicate/failure handling, which the schema only gestures at via VALIDATION_ERROR.

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 only 33%, with just idempotency_key documented, so the description has to carry the other two parameters. It does clarify that the recipient can be given as ID or name, implicitly mapping manager_id and empfaenger, which is real added meaning. It still does not say whether the two are mutually exclusive or which takes precedence when both are supplied, leaving a meaningful gap.

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: sending a friend request ('Freundschaftsantrag') to a known manager, with the accepted identifier forms (ID or name) named inline. It also points at the sibling list_friends as a prerequisite, so an agent can place it in the request lifecycle without opening another schema. It stops short of explicitly contrasting with the accept/reject/withdraw siblings, which would be the full 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?

Gives concrete preconditions: read list_friends first, respect an existing request, and do not send mass requests. These are real when-to-use and when-not-to-do-this rules rather than implied usage. It does not cover edge cases such as what to do when the target has already been requested or has blocked the sender, so it is not exhaustive.

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.