Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

comment_as_company

Destructive

Apex only. Post a comment on a LinkedIn post in one of your Company Pages' voice (instead of your personal profile). Useful for amplifying a post as the brand. You must administer the target Company Page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "post_id": "<post_id>",
      "text": "<text>",
      "organization_id": "<organization_id>"
    },
    "name": "comment_as_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe comment text to post from the Company Page.
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.
post_idYesThe LinkedIn post to comment on. Accepts a post URN (urn:li:activity:…), a bare numeric post id, or a LinkedIn post URL.
organization_idYesNumeric LinkedIn organization id of the Company Page to comment as (e.g. "105473950"). Must be a page you administer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety bar is lower. The description adds genuinely non-structured context: the APEX plan requirement and the administrator-of-page authorization constraint. It stops short of explaining that a comment is publicly visible and that repeat calls create duplicate comments, which the non-idempotent/destructive flags imply.

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?

Three short sentences, front-loaded with the plan gate and the core action, then the use case, then the prerequisite. No filler or redundant restatement of the tool name.

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 4-parameter mutation tool with rich annotations and full schema coverage, the description covers plan gating, page-admin authorization, and the brand-voice intent. Minor gaps remain around public visibility of the resulting comment and duplicate-post behavior on retry, but 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%, with each of post_id, text, organization_id, and act_as fully documented in the schema itself. The description only indirectly reinforces organization_id via "a page you administer"; it adds no syntax, format, or constraint detail beyond the schema. Baseline 3 applies.

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 ("Post a comment on a LinkedIn post") plus the key distinguishing scope: it is posted in a Company Page's voice rather than the user's personal profile. That contrast with the personal-profile sibling (comment_on_post) lets an agent select correctly without opening schemas.

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 a concrete use case ("amplifying a post as the brand") and a hard prerequisite ("You must administer the target Company Page"), plus the "Apex only" gating in the first sentence. It does not explicitly name the alternative tool for personal-profile commenting, but the personal-vs-company split is stated clearly enough to route.

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