Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

get_page_leads

Read-onlyIdempotent

Pro+. Pull the captured email leads for one LeadShark Page — the people who submitted their email through it (via the email gate or a quiz). Each lead comes back deduped and enriched: email, name, phone, country, engagement_score, the resolved LinkedIn profile (lead.linkedin_url / commenter_id) when known, capture source, originating lead-magnet link (link.id / link.slug / link.url) when known, and created_at. This is the bridge from a lead magnet to outreach — feed a lead's linkedin_url / commenter_id into enrich (DECIDE) and comment_on_post / send_connection_request / send_message (ACT). Get page_id from list_lead_pages.

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": {
      "page_id": "<page_id>"
    },
    "name": "get_page_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional cap on how many leads to return (1-1000). Omit to return all, newest first.
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.
page_idYesThe Page whose captured leads to pull (the id from list_lead_pages).

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 readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds behavior not in annotations: a 'Pro+' plan gate, deduplication and enrichment of results, and the exact returned fields including conditional ones ('when known'). It does not discuss pagination beyond the limit parameter or volume/rate characteristics.

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 verb, resource, and plan gate, then the return shape, then the workflow routing — a sensible order with no filler sentences. The long field enumeration (email, name, phone, country, engagement_score, linkedin_url/commenter_id, link.id/slug/url) is dense but earns its place given there is no output schema.

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?

With no output schema, the description compensates by enumerating the returned fields and flagging which are conditional. Combined with the plan gate, page_id provenance, and downstream tool routing, an agent has nearly everything needed; only result-volume/pagination behavior and empty-result handling are unaddressed.

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% and all three parameters are documented in-schema, so the baseline is 3. The description only reinforces page_id provenance and the existence of 'limit' implicitly; it adds no syntax, format, or edge-case meaning beyond the schema.

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 — 'Pull the captured email leads for one LeadShark Page' — and immediately defines the resource ('people who submitted their email through it (via the email gate or a quiz)'). This separates it from engagement- or activity-oriented siblings like list_post_engagers and get_lead_activity without ambiguity.

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 the prerequisite explicitly ('Get page_id from list_lead_pages') and routes forward into the DECIDE/ACT tools (enrich, comment_on_post, send_connection_request, send_message), which is strong next-step guidance. It stops short of naming when NOT to use it versus other lead/person data tools, so it falls one step below fully explicit exclusion guidance.

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