Skip to main content
Glama

Withdraw invitation

withdraw_invitation
Destructive

Take back ONE connection invitation you sent that is still unanswered, now: its invitationId from get_pending_invitations, or the one send_invitation returned. It is withdrawn on LinkedIn itself and cannot be undone. To take back many at once, withdraw_connections does that in the background for invitations a campaign sent. Counts against a daily allowance (100 a day).

Input Schema

NameRequiredDescriptionDefault
connectionIdNoWhich of your LinkedIn accounts to act from (its id from get_linkedin_accounts). Omit to use your first live one that does not need reconnecting.
invitationIdYesThe sent invitation to take back (from get_pending_invitations, or returned by send_invitation).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the bar is lower, yet the description still adds real context: the withdrawal happens on LinkedIn itself, is irreversible, and consumes a daily allowance of 100. That quota detail is not derivable from any structured field.

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?

Three front-loaded sentences with no filler; the scope constraint and the bulk alternative lead. Slightly run-on phrasing ('that is still unanswered, now: its invitationId from...') costs a little readability.

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 two-parameter irreversible mutation with no output schema, the description covers irreversibility, quota cost, id source, and the bulk alternative. It stops short of saying what state the invitation ends in or what the call returns, a minor gap given no output schema.

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%, so the schema already documents both invitationId and connectionId. The description echoes the invitationId provenance (which the schema also states) and says nothing about connectionId, so it adds little beyond the schema — baseline 3.

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 and resource with an explicit scope constraint: 'Take back ONE connection invitation you sent that is still unanswered'. The 'ONE' directly contrasts with the sibling withdraw_connections, so an agent can distinguish them without opening a 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 precondition (still unanswered), the timing ('now'), the source of the id (get_pending_invitations or the return of send_invitation), and the explicit alternative (withdraw_connections for many, for campaign-sent invitations). Nothing about when to choose this tool is left to inference.

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.