Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

manage_drafts

Pro+ (any paid plan). The account's post board: post ideas and drafts in columns draft → needs_approval → approved → scheduled → posted (failed if publishing failed). Use it as a Kanban for post ideas, or for an approval flow on accounts someone manages. 'list' (newest first; filter by column), 'get' one card with its activity history, 'create' a card (content, optional title, kind 'post' or 'lead_magnet' with an automation {template_id, keywords, resource_link}, optional planned_for), 'edit' its fields and/or move it with column (draft, needs_approval, approved), 'schedule' it (scheduled_for, or the next free 15-minute slot), 'unschedule' a still-waiting post back to approved, or 'delete' a card that isn't scheduled. Roles: the account owner does everything and, on an account nobody manages, can schedule straight from draft. On a managed account the manager and the co-admins they mark as approvers approve and schedule; other co-admins draft and submit, and their edit on an approved card sends it back to needs_approval. Scheduling uses the same pipeline as schedule_post_with_automation (plan, LinkedIn connection, automation template) and never creates a second post for the same card. Scheduled and posted cards are read-only here: change them with edit_scheduled_post. Files are added in the dashboard.

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

Input Schema

NameRequiredDescriptionDefault
kindNocreate / edit: 'post' (default) or 'lead_magnet' (gets a comment-to-DM automation when it's scheduled).
limitNolist: cards to return (1-200, default 50).
titleNocreate / edit: a short name for the card (up to 120 characters), e.g. "Nov: case study #1".
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.
actionNo'list' (default), 'get', 'create', 'edit', 'schedule', 'unschedule' or 'delete'.
columnNolist: only cards in this column. edit: move the card to draft, needs_approval or approved (use 'schedule' to schedule).
contentNocreate / edit: the post text (up to 3000 characters).
draft_idNoget / edit / schedule / unschedule / delete (required): the card id, from list or create.
timezoneNoIANA timezone for planned_for / scheduled_for without an offset (else your Settings timezone, else UTC).
automationNocreate / edit: for a lead_magnet card, the automation it gets when scheduled. null removes it.
planned_forNocreate / edit: when you plan to post it, ISO 8601 (a plan only; nothing is scheduled). null clears it.
scheduled_forNoschedule: the publish time, ISO 8601. Omit to take the next free 15-minute slot (from the card's planned time, if it has one).
next_free_slotNoschedule: true (default when scheduled_for is omitted) takes the next free slot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the generic non-read-only profile; the description supplies the real behavior: role matrix (owner vs manager vs approver co-admins vs other co-admins, including that a co-admin edit on an approved card bounces it back to needs_approval), the state machine, the guarantee that scheduling never creates a duplicate post for the same card, and the permission-gated act_as behavior. Only minor tension: a 'delete' action exists alongside destructiveHint=false, but the description scopes it to cards that aren't scheduled.

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?

It is front-loaded with plan gating and the board model, then walks operations in a logical order with no filler sentences. It is dense and long for a single paragraph, and the role rules take several re-reads, but nothing is clearly extraneous.

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?

For a 13-parameter, nested-object tool with no output schema, the description covers the state model, per-action parameter mapping, role/permission rules, plan gating, and pointers to the right sibling tools for out-of-scope changes. An agent has what it needs to choose an action and a column without guessing.

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 schema already documents each field, but the description adds cross-parameter meaning: which parameters belong to which action, that 'column' on edit only accepts draft/needs_approval/approved while scheduling is a separate action, and that schedule falls back to the card's planned time when scheduled_for is omitted. That is more than the schema alone states.

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 names the resource ("the account's post board") and enumerates every operation with concrete semantics: list, get with activity history, create, edit, schedule, unschedule, delete. It also gives the domain model (draft → needs_approval → approved → scheduled → posted) and a concrete analogy ("Kanban for post ideas"), so an agent knows exactly what the tool is without opening the schema.

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 states when to use it (Kanban for post ideas, approval flow on managed accounts) and when not to: scheduled/posted cards are read-only here and must go through edit_scheduled_post, and scheduling shares the pipeline of schedule_post_with_automation. It also tells the agent that files cannot be handled here and are added in the dashboard, heading off a wrong call.

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