Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

list_actions

Read-onlyIdempotent

Apex only. Your own action memory — the audit trail of governed writes (comment_on_post, react_to_post, send_connection_request, manage_invitations, and Company-Page actions) this account has run via MCP or REST, newest first. Use it to recall what you already did before acting again: dedupe ("did I already comment on / connect with this person?"), read why something was refused (result + refusal_code), see what is staged awaiting approval (status:'pending'), and check your current safety mode (active_mode is returned alongside the items). Scoped to your own account only — never anyone else’s. Read-only. Paginate with cursor (pass the created_at of the last item to get older actions).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items to return (1-200, default 50).
act_asNoAPEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own.
cursorNoPagination token: pass the created_at (ISO 8601) of the last item from the previous page to get older actions.
resultNoFilter by outcome: ok (executed), queued (staged for approval), refused (blocked by your safety mode/scope), error (failed). Omit for all.
statusNoSet to 'pending' to return actions currently staged for your approval (queue mode) instead of the executed-action log.

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 readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered; the description adds account scoping, newest-first ordering, the presence of refusal_code and active_mode in the response, and the 'anything else is refused with a reason, never silently redirected' guarantee. It does not describe result volume or how far back history is retained, which keeps it off a 5.

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?

Scope and identity are front-loaded in the first clause, and each sentence carries a distinct use case. The pagination instruction duplicates the cursor schema description almost verbatim, and the parenthetical catalog of action types is longer than needed, but there is no filler.

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 compensates by naming the fields an agent will see (result, refusal_code, status, active_mode) and by explaining ordering and cursor semantics. For a read-only, zero-required-parameter list tool with fully documented params, nothing an agent needs to call it correctly is missing.

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 all five parameters including the enum filters are already documented; the description mostly restates them (cursor-as-created_at, status:'pending'). The one genuinely additive point is that 'pending' returns the approval queue instead of the executed log, which is a meaningful distinction, but that meaning is largely already in the schema text.

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 — an audit trail of governed writes (comment_on_post, react_to_post, send_connection_request, manage_invitations, Company-Page actions) run via MCP or REST, newest first. The 'Apex only' scope and 'your own account only' qualifier separate it cleanly from the list_* siblings, which enumerate other objects rather than the caller's own executed writes.

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 four concrete when-to-use triggers: dedupe before acting again, diagnose a refusal via result + refusal_code, inspect staged items with status:'pending', and check active_mode. It also names the exclusion (never anyone else's account), leaving nothing 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.

Resources