Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

manage_company_reply_automations

Destructive

Apex only. Reply-only automations for Company Page posts: the page auto-replies to comments on its own post (there is no comment-to-DM flow for pages). action 'list' shows your automations plus today's usage vs. the daily reply cap; 'create' needs organization_id (from list_companies), post_id (from list_recent_posts with that organization_id), and at least one reply template — optional name labels the automation in the dashboard; keywords optionally filter which comments trigger a reply (omit to reply to all); 'pause' / 'resume' / 'edit' / 'delete' act on an automation_id. Automations on posts older than 7 days pause automatically; 'resume' keeps one running (that older post is then checked every 6 hours). Up to 25 new automations per day per account (resets 00:00 UTC; over the limit 'create' returns code company_automation_daily_limit).

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

Input Schema

NameRequiredDescriptionDefault
nameNoOptional label for this automation (max 100 chars). Shown on the Company Page Automations page in the dashboard.
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.
actionNoWhat to do. Defaults to 'list'.
post_idNoCreate only. The Company Page post to watch. Accepts a post URN (urn:li:activity:…), a bare numeric id, or a LinkedIn post URL.
keywordsNoOptional trigger keywords — only comments containing one get a reply. Omit or empty = reply to all comments.
post_urlNoOptional (create). Share URL of the post, stored for the dashboard view.
automation_idNoThe automation to manage (from action:'list'). Required for pause / resume / edit / delete.
organization_idNoCreate only. Numeric id of a Company Page you administer (from list_companies).
reply_templatesNoReply texts the page rotates through (create: required, edit: optional). Use {{fullNameMention}} (preferred @mention; falls back to plain full name) or {{firstNameMention}}, plus {{firstName}} / {{name}} for plain text only. Do not promise DMs — pages cannot send them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the destructive/openWorld/idempotent annotations, it discloses the daily reply cap, the 25-new-automations-per-day limit with reset time, the company_automation_daily_limit error code, and the 7-day auto-pause with 6-hourly re-checks after resume. These are precisely the behavioral facts an agent cannot get from structured fields.

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-loads scope and the reply-only distinction, then walks actions in a logical order; nearly every clause carries operational detail. The single semicolon-chained paragraph makes it dense, and the template-variable guidance for reply_templates duplicates the schema entry.

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 9-parameter mutating tool with no output schema, it covers actions, prerequisites, caps, error codes, and lifecycle behavior thoroughly. What is thin is the return shape of 'list' beyond 'your automations plus today's usage', and permissioning beyond 'Apex only'.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning by binding parameters to actions ('pause/resume/edit/delete act on an automation_id', 'create needs ... at least one reply template') and explaining that omitting keywords means replying to all. It reinforces rather than merely restates the schema.

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?

States a specific verb set and resource ('Reply-only automations for Company Page posts') and scopes it tightly with 'Apex only' plus the clarifying 'there is no comment-to-DM flow for pages'. It never distinguishes itself from similarly named siblings like list_automations or create_automation, leaving the agent to infer whether this tool supersedes them.

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?

Gives per-action guidance for all six actions, including the prerequisite sources for create ('organization_id (from list_companies)', 'post_id (from list_recent_posts with that organization_id)') and the conditions for keywords. It lacks an explicit statement of when to use a different tool instead, so it falls short of the top band.

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