Skip to main content
Glama
SocialMCP

SocialMCP

by SciTechDude

list_pending_invitations

List pending LinkedIn invitations grouped by who must act—sent invites waiting on others and received invites waiting on you—excluding lapsed invites; filter by direction, age, or limit.

Instructions

List outstanding invitations in both directions, grouped by who must act.

Two different to-do lists, and conflating them is misleading: an invitation the user sent is waiting on the other person and cannot be progressed from this side, while an invitation the user received is waiting on the user and can be cleared today.

Lapsed invitations are excluded — they disappeared from a later export without connecting, so there is nothing left to wait for.

Args: direction: 'all' (default), 'sent' (waiting on them), or 'received' (waiting on you). min_days_waiting: Only include invitations older than this many days. limit: Max rows per group.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_pending_invitations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
directionNoall
min_days_waitingNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose meaningful traits: results are grouped by who must act, lapsed/non-connected invitations are excluded entirely, and sent invitations cannot be progressed from this side. It also notices the limit applies per group rather than overall. It does not describe ordering or what a group looks like, though the presence of an output schema lowers that need.

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-loaded with the core purpose and grouping rule before the explanatory paragraph, then cleanly structured Args. The two-list rationale is long relative to the rest and includes a slightly redundant clause ("so there is nothing left to wait for"), but every part conveys real semantics rather than 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?

For a three-optional-parameter read tool with an output schema and no annotations, this covers purpose, filtering/exclusion behavior, per-group limiting, and direction semantics. The remaining gap is ordering and how groups are keyed in the response, which the output schema presumably addresses.

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 description coverage is 0%, so the Args section must compensate, and it does: all three parameters are explained, including the three accepted direction values (the schema's direction field is a bare string with no enum) and the non-obvious fact that limit is "max rows per group" rather than total. min_days_waiting is glossed as "older than this many days," which is adequate but leaves the boundary inclusive/exclusive ambiguous.

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 ("List outstanding invitations") plus the scoping rule ("in both directions, grouped by who must act"). The sent-vs-received distinction immediately frames what kind of result set comes back, so an agent knows exactly what this tool returns 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 Guidelines4/5

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

Explains the semantics of each direction value ('sent' = waiting on them, 'received' = waiting on you) and warns against conflating the two lists, which is the key selection decision for this tool. It also states the exclusion rule for lapsed invitations, so the agent knows when results will be missing. It lacks an explicit when-not-to-use or alternative-tool pointer, but the sibling list contains no comparable tool.

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