Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

manage_activity_limits

Idempotent

Apex only. Your activity-limit dashboard and the safety contract to check BEFORE acting. action "get" (read-only) returns every channel — DMs, connected & non-connected comment replies, daily & weekly connection requests, and your InMail credit balance — with its limit, how much is used, how much remains, and a can_act flag, plus any active cooldown and the seconds until the next action is paced in. These caps are SHARED with your automations and are set by the account owner. The inmail channel is read-only (those are paid LinkedIn credits from your plan, not a cap we set). action "pause" sets a channel to 0 (emergency brake). action "update" changes a cap: LOWERING a cap takes effect immediately; RAISING a cap requires admin authority and is staged for the owner to approve — an agent can never widen its own budget on its own. Always prefer "get" to decide if you may act, rather than discovering a limit by hitting it.

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": "manage_activity_limits"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNew cap for "update" (>= 0). Lowering applies now; raising is staged for the owner’s approval.
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.
actionNoget = read limits + usage + can_act (default); pause = set a channel to 0; update = set a channel to a new limit.
channelNoWhich channel to change. Required for "update" and "pause".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The annotations only declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true; the description adds substantial behavior beyond them — caps are SHARED with automations and set by the account owner, lowering vs. raising are asymmetric (immediate vs. staged approval), the inmail channel is read-only paid credits, and 'pause' is an emergency brake setting a channel to 0. No contradiction with annotations: mutation is disclosed (readOnlyHint=false) and nothing is destroyed, so destructiveHint=false is consistent.

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?

Purpose and the key pre-action directive are front-loaded, and most sentences earn their place. The long sentence enumerating every channel returned by 'get' is dense and slightly bloated for what it conveys, which keeps it short of a 5.

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?

With no output schema, the description carries the burden of describing the return payload, and it does: limit, used, remaining, can_act, active cooldown, seconds until next pacing. Error/refusal semantics for act_as and permission_missing live in the schema, so the combination is nearly complete; only edge cases such as behavior on pause for already-blocked channels are unstated.

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 already 100%, so the baseline is 3, but the description adds real meaning: it explains that 'channel' excludes inmail because those are paid credits rather than a settable cap, and it reinforces the limit semantics (lower now, raise staged). It does not elaborate on act_as, but the schema documents that parameter thoroughly.

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?

The description states a specific resource (per-channel activity limits) and enumerates the three concrete operations (get/pause/update) with their effects. It clearly separates itself from siblings like get_lead_activity or get_person_activity by being the budget/safety-contract tool rather than an activity log, and 'Apex only' marks its scope.

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?

It gives an explicit directive: 'Always prefer "get" to decide if you may act, rather than discovering a limit by hitting it,' naming the alternative behavior to avoid. It also states the escalation rule for raising caps (requires admin authority, staged for owner approval) and that an agent can never widen its own budget, which is exactly the when/when-not guidance an agent needs.

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