Skip to main content
Glama

Respond to invitation

respond_to_connection
Destructive

Accept or decline an invitation you received; accepting needs Team. Accepted connections can be delegated to and shared with. To withdraw an invitation you sent, or end a connection, use remove_connection.

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": {
      "id": "<id>",
      "operation": "<operation>"
    },
    "name": "respond_to_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesInvitation id from `list_connections` status=pending (received).
operationYesaccept: connect; decline: refuse.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"Invitation id from `list_connections` status=pending (received)."
    • addedInput schema / properties / operation / description
      Added value: +"accept: connect; decline: refuse."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses an entitlement prerequisite (Team required to accept) and the downstream consequence of accepting (the connection can be delegated to and shared with). It does not say what decline does to the inviter or whether either action is reversible, which is the remaining gap for a destructive operation.

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?

A single dense sentence, front-loaded with the action and scope, then the prerequisite, then the sibling routing. No filler, and the exclusion is placed last where it is most useful.

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 2-parameter tool with full schema coverage and annotations, the description covers purpose, prerequisite, outcome, and alternatives. Only the post-action effect on the other party and reversibility are unaddressed, a minor gap with no output schema to defer to.

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 description coverage is 100% and the `operation` enum already carries inline meanings ('accept: connect; decline: refuse'), so the schema does the heavy lifting. The description only reinforces that `id` refers to a received invitation, adding little beyond structured data — baseline 3 applies.

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 pair of verbs (accept/decline) against a specific resource (an invitation you received), and immediately scopes out the sibling case by noting that withdrawing a sent invitation or ending a connection belongs to `remove_connection`. An agent can select this tool 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the selecting condition (invitation *received*, not sent), a prerequisite (accepting needs Team), and an explicit alternative with its use case (`remove_connection` for withdrawing or ending). Both when-to-use and when-not-to-use are covered.

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