Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APIFY_TOKENYesApify API token (console.apify.com/settings/integrations). Runs are billed to your Apify account.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

leadgraph finds local businesses and turns them into qualified leads, in three steps, each one actor run on the user's Apify account (pay per result):

  1. find_businesses (Google Maps search; or import_businesses from a placegraph job or your own rows)

  2. check_presence: each business's website (business emails, phones, the people it names) and its Instagram, Facebook, TikTok and YouTube accounts: are they the business's own, and when did they last post?

  3. find_decision_makers: the people who run each business on LinkedIn, each with a tier (verified / probable / possible) and the evidence.

Every step shows its cost estimate first and refuses to start above max_cost_usd. Steps take minutes: they return a job_id; call job_status(job_id) until it is SUCCEEDED; its result names the next step with its estimate. Pass the latest job_id to the next step.

Free once a step finished: lead_sheet (the joined, scored list, filter and sort by focus: social_agency, web_agency, b2b_sales, reputation), lead_profile (one business, every field and its evidence), export_leads (CSV for a CRM, JSON, Cypher for Neo4j).

Emails are the business's own inboxes (info@, office@...) unless personal_emails is turned on. Use the data lawfully (GDPR, CAN-SPAM, PECR) when contacting people.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
estimate_pipelineA

Upper-bound cost of each step for N businesses, before spending anything. Free.

find_businessesA

Search Google Maps for a kind of business in an area: name, category, address, phone, website, rating. Optional grid search past Google's ~120 results per search. Starts an actor run; returns a job_id.

import_businessesA

Start from your own list (CRM rows: name, website, phone, address or city, your id) or from a placegraph job (territory_leads / enrich_leads: its competitor context comes along). Free; returns a job_id for check_presence.

check_presenceA

For each business (with a website) of a job: website status, business email inboxes, phones, the people its site names, and its Instagram, Facebook, TikTok and YouTube accounts (matched to the business, followers, last post, posts in 90 days). Starts an actor run; returns a job_id.

find_decision_makersB

The people who run each business of a check_presence job: LinkedIn company pages the websites link (and the people they list), a search for the business name, and searches for the people its website names. Each person gets a tier (verified / probable / possible) with evidence. Starts an actor run; returns a job_id.

job_statusB

A job's status; once its run finished, the step's result and the next step with its cost estimate.

lead_sheetA

The joined list for a finished job: one row per business with contacts, the best decision-maker, social accounts, presence_score, contactability and lead_score (by focus), sorted best first. Filters are optional. Free.

lead_profileA

Everything about one business of a finished job: contacts, every person found with tier and evidence, every social account, LinkedIn company pages, scores and flags. Free.

export_leadsA

A finished job's lead sheet as CSV (CRM import: one row per business), JSON, or Cypher (Neo4j: Business, Account, Person nodes). Free.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

Each tool has a distinct role in a coherent pipeline: sourcing (find_businesses/import_businesses), enrichment (check_presence/find_decision_makers), inspection (lead_profile/lead_sheet), and control (estimate_pipeline/job_status/export_leads). Minor overlap between lead_sheet (joined list) and export_leads (same data as CSV/JSON/Cypher), and between lead_profile and find_decision_makers (both surface people), but descriptions clarify scale and purpose.

Naming Consistency4/5

Dominant verb_noun pattern (find_businesses, import_businesses, check_presence, find_decision_makers, export_leads, estimate_pipeline) is clear and predictable. Three noun-only names (job_status, lead_profile, lead_sheet) deviate slightly but remain readable and intuitive within the lead-graph domain.

Tool Count5/5

Nine tools is well-scoped, each mapping to a distinct pipeline stage with no redundancy. Free vs. paid (actor run) tools are cleanly separated, and the count supports the multi-step workflow without bloating the surface.

Completeness4/5

The full lifecycle—cost estimate, sourcing, presence/contact enrichment, decision-maker discovery, profiling, lead sheet, and export—is covered, with async job status handled. Minor gaps exist: no list-jobs or cancel-job operation, so agents cannot enumerate or abort runs beyond polling a known job_id.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues