Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

suggest_automation_settings

Read-onlyIdempotent

AI-powered tool that analyzes a LinkedIn post and generates suggested automation settings — name, trigger keyword, DM template, comment replies, and non-connected replies. Returns suggestions only; nothing is created. Use this before create_automation or schedule_post_with_automation to get AI-recommended settings based on the post content. For a COMPANY PAGE post, set for_company: true — you get reply-only suggestions suitable for manage_company_reply_automations (no DM template; pages cannot DM).

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_text": "<post_text>"
    },
    "name": "suggest_automation_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
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_urlNoLinkedIn post URL (optional, provides additional context)
post_textYesThe LinkedIn post content to analyze. This is the primary input for AI analysis.
for_companyNoSet true when the post belongs to a Company Page. Suggestions become reply-only (for manage_company_reply_automations): no DM template, no non-connected replies, and no @mention tokens — pages reply in plain text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/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 reinforces it and adds the non-obvious behavioral rule that company pages receive reply-only output with no DM template and no @mention tokens. It stops short of covering cost, latency, or what happens with malformed post_text, which keeps it below 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?

Front-loaded with the core action, then the no-side-effects guarantee, then the routing guidance — no filler sentences. Slight redundancy in restating the company-page exclusion twice (once in the body, once implicitly via the schema's for_company description) costs it the top score.

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 present, the description carries the burden of describing returns and does so by enumerating the suggested fields, plus it documents the shared output-shape variant for company pages. An agent has enough to call it correctly and interpret the result.

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 100%, so the baseline is 3, but the description adds meaning beyond the schema by tying for_company=true to a concrete downstream consequence and consumer tool. It adds no extra detail for post_text or post_url beyond what the schema already says.

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 ('analyzes a LinkedIn post and generates suggested automation settings') and enumerates the produced artifacts (name, trigger keyword, DM template, comment replies, non-connected replies). It also explicitly declares 'Returns suggestions only; nothing is created', which separates it from the create_automation sibling.

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 explicit sequencing guidance ('Use this before create_automation or schedule_post_with_automation') and names the downstream tool for the company-page case (manage_company_reply_automations). Both the when and the alternative branch are stated, not inferred.

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