Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

get_scheduled_post

Read-onlyIdempotent

Read back a single scheduled post by id, including the full, CURRENT spec of its attached pre-automation — keywords, every DM template, comment-reply and non-first-degree-reply templates, and settings — read from the live template (reflects edits), not a stale snapshot. Use this to verify exactly what will publish and fire before it goes live. Also returns reposts: each auto-repost (after_hours, status waiting/pending/running/done/failed/cancelled, run_at, reposted_at, error).

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>"
    },
    "name": "get_scheduled_post"
  }
}

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_idYesUUID of the scheduled post to read (from list_scheduled_posts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior: the automation spec is read live from the template and reflects edits rather than a stale snapshot, and it discloses the reposts sub-structure including the waiting/pending/running/done/failed/cancelled status values. It does not discuss permissions or rate limits, but those are handled by the act_as schema text.

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 freshness semantics are front-loaded in the first clause, and the second sentence covers the reposts return value. The middle enumeration of template types is somewhat heavy but earns its place by telling the agent what will fire. No filler sentences.

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?

There is no output schema, so the description must carry return-value meaning, and it does: it names the pre-automation components and details the reposts objects with fields like run_at, reposted_at and error. For a two-parameter read tool this is close to sufficient; only a note on what happens if the post id is unknown or the post has no automation 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%, including a detailed act_as explanation and a post_id description pointing at list_scheduled_posts, so the schema already carries parameter meaning. The description only reinforces that lookup is by id ('by id', 'from list_scheduled_posts' indirectly), adding little beyond the structured fields. 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 ('Read back a single scheduled post by id') and scopes it as singular lookup, which implicitly separates it from list_scheduled_posts. It also enumerates exactly what is returned (pre-automation keywords, DM templates, comment-reply templates, settings), so an agent knows the payload's shape without opening a schema.

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 clear decision context: 'Use this to verify exactly what will publish and fire before it goes live.' That tells the agent when this tool is the right one. It stops short of naming an alternative or stating when not to use it (e.g., listing many posts vs reading one), so it is clear but not fully routing.

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