Skip to main content
Glama

decline_invitation

DestructiveIdempotent

Decline/ignore a pending received connection request. Use to ignore a received invitation; the sender is not notified. Not for invitations the account sent, see withdraw_invitation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesReach id of the LinkedIn account to act on, from list_accounts.
idempotency_keyNoOptional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours.
linkedin_id_or_urlYesThe LinkedIn member: profile URL, vanity name (the part after /in/), Sales Navigator URL, or internal member id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
declinedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds a meaningful behavioral fact not in the annotations: the sender is not notified. It stops short of describing reversibility or quota effects, so not a full 5.

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?

Three short sentences, front-loaded with the core action, then usage, then the exclusion and alternative — no filler.

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 explained, and the description covers action, scope, notification behavior, and the sibling alternative. Minor gap: it doesn't clarify whether the request is removed vs merely hidden from listing.

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 100%, so account_id, linkedin_id_or_url, and idempotency_key are already fully documented in the schema. The description adds no parameter-level detail, which is the baseline expectation at full coverage.

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+resource (decline/ignore a pending received connection request) and explicitly scopes it to received invitations, distinguishing it from accept_invitation, send_invitation, and withdraw_invitation.

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?

Explicitly says when to use it (to ignore a received invitation) and when not to (invitations the account sent), routing the agent to withdraw_invitation by name.

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