Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

get_playbook

Read-onlyIdempotent

Get one Loadout's full playbook (always the current version) so you can run it now, e.g. when the user says "run Rainmaker". Pass its slug, title or id from list_playbooks. The playbook lists its 'Before you run' questions, the tools each step uses, and an approval gate before any write. Loading runs nothing by itself; every step goes through the normal tools with their limits and approvals. A Loadout this account's plan can't run (Apex ones without Apex or an Apex trial) is refused with loadout_needs_apex. Read-only.

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": {
      "slug": "<slug>"
    },
    "name": "get_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe Loadout's slug, title or id from list_playbooks, e.g. 'rainmaker'.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description adds genuinely new behavior: plan gating with a named error code (loadout_needs_apex), the guarantee that this call performs no writes or execution, and the fact that a playbook carries an approval gate before any write. That is the exact context an agent needs to avoid treating this as an execution tool.

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 version guarantee are front-loaded, followed by trigger example, precondition, execution semantics, and failure mode in a logical order. Slightly dense and a touch longer than needed, but nearly every clause carries information the agent cannot get from the schema or annotations.

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, the description compensates by summarizing what the returned playbook contains ('Before you run' questions, tools per step, an approval gate). It also covers the plan-restriction failure path, so an agent knows both what it gets and how it can fail.

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 coverage is 100% and both parameters are fully documented there, so the baseline is 3. The description reinforces where slug comes from and gives the same example the schema does, but says nothing about act_as, adding no meaning beyond the structured field.

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 (get one Loadout's full playbook), pins the version semantics ('always the current version'), and separates it from list_playbooks by naming the slug source. An agent can distinguish it from the sibling list tool without opening either 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?

Gives an explicit trigger ('when the user says "run Rainmaker"') and a clear precondition (get the slug, title or id from list_playbooks first). It also forecloses a common misread by stating that loading runs nothing by itself and that every step goes through the normal tools with their limits and approvals.

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