Skip to main content
Glama

List connection invitations

list_invitations
Read-onlyIdempotent

Retrieve pending LinkedIn connection invitations, filtered by received or sent direction, to review and act on new requests using their IDs.

Instructions

Pending connection invitations you've received or sent. Each received invitation has an id for respond_to_invitation.

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_invitations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
directionNoreceived

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value by clarifying that results are limited to *pending* invitations and that only received items carry actionable ids. It says nothing about ordering, pagination behavior beyond the schema default, or whether 'sent' items ever carry ids.

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?

Two sentences, no filler, with the resource scope front-loaded and the actionable follow-up second. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with no output schema, the description covers scope and the one downstream action, which is close to sufficient. It falls short on pagination/result-size expectations and on the undocumented limit parameter, which an agent calling this tool will likely need.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, but it never mentions the 'limit' parameter at all and only hints at 'direction' through the phrase 'received or sent'. An agent still has to open the schema to learn the default of 20, the 50 cap, and that direction defaults to received.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the resource precisely ('Pending connection invitations') and scopes it to those 'you've received or sent', which distinguishes it from a general notifications listing. It also points to the follow-up tool (respond_to_invitation) that consumes the returned ids. The listing verb itself is only implied by the name, not stated in the description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The second sentence gives a concrete workflow cue: use the id from a received invitation with respond_to_invitation. There is no explicit statement of when to prefer this over other read tools such as get_notifications, and no note on what to do when the list is empty or when to switch direction.

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