Skip to main content
Glama

Accept or ignore an invitation

respond_to_invitation
Read-onlyIdempotent

Prepare to accept or ignore a received LinkedIn connection invitation without sending it: return a preview and confirmation_token, then require explicit user approval before confirming.

Instructions

Prepare accepting or ignoring a received connection invitation. Get the id from list_invitations. This tool does not send anything to LinkedIn. It returns a preview and a confirmation_token. Show the preview to the user word for word and call confirm_action only after the user explicitly approves it.

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>",
      "action": "<action>"
    },
    "name": "respond_to_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesInvitation id (the inviter's username) from list_invitations.
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint/destructiveHint=false annotations, the description discloses the crucial behavioral fact that nothing is sent to LinkedIn and that the call returns a preview plus a confirmation_token — a two-phase commit pattern the annotations alone would not reveal. It also states the approval gate required before proceeding to confirm_action.

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?

Four short sentences, front-loaded with the core action and then the prerequisites and follow-up, with no filler. Every sentence carries a distinct operational instruction (source of id, no external effect, return values, approval protocol).

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?

With only two parameters and no output schema, the description compensates by describing what the call returns (preview, confirmation_token) and what the caller must do with it. Nothing an agent needs to invoke this tool correctly and hand off to confirm_action is missing.

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 50%: the id parameter is already documented as coming from list_invitations, and the description merely repeats that source rather than adding format or fallback guidance. The action enum is left entirely to the schema, with no explanation of the practical difference between 'accept' and 'ignore' (e.g., whether the inviter is notified).

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?

The first sentence names a specific verb ('prepare accepting or ignoring') and resource ('received connection invitation'), and 'prepare' immediately signals a staged operation rather than an immediate mutation. It is clearly separable from the named siblings list_invitations (source of the id) and confirm_action (the execution step).

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?

Explicit routing is provided: get the id from list_invitations, then call confirm_action only after explicit user approval. It also imposes a concrete display protocol ('show the preview to the user word for word'), so the agent knows both when to call this tool and what to do between this call and the next.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.