Skip to main content
Glama

Withdraw one sent invitation, now

withdraw_invitation
Destructive

[Ids in: invitationId: sent invitation id, from list_sent_invitations → pendingInvitations[].invitationId. Ids out: none.] Take back ONE connection invitation you sent that is still unanswered, now: its invitationId from list_sent_invitations, or the one send_invitation returned. It is withdrawn on LinkedIn itself and cannot be undone. To take back many at once, withdraw_invitations 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 list_linkedin_accounts). Omit to use your first live one.
invitationIdYesThe sent invitation to take back (from list_sent_invitations, or returned by send_invitation).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description adds substantial context beyond them: the withdrawal happens on LinkedIn itself, it cannot be undone, and it consumes a limited daily allowance (100/day). These are exactly the consequences an agent needs before a destructive call.

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?

Front-loads the id contract in a bracket, then the action, then the alternative and the rate limit. Dense but every clause earns its place; the bracket syntax is compact rather than wasteful.

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 no output schema, the description explicitly states 'Ids out: none', covers irreversibility, the daily limit, and the bulk alternative. Nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% (both params documented), so baseline is 3. The description adds provenance detail beyond the schema by giving the exact path ('pendingInvitations[].invitationId') and noting no ids are returned, which slightly exceeds the schema's own wording.

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 ('take back ONE connection invitation you sent that is still unanswered') with clear scope. It explicitly distinguishes itself from the bulk sibling ('To take back many at once, withdraw_invitations') and from respond_to_invitation by requiring the invitation be unanswered.

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?

Names the exact precondition (a sent, still-unanswered invitation) and routes the agent to the alternative for bulk operations ('withdraw_invitations does that in the background'). The only usage decision an agent faces here is 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.