Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

manage_lead_pages

Pro+. Create, edit, and publish LeadShark Pages (lead-magnet / quiz pages) so an agent can spin up a guide's capture page and take it live without opening the app. 'create' makes a new draft (or published) Page from a title, with an optional email gate (require_email + gate_message / gate_button_text). 'publish' takes an existing draft live (subject to your plan's published-page limit). 'edit' updates the title, on-page copy (page_title / page_description), the optional opt-in hero (hero_eyebrow / hero_headline / hero_qualifier / hero_subheadline / hero image / hero_body / hero_layout), the content sections under the form (page_sections: a "what you get" checklist, proof numbers, image, testimonial, a second button, small print — for long-form pages), status, or gate settings of an existing page_id. page_sections replaces the whole list when sent; read the current list from list_lead_pages first. Page creation does NOT mint a leads.sh link: after a Page is published, call manage_lead_magnet_links (action:create, page_id) to mint its capture link, then attach that link to a post automation. Use list_lead_pages to read pages and get a page_id.

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

Input Schema

NameRequiredDescriptionDefault
titleNocreate (required) / edit: internal Page title (how it shows in list_lead_pages).
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'create' a new Page (default), 'edit' an existing one, or 'publish' a draft.
statusNocreate/edit: 'draft' (default on create) or 'published'. Publishing counts against your plan's published-page limit.
page_idNoedit / publish (required): the Page id from list_lead_pages.
hero_bodyNocreate/edit: optional proof/body text shown below the offer image (max 600 chars, line breaks kept). Supports **bold** and *italic*.
page_titleNocreate/edit: the headline shown on the public page (default "Access Your Content").
hero_layoutNocreate/edit: 'centered' (default, stacked: one column, headline, image, body, then the form) or 'side' (side by side: text and image on the left, the form on the right on desktop; phones stack it).
gate_messageNocreate/edit: the message shown on the email-capture gate.
hero_eyebrowNocreate/edit: optional small line above the headline, shown in your accent color (max 80 chars), e.g. the product name. Send "" to clear.
hero_headlineNocreate/edit: optional sales-style headline for the opt-in page (max 120 chars, plain text). Empty falls back to page_title. Send "" to clear.
name_requiredNocreate/edit: when asking for name, make it mandatory (default true). Set false to leave the name field optional.
page_sectionsNocreate/edit: content blocks shown under the form, in order (max 8). Sent as a whole list that replaces the current one ([] removes all). Each block has a type and its fields: {type:'benefits', title (max 120), items: string[] (max 8, 160 chars each)} a checklist of what's inside; {type:'proof', items: [{value (max 24, e.g. '$205M+'), label (max 80)}] (max 3)} big numbers; {type:'image', url, alt} (url must be an image already uploaded in the LeadShark Pages editor, other URLs are dropped); {type:'testimonial', quote (max 400), name (max 60), role (max 80)}; {type:'cta', text (max 40)} a second button that takes people back to the form; {type:'fineprint', text (max 600)} small print. **bold** and *italic* work in benefits title/items and the quote. Unknown types are dropped. LS-452: {type:'testimonial', ..., stars: 1-5} adds stars, and testimonials next to each other show two per row; {type:'fit', title (max 120), body (max 400), yesTitle, yes: string[], noTitle, no: string[] (max 6 each)} a Who it's for block (Use it if / Skip it if); {type:'topbar', text (max 120, one per page)} one line across the very top of the page; {type:'footer', text (max 160, e.g. '© 2026 Acme. All rights reserved.'), links: [{label (max 40), url (web or mailto address)}] (max 5, e.g. Privacy, Terms)} a row of links and a copyright line at the very bottom of the page (one per page). In any text, ==words== show in the page's accent color (and **bold** / *italic*).
require_emailNocreate/edit: gate the content behind an email capture (default false).
requires_nameNocreate/edit: also ask for the visitor’s name on the gate (default false). Shown name is mandatory unless name_required is false.
hero_image_altNocreate/edit: alt text describing the offer image (max 150 chars). Defaults to the headline.
hero_image_urlNocreate/edit: offer image shown beside the form (image left, form right on desktop). Must be an image already uploaded in the LeadShark Pages editor; other URLs are ignored. null removes it.
hero_qualifierNocreate/edit: optional italic line under the headline (max 120 chars), e.g. "(Even If You Have A Small Social Media Following)". **bold** allowed.
phone_requiredNocreate/edit: when asking for phone, make it mandatory (default false, so the field stays optional).
requires_phoneNocreate/edit: also ask for the visitor’s phone on the gate (default false). Shown phone is optional unless phone_required is true.
hero_form_stepsNocreate/edit: how the form shows its fields. 'all' (default) on one screen; 'one' one field per screen (name, phone, then email last; the lead is saved at the email step). Only matters when name or phone is asked. Not a quiz: nothing is scored.
gate_button_textNocreate/edit: the call-to-action button label on the gate.
gate_hide_labelsNocreate/edit: hide the Name / Email / Phone field labels on the gate so only placeholders show (labels stay for screen readers). Default false.
hero_subheadlineNocreate/edit: optional supporting line under the headline (max 300 chars). Supports **bold** and *italic*. Empty falls back to page_description only when hero_headline is empty too.
page_descriptionNocreate/edit: the subtext under the headline (default "Get your free resource").
gate_button_subtextNocreate/edit: optional one-line text under the gate button, e.g. "Over 2,000 downloads" (max 80 chars, plain text). Send "" to clear.
hero_image_decorativeNocreate/edit: mark the offer image decorative so screen readers skip it (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / page_sections / description
      Previous value: -"create/edit: content blocks shown under the form, in order (max 8). Sent as a whole list that replaces the current one ([] removes all). Each block has a type and its fields: {type:'benefits', title (max 120), items: string[] (max 8, 160 chars each)} a checklist of what's inside; {type:'proof', items: [{value (max 24, e.g. '$205M+'), label (max 80)}] (max 3)} big numbers; {type:'image', url, alt} (url must be an image already uploaded in the LeadShark Pages editor, other URLs are dropped); {type:'testimonial', quote (max 400), name (max 60), role (max 80)}; {type:'cta', text (max 40)} a second button that takes people back to the form; {type:'fineprint', text (max 600)} small print. **bold** and *italic* work in benefits title/items and the quote. Unknown types are dropped. LS-452: {type:'testimonial', ..., stars: 1-5} adds stars, and testimonials next to each other show two per row; {type:'fit', title (max 120), body (max 400), yesTitle, yes: string[], noTitle, no: string[] (max 6 each)} a Who it's for block (Use it if / Skip it if); {type:'topbar', text (max 120, one per page)} one line across the very top of the page. In any text, ==words== show in the page's accent color (and **bold** / *italic*)."New value: +"create/edit: content blocks shown under the form, in order (max 8). Sent as a whole list that replaces the current one ([] removes all). Each block has a type and its fields: {type:'benefits', title (max 120), items: string[] (max 8, 160 chars each)} a checklist of what's inside; {type:'proof', items: [{value (max 24, e.g. '$205M+'), label (max 80)}] (max 3)} big numbers; {type:'image', url, alt} (url must be an image already uploaded in the LeadShark Pages editor, other URLs are dropped); {type:'testimonial', quote (max 400), name (max 60), role (max 80)}; {type:'cta', text (max 40)} a second button that takes people back to the form; {type:'fineprint', text (max 600)} small print. **bold** and *italic* work in benefits title/items and the quote. Unknown types are dropped. LS-452: {type:'testimonial', ..., stars: 1-5} adds stars, and testimonials next to each other show two per row; {type:'fit', title (max 120), body (max 400), yesTitle, yes: string[], noTitle, no: string[] (max 6 each)} a Who it's for block (Use it if / Skip it if); {type:'topbar', text (max 120, one per page)} one line across the very top of the page; {type:'footer', text (max 160, e.g. '© 2026 Acme. All rights reserved.'), links: [{label (max 40), url (web or mailto address)}] (max 5, e.g. Privacy, Terms)} a row of links and a copyright line at the very bottom of the page (one per page). In any text, ==words== show in the page's accent color (and **bold** / *italic*)."
    • addedInput schema / properties / page_sections / items / properties / links
      Added value: +{
      +  "description": "footer: up to 5 links, each {label (max 40), url (web or mailto address)}",
      +  "items": {
      +    "properties": {
      +      "label": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / page_sections / items / properties / type / enum
      Previous value: -[
      -  "benefits",
      -  "proof",
      -  "image",
      -  "testimonial",
      -  "cta",
      -  "fineprint",
      -  "topbar",
      -  "fit"
      -]New value: +[
      +  "benefits",
      +  "proof",
      +  "image",
      +  "testimonial",
      +  "cta",
      +  "fineprint",
      +  "topbar",
      +  "fit",
      +  "footer"
      +]
  2. Changed10 schema fields changed
    • addedInput schema / properties / hero_form_steps
      Added value: +{
      +  "description": "create/edit: how the form shows its fields. 'all' (default) on one screen; 'one' one field per screen (name, phone, then email last; the lead is saved at the email step). Only matters when name or phone is asked. Not a quiz: nothing is scored.",
      +  "enum": [
      +    "all",
      +    "one"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / hero_layout / description
      Previous value: -"create/edit: with an offer image, 'centered' (default: one column, headline, image, body, form) or 'side' (image left, form right on desktop)."New value: +"create/edit: 'centered' (default, stacked: one column, headline, image, body, then the form) or 'side' (side by side: text and image on the left, the form on the right on desktop; phones stack it)."
    • changedInput schema / properties / page_sections / description
      Previous value: -"create/edit: content blocks shown under the form, in order (max 8). Sent as a whole list that replaces the current one ([] removes all). Each block has a type and its fields: {type:'benefits', title (max 120), items: string[] (max 8, 160 chars each)} a checklist of what's inside; {type:'proof', items: [{value (max 24, e.g. '$205M+'), label (max 80)}] (max 3)} big numbers; {type:'image', url, alt} (url must be an image already uploaded in the LeadShark Pages editor, other URLs are dropped); {type:'testimonial', quote (max 400), name (max 60), role (max 80)}; {type:'cta', text (max 40)} a second button that takes people back to the form; {type:'fineprint', text (max 600)} small print. **bold** and *italic* work in benefits title/items and the quote. Unknown types are dropped."New value: +"create/edit: content blocks shown under the form, in order (max 8). Sent as a whole list that replaces the current one ([] removes all). Each block has a type and its fields: {type:'benefits', title (max 120), items: string[] (max 8, 160 chars each)} a checklist of what's inside; {type:'proof', items: [{value (max 24, e.g. '$205M+'), label (max 80)}] (max 3)} big numbers; {type:'image', url, alt} (url must be an image already uploaded in the LeadShark Pages editor, other URLs are dropped); {type:'testimonial', quote (max 400), name (max 60), role (max 80)}; {type:'cta', text (max 40)} a second button that takes people back to the form; {type:'fineprint', text (max 600)} small print. **bold** and *italic* work in benefits title/items and the quote. Unknown types are dropped. LS-452: {type:'testimonial', ..., stars: 1-5} adds stars, and testimonials next to each other show two per row; {type:'fit', title (max 120), body (max 400), yesTitle, yes: string[], noTitle, no: string[] (max 6 each)} a Who it's for block (Use it if / Skip it if); {type:'topbar', text (max 120, one per page)} one line across the very top of the page. In any text, ==words== show in the page's accent color (and **bold** / *italic*)."
    • addedInput schema / properties / page_sections / items / properties / body
      Added value: +{
      +  "description": "fit: short text under the title (optional, max 400)",
      +  "type": "string"
      +}
    • addedInput schema / properties / page_sections / items / properties / no
      Added value: +{
      +  "description": "fit: who should skip it (max 6, 160 chars each)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / page_sections / items / properties / noTitle
      Added value: +{
      +  "description": "fit: heading of the no list (max 40, default 'Skip it if')",
      +  "type": "string"
      +}
    • addedInput schema / properties / page_sections / items / properties / stars
      Added value: +{
      +  "description": "testimonial: 1-5 stars (optional)",
      +  "type": "number"
      +}
    • changedInput schema / properties / page_sections / items / properties / type / enum
      Previous value: -[
      -  "benefits",
      -  "proof",
      -  "image",
      -  "testimonial",
      -  "cta",
      -  "fineprint"
      -]New value: +[
      +  "benefits",
      +  "proof",
      +  "image",
      +  "testimonial",
      +  "cta",
      +  "fineprint",
      +  "topbar",
      +  "fit"
      +]
    • addedInput schema / properties / page_sections / items / properties / yes
      Added value: +{
      +  "description": "fit: who it is for (max 6, 160 chars each)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / page_sections / items / properties / yesTitle
      Added value: +{
      +  "description": "fit: heading of the yes list (max 40, default 'Use it if')",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover the safe-write profile (readOnly false, destructive false, idempotent false, openWorld false). The description adds non-obvious behavior: publishing counts against the plan's published-page limit, page_sections replaces the entire list rather than merging, image URLs not already in the Page editor are silently dropped, and unknown block types are dropped.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, action semantics, and the link workflow are correctly front-loaded, but roughly half the text re-enumerates field groups (hero_*, gate_*, page_sections internals) that the schema already documents at full coverage. That redundancy lengthens the definition without adding decision-relevant information.

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 27-parameter write tool with no output schema, the description covers the action model, the plan limit, the destructive replace semantics of page_sections, and the downstream handoff to manage_lead_magnet_links. It never states what a successful call returns (e.g. whether the new page_id comes back or must be re-read from list_lead_pages), which leaves a small gap before the publish/link steps.

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; the description earns an extra point for grouping the 27 fields into meaningful clusters (gate settings, hero opt-in block, page_sections content blocks) and for the sequencing rule the schema cannot express: read the current section list before sending a replacement. It still restates a fair amount of what individual field descriptions already say.

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?

Opens with a specific verb set plus resource ('Create, edit, and publish LeadShark Pages') and defines what a Page is (lead-magnet / quiz pages). It explicitly separates itself from the two siblings an agent could confuse it with: list_lead_pages for reading and manage_lead_magnet_links for minting the capture link.

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?

States when each action applies ('create' makes a new draft, 'publish' takes an existing draft live, 'edit' modifies an existing page_id) and gives the prerequisite for edit/publish ('read the current list from list_lead_pages first'). It also routes to the correct alternative for link creation and explicitly notes that page creation does not mint a leads.sh link.

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