Skip to content
Docs

Reference

MCP Tool Reference

Every tool the LeadUp MCP server exposes, with permissions, parameters, response fields, limits, error codes, and metric definitions.

For developers34 min readView as Markdown

This reference is generated from the tool definitions in the LeadUp MCP server, so parameter names, types, defaults, and response fields match what your MCP client receives from tools/list.

All requests go to POST https://api.leadup-marketing.com/mcp with Authorization: Bearer <access token> and Accept: application/json, text/event-stream. Most MCP clients handle the transport and sign-in for you; see Connect ChatGPT, Claude, and other AI assistants.

How to call the tools

  1. Call list_clients first. Every other tool takes LeadUp client IDs (24 characters), never ad platform account IDs.
  2. Prefer one bulk call over one call per client. Most tools accept clientIds; omit it to cover every client that has the feature enabled.
  3. Dates are inclusive YYYY-MM-DD days in UTC. Omit startDate and endDate to get the last 30 days.
  4. Check meta.partial and meta.issues in every response. Some clients may be missing or lack a feature while the rest of the result is still valid.
  5. Check meta.dataFreshness before treating spend as current. Tools read the last stored sync and never start a new one.

A tools/call request for LSA performance last month looks like this:

tools/call request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_lsa_performance",
    "arguments": {
      "startDate": "2026-10-01",
      "endDate": "2026-10-31",
      "sortBy": "creditedLeads"
    }
  }
}

Connection details

TransportStreamable HTTP (stateless), JSON-RPC over POST /mcp
AuthorizationOAuth 2.1 authorization code with PKCE (S256)
Client registrationClient ID Metadata Documents, Dynamic Client Registration (RFC 7591)
Access token lifetime1 hour
Refresh token lifetime30 days, rotated on every use
OperationsRead-only. No tool can change data in LeadUp or in your ad platforms.

Permissions

Permissions are OAuth scopes. The consent screen lists the ones the AI app requests; an app that requests none receives all of them. Each tool needs every scope listed on it.

PermissionScopeWhat it allows
Clientsclients:readList your client accounts, their enabled features and connected platforms.
Budgetsbudgets:readRead budget targets, month-to-date spend and pacing.
Local Services Adslsa:readRead aggregated Local Services Ads lead metrics (calls and messages), credits, response times and lead quality.
Callscalls:readRead aggregated CallRail and WhatConverts call metrics. No recordings, transcripts or caller details.
Search termssearch_terms:readRead search term audits, flagged terms and negative keyword suggestions.
Signed casessigned_cases:readRead aggregated signed case counts, values and conversion rates. No case details.
Advertisingads:readRead stored campaign spend snapshots and performance monitoring alerts.
Integrationsintegrations:readRead which platforms are connected and their sync status. Never credentials.
Reportingreporting:readRead cross-feature overviews and client comparisons.

Limits

LimitValue
Tool calls per minute, per LeadUp account120
Tool calls per minute, per connected app90
Concurrent tool calls per LeadUp account4
Time limit per tool call20 seconds
Clients per bulk requestUp to 50 (some tools allow fewer; see each tool)
Page sizeUp to 100
Date rangeUp to 366 days

Response format

Every tool returns { data, meta }. The data fields are listed with each tool. meta is the same for every tool:

FieldTypeDescription
generatedAtstring
dateRangeobject
dateRange.startDatestring
dateRange.endDatestring
dateRange.daysinteger
dateRange.timezonestring
dateRange.defaultedboolean
paginationobject
pagination.limitinteger
pagination.returnedinteger
pagination.totalinteger
pagination.nextCursorstring or null
partialboolean
issues[]array of objects
issues[].clientIdstring or null
issues[].codestring
issues[].messagestring
dataFreshnessobject
dataFreshness.sourcestring
dataFreshness.asOfstring or null
dataFreshness.notestring
notesarray of string

Errors

A failed call returns isError: true with{ error: { code, message, retryable, retryAfterSeconds? } }. Internal error details are never returned.

CodeRetryMeaning
invalid_inputNoThe arguments do not match the tool's input schema (unknown property, bad ID, date or range).
not_foundNoThe client or record does not exist, or belongs to another LeadUp account. The two cases are indistinguishable on purpose.
insufficient_scopeNoThe connection was not granted a permission this tool needs. Reconnect the app and approve the missing permission.
feature_unavailableNoNone of the requested clients have the LeadUp feature this tool reads (for example LSA auditing or budget management).
subscription_inactiveNoThe LeadUp account has no active subscription or trial. Restore billing in LeadUp, then retry.
operation_not_allowedNoThe request tried an operation the connection does not allow. Every LeadUp tool is read-only.
rate_limitedYesToo many calls in a short time. Wait for retryAfterSeconds, then retry.
timeoutYesThe tool took too long. Narrow the date range or the number of clients and retry.
upstream_unavailableYesA platform LeadUp depends on did not answer. Retry later.
tool_disabledNoThe tool is temporarily switched off by LeadUp.
unauthenticatedNoThe access token is missing, expired or revoked. The AI app has to sign in again.
internal_errorYesAn unexpected error on LeadUp's side. Details are logged by LeadUp, never returned. Retry later.

Tools

21 tools in 9 groups. Every tool is read-only, works on stored LeadUp data, and never starts a sync, unless marked otherwise.

Clients and accounts

Client directory, enabled features and connected accounts.

list_clientsList clients

Lists the client accounts this LeadUp agency manages, with their enabled LeadUp features and connected platforms. Call this first to get the client IDs every other tool needs. Filter by feature to find, for example, every client with Local Services Ads auditing, or search by name.

  • clients:read

Parameters

NameTypeDefaultDescription
feature"lsa" | "searchTerms" | "budgets" | "callrail" | "whatconverts" | "forms"Only clients with this LeadUp feature enabled.
searchstring (1–100 chars)Case-insensitive client name search.
tagstring (1–20 chars)Only clients with this budget-management tag.
limitinteger (1–100)25Page size (1-100, default 25).
cursorstring (≤ 200 chars)Opaque cursor from a previous response's pagination.nextCursor.
Response fields (15)
Field in dataTypeDescription
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].tagsarray of string
clients[].featuresobject
clients[].features.lsabooleanLocal Services Ads lead auditing
clients[].features.searchTermsbooleanSearch term auditing
clients[].features.budgetsbooleanBudget management / pacing
clients[].features.callrailbooleanCallRail call auditing
clients[].features.whatconvertsbooleanWhatConverts call auditing
clients[].features.formsbooleanForm auditing
clients[].platformsarray of stringConnected platforms, e.g. Google, Facebook, CallRail.
clients[].groupsobject
clients[].groups.lsastring or nullLSA auditing folder/group name.
clients[].groups.searchTermsstring or nullSearch term auditing group name.

get_clientGet client

Returns one client's profile: enabled features, connected ad and call-tracking accounts (with currency and time zone), budget settings, groups and lead outcome tracking settings. Use it to understand what data exists for a client before calling feature tools.

  • clients:read

Parameters

NameTypeDefaultDescription
clientIdrequiredID (24 hex characters)LeadUp client ID (from list_clients).
Response fields (34)
Field in dataTypeDescription
clientobject
client.clientIdstring
client.namestring
client.tagsarray of string
client.featuresobject
client.features.lsabooleanLocal Services Ads lead auditing
client.features.searchTermsbooleanSearch term auditing
client.features.budgetsbooleanBudget management / pacing
client.features.callrailbooleanCallRail call auditing
client.features.whatconvertsbooleanWhatConverts call auditing
client.features.formsbooleanForm auditing
client.platformsarray of stringConnected platforms, e.g. Google, Facebook, CallRail.
client.groupsobject
client.groups.lsastring or nullLSA auditing folder/group name.
client.groups.searchTermsstring or nullSearch term auditing group name.
client.createdAtstring or nullISO 8601 timestamp, or null when unknown.
client.timezonestring or nullPrimary ad account time zone (Google, then Meta, then StackAdapt).
client.accounts[]array of objects
client.accounts[].platformstring
client.accounts[].accountIdstring or null
client.accounts[].accountNamestring or null
client.accounts[].currencyCodestring or null
client.accounts[].timezonestring or null
client.accounts[].budgetTrackingEnabledboolean
client.budgetobject
client.budget.isBudgetManagedboolean
client.budget.monthlyBudgetnumber or nullClient-wide monthly budget target; null when not set.
client.lsaobject
client.lsa.messageAutomationEnabledboolean
client.lsa.autoFeedbackEnabledboolean
client.lsa.callCategorizationEnabledboolean
client.leadOutcomesobject
client.leadOutcomes.enabledboolean
client.leadOutcomes.unitLabelstring or nullWhat a signed unit is called, e.g. "case".

Integrations

Connected platforms and data sync status.

list_integrationsList agency integrations

Shows which platforms the agency account has connected to LeadUp (Google Ads, Microsoft Ads, Meta, StackAdapt, CallRail, WhatConverts, Slack) and how many clients use each. Use it to explain missing data, e.g. why a client has no spend. Never returns credentials.

  • integrations:read

Parameters

No parameters.

Response fields (6)
Field in dataTypeDescription
connections[]array of objects
connections[].providerstring
connections[].connectedboolean
connections[].detailstring or nullNon-sensitive context, e.g. the Slack workspace name.
connections[].expiresAtstring or nullWhen the connection expires, if the provider issues expiring access.
connections[].clientsUsingintegerClients linked to this provider.

get_client_integrationsGet client integrations and sync status

For one or more clients, lists linked ad and call-tracking accounts and the sync status of each LeadUp feature: last ad-spend refresh (and whether it is stale), last LSA lead sync, authorization errors and search term processing. Use it to judge data freshness before reporting numbers.

  • integrations:read

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
Response fields (21)
Field in dataTypeDescription
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].platforms[]array of objects
clients[].platforms[].platformstring
clients[].platforms[].accountIdstring or null
clients[].platforms[].syncErrorstring or nullLast sync error for this account, if any.
clients[].adSpendobject
clients[].adSpend.lastSyncedAtstring or nullWhen ad spend was last refreshed. Spend is refreshed when someone opens budgets in LeadUp.
clients[].adSpend.stalebooleanTrue when spend was not refreshed today (client time zone).
clients[].lsaobject
clients[].lsa.enabledboolean
clients[].lsa.lastLeadSyncAtstring or nullISO 8601 timestamp, or null when unknown.
clients[].lsa.processingPausedboolean
clients[].lsa.authErrorboolean
clients[].lsa.messageSyncLastSuccessAtstring or nullISO 8601 timestamp, or null when unknown.
clients[].lsa.messageSyncAuthErrorboolean
clients[].searchTermsobject
clients[].searchTerms.enabledboolean
clients[].searchTerms.pausedboolean
clients[].searchTerms.lastProcessedDatestring or nullISO 8601 timestamp, or null when unknown.

Budget management

Budget targets, spend and pacing.

get_budget_pacingGet budget pacing

Budget pacing for budget-managed clients: monthly budget, month-to-date spend across Google Ads, Meta and StackAdapt, remaining budget, daily target and pacing percentage, overall and per platform. Supports many clients in one call and filtering by tag. Figures come from the last stored spend sync (see lastSyncedAt and stale); this tool never triggers a sync.

  • budgets:read
  • Needs Budget management

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
tagstring (1–20 chars)Only clients with this budget tag.
includePlatformsbooleantrueInclude the per-platform breakdown.
sortBy"name" | "pacingPercentage" | "spendMtd" | "remainingBudget""name"
Response fields (33)
Field in dataTypeDescription
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].tagsarray of string
clients[].currenciesarray of stringCurrencies of the platforms summed into the client totals.
clients[].mixedCurrenciesbooleanTrue when totals add amounts in different currencies; compare per platform instead.
clients[].monthlyBudgetnumber or nullMonthly budget target; null when no target is set.
clients[].spendMtdnumberSpend this month through yesterday.
clients[].yesterdaySpendnumber
clients[].spendPercentagenumber or nullspendMtd / monthlyBudget x 100.
clients[].remainingBudgetnumber or null
clients[].dailyTargetnumber or nullRemaining budget / remaining active days.
clients[].pacingPercentagenumber or nullspendMtd / ideal spend to date x 100. 100 = on pace, >100 = overspending.
clients[].periodobject
clients[].period.descriptionstring
clients[].period.currentDatestring
clients[].period.daysInMonthinteger
clients[].period.activeDaysSoFarinteger
clients[].period.activeDaysRemaininginteger
clients[].lastSyncedAtstring or nullISO 8601 timestamp, or null when unknown.
clients[].stalebooleanTrue when spend was not refreshed today; figures may lag.
clients[].platforms[]array of objects
clients[].platforms[].platformstring
clients[].platforms[].accountIdstring or null
clients[].platforms[].currencyCodestring or null
clients[].platforms[].monthlyBudgetnumber or nullMonthly budget target; null when no target is set.
clients[].platforms[].spendMtdnumberSpend this month through yesterday.
clients[].platforms[].yesterdaySpendnumber
clients[].platforms[].spendPercentagenumber or nullspendMtd / monthlyBudget x 100.
clients[].platforms[].remainingBudgetnumber or null
clients[].platforms[].dailyTargetnumber or nullRemaining budget / remaining active days.
clients[].platforms[].pacingPercentagenumber or nullspendMtd / ideal spend to date x 100. 100 = on pace, >100 = overspending.
clients[].platforms[].syncErrorstring or null

Local Services Ads

LSA leads (calls and message conversations): volume, credits, quality, response times and analytics.

get_lsa_performanceGet LSA performance by client

Local Services Ads lead totals per client for a date range: leads, calls, messages, good and bad leads, new leads, Google credits (credited leads and credit rate), lead quality and existing-customer rates, plus processing status. Use it to rank or compare LSA clients, or to answer "how many credits did we get". One call covers many clients.

  • lsa:read
  • Needs Local Services Ads auditing

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
sortBy"name" | "totalLeads" | "leadQualityPercentage" | "creditedLeads""totalLeads"
Response fields (27)
Field in dataTypeDescription
totalsobject
totals.clientsinteger
totals.totalLeadsinteger
totals.goodLeadsinteger
totals.badLeadsinteger
totals.creditedLeadsinteger
totals.creditedLeadsPercentagenumber or null
totals.leadQualityPercentagenumber or null
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].groupstring or null
clients[].totalLeadsinteger
clients[].callsinteger
clients[].messagesinteger
clients[].goodLeadsinteger
clients[].badLeadsinteger
clients[].newLeadsintegerLeads from first-time contacts.
clients[].creditedLeadsintegerLeads Google credited back (not charged).
clients[].creditedLeadsPercentagenumbercreditedLeads / totalLeads x 100.
clients[].leadQualityPercentagenumbergoodLeads / non-credited leads x 100.
clients[].existingClientLeadsPercentagenumberExisting-customer leads / non-credited leads x 100.
clients[].statusobject
clients[].status.processingPausedboolean
clients[].status.authErrorboolean
clients[].status.autoFeedbackEnabledboolean
clients[].status.messageAutomationEnabledboolean

get_lsa_lead_analyticsGet LSA lead analytics

Detailed Local Services Ads lead analytics for one or more clients combined: lead quality, answer times for calls, first response times for messages, qualification outcomes, objections, service categories, per-client breakdown and an optional daily series. Use it for "why" questions (what services, which objections, how fast we answer). Aggregated only: no lead names, numbers, recordings or transcripts.

  • lsa:read
  • Needs Local Services Ads auditing

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
activityType"all" | "call" | "message""all"
chargeStatus"charged" | "all" | "not_charged""charged"Google billing filter. "charged" (default) matches the LSA dashboard.
includeDailybooleanfalseInclude a per-day series (UTC days).
Response fields (54)
Field in dataTypeDescription
scopeobject
scope.clientsinteger
scope.activityTypestring
scope.chargeStatusstring
statsobject
stats.totalLeadsinteger
stats.totalCallsinteger
stats.totalMessagesinteger
stats.goodLeadsinteger
stats.badLeadsinteger
stats.unratedLeadsinteger
stats.leadQualityRatenumber or nullgoodLeads / (goodLeads + badLeads) x 100; credited leads excluded.
stats.callAnswerTimeobject or nullSeconds until a person answered, answered calls only.
stats.callAnswerTime.averageSecondsnumber or null
stats.callAnswerTime.medianSecondsnumber or null
stats.callAnswerTime.sampleSizeinteger
stats.messageFirstResponseTimeobject or nullSeconds from first inbound message to first reply.
stats.messageFirstResponseTime.averageSecondsnumber or null
stats.messageFirstResponseTime.medianSecondsnumber or null
stats.messageFirstResponseTime.sampleSizeinteger
qualificationOutcomes[]array of objects
qualificationOutcomes[].labelstring
qualificationOutcomes[].countinteger
objectionsobject
objections.callsWithObjectionsinteger
objections.items[]array of objects
objections.items[].objectionstring
objections.items[].countinteger
servicesobject
services.categorizedLeadsinteger
services.uncategorizedLeadsinteger
services.groups[]array of objects
services.groups[].groupNamestring
services.groups[].leadsinteger
services.groups[].services[]array of objects
services.groups[].services[].serviceNamestring
services.groups[].services[].leadsinteger
accounts[]array of objects
accounts[].clientIdstring
accounts[].namestring
accounts[].totalCallsinteger
accounts[].totalMessagesinteger
accounts[].leadQualityRatenumber or null
accounts[].existingClientPercentagenumber or null
accounts[].averageCallDurationSecondsnumber or null
accounts[].medianCallAnswerTimeSecondsnumber or null
daily[]array of objects
daily[].datestring
daily[].totalLeadsinteger
daily[].totalCallsinteger
daily[].totalMessagesinteger
daily[].goodLeadsinteger
daily[].badLeadsinteger
daily[].unratedLeadsinteger

get_lsa_message_analyticsGet LSA message analytics

Aggregated metrics for Local Services Ads message leads (conversations started through the LSA "message" button): conversation volume, good/bad/unrated outcomes, lead quality, first response time (average and median seconds) and qualification outcomes, overall and per client. Use it to evaluate how fast and how well messages are handled. Never returns message content or contact details.

  • lsa:read
  • Needs Local Services Ads auditing

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
chargeStatus"charged" | "all" | "not_charged""charged"
Response fields (19)
Field in dataTypeDescription
totalsobject
totals.conversationsinteger
totals.goodLeadsinteger
totals.badLeadsinteger
totals.unratedLeadsinteger
totals.leadQualityRatenumber or null
totals.firstResponseTimeobject or null
totals.firstResponseTime.averageSecondsnumber or null
totals.firstResponseTime.medianSecondsnumber or null
totals.firstResponseTime.sampleSizeinteger
outcomes[]array of objectsQualification outcome labels assigned to conversations.
outcomes[].labelstring
outcomes[].countinteger
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].conversationsinteger
clients[].leadQualityRatenumber or null
clients[].messageAutomationEnabledboolean

Calls and intake

Unified CallRail and WhatConverts call analytics.

get_call_analyticsGet call analytics

Call-tracking performance per client from CallRail and WhatConverts (one unified tool; filter with sources): total calls, good leads, lead quality and its trend versus the previous period, and last call time, plus totals per source. Use it to compare call volume and lead quality across clients. For Local Services Ads calls use get_lsa_performance instead.

  • calls:read

Parameters

NameTypeDefaultDescription
sourcesarray of "callrail" | "whatconverts" (1–2 items)["callrail","whatconverts"]Call-tracking providers to include.
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
sortBy"totalCalls" | "leadQualityPercentage" | "name""totalCalls"
Response fields (17)
Field in dataTypeDescription
sources[]array of objects
sources[].source"callrail" | "whatconverts"
sources[].clientsinteger
sources[].totalCallsinteger
sources[].goodLeadsinteger
sources[].leadQualityPercentagenumber or nullgoodLeads / totalCalls x 100.
sources[].firstTimeCallersnumber or nullCalls flagged as first-time callers; null when filtered to specific clients.
sources[].averageCallDurationSecondsnumber or nullNull when filtered to specific clients.
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].source"callrail" | "whatconverts"
clients[].totalCallsinteger
clients[].goodLeadsinteger
clients[].leadQualityPercentagenumber or null
clients[].qualityTrendPercentnumberRelative change in lead quality rate vs the previous period of equal length.
clients[].lastCallAtstring or nullISO 8601 timestamp, or null when unknown.

get_call_insightsGet call insights

Agency-wide call-tracking insights for one provider (CallRail or WhatConverts): answered vs missed calls and missed-call rate, average duration, calls per day, calls and answer rate by hour of day and weekday (client local time), first-time vs returning callers, daily lead quality, best and worst clients, and the tracked search terms that produce the best and worst calls. Use it for missed-call and staffing questions.

  • calls:read

Parameters

NameTypeDefaultDescription
source"callrail" | "whatconverts""callrail"
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
Response fields (58)
Field in dataTypeDescription
source"callrail" | "whatconverts"
summaryobject
summary.totalCallsinteger
summary.answeredCallsinteger
summary.missedCallsinteger
summary.missedCallRatenumber or null
summary.goodLeadsinteger
summary.leadQualityPercentagenumber or null
summary.averageCallDurationSecondsnumber or null
summary.callsPerDaynumber or null
byHour[]array of objects
byHour[].hourinteger
byHour[].totalCallsinteger
byHour[].answeredCallsinteger
byHour[].goodLeadsinteger
byHour[].answerRatenumber or nullansweredCalls / totalCalls x 100.
byWeekday[]array of objects
byWeekday[].weekdaystring
byWeekday[].totalCallsinteger
byWeekday[].answeredCallsinteger
byWeekday[].goodLeadsinteger
byWeekday[].answerRatenumber or nullansweredCalls / totalCalls x 100.
callerType[]array of objects
callerType[].firstTimeCallerboolean or null
callerType[].totalCallsinteger
callerType[].answeredCallsinteger
callerType[].goodLeadsinteger
callerType[].answerRatenumber or nullansweredCalls / totalCalls x 100.
leadQualityByDay[]array of objects
leadQualityByDay[].datestring
leadQualityByDay[].answeredCallsinteger
leadQualityByDay[].goodLeadsinteger
topClients[]array of objects
topClients[].clientIdstring
topClients[].namestring
topClients[].totalCallsinteger
topClients[].answeredCallsinteger
topClients[].goodLeadsinteger
topClients[].answerRatenumber or nullansweredCalls / totalCalls x 100.
bottomClients[]array of objects
bottomClients[].clientIdstring
bottomClients[].namestring
bottomClients[].totalCallsinteger
bottomClients[].answeredCallsinteger
bottomClients[].goodLeadsinteger
bottomClients[].answerRatenumber or nullansweredCalls / totalCalls x 100.
bestSearchTerms[]array of objects
bestSearchTerms[].searchTermstring
bestSearchTerms[].totalCallsinteger
bestSearchTerms[].answeredCallsinteger
bestSearchTerms[].goodLeadsinteger
bestSearchTerms[].answerRatenumber or nullansweredCalls / totalCalls x 100.
worstSearchTerms[]array of objects
worstSearchTerms[].searchTermstring
worstSearchTerms[].totalCallsinteger
worstSearchTerms[].answeredCallsinteger
worstSearchTerms[].goodLeadsinteger
worstSearchTerms[].answerRatenumber or nullansweredCalls / totalCalls x 100.

Search term auditing

Search term audits, flagged terms and negative keyword suggestions.

get_search_term_auditGet search term audit summary

Search term audit status per client for Google Ads Search and Performance Max campaigns: terms reviewed, irrelevant terms with suggested negatives, negatives already pushed, clean-terms percentage, analysis status and next scheduled run. Use it to find which clients have the most wasted search traffic to clean up.

  • search_terms:read
  • Needs Search term auditing

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
sortBy"suggestedNegatives" | "cleanTermsPercentage" | "name""suggestedNegatives"
Response fields (15)
Field in dataTypeDescription
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].groupstring or null
clients[].pausedboolean
clients[].totalSearchTermsinteger
clients[].suggestedNegativesintegerFlagged irrelevant terms with a suggested negative, not yet pushed or dismissed.
clients[].activeNegativesinteger
clients[].pushedNegativesintegerNegatives already added to Google Ads from LeadUp.
clients[].cleanTermsPercentagenumber or null(totalSearchTerms - suggestedNegatives) / totalSearchTerms x 100.
clients[].campaignsinteger
clients[].processingCampaignsinteger
clients[].erroredCampaignsinteger
clients[].lastAnalysisCompletedAtstring or nullISO 8601 timestamp, or null when unknown.
clients[].nextScheduledRunAtstring or nullISO 8601 timestamp, or null when unknown.

list_search_termsList search terms

Lists the search terms LeadUp reviewed for one client's Google Ads campaigns, with clicks, spend, conversions and the audit verdict (relevant, flagged irrelevant, pushed as negative, dismissed) and flag category. Filter by status, campaign, category or minimum spend; sort by spend, clicks or conversions; paginated. Metrics cover the latest analysis window of each campaign.

  • search_terms:read
  • Needs Search term auditing

Parameters

NameTypeDefaultDescription
clientIdrequiredID (24 hex characters)LeadUp client ID (from list_clients).
status"all" | "relevant" | "flagged" | "pushed" | "dismissed""all"
campaignIdID (24 hex characters)LeadUp campaign ID from a previous response.
flagCategory"COMPETITOR" | "OUT_OF_GEO" | "IRRELEVANT_OFFERING" | "JOBS_OR_TRAINING" | "SUPPORT_OR_EXISTING_CUSTOMER" | "INFORMATIONAL_RESEARCH" | "LOW_INTENT_OR_OTHER"
minSpendnumber (≥ 0)
minClicksinteger (≥ 0)
sortBy"spend" | "clicks" | "impressions" | "conversions""spend"
limitinteger (1–100)25Page size (1-100, default 25).
cursorstring (≤ 200 chars)Opaque cursor from a previous response's pagination.nextCursor.
Response fields (31)
Field in dataTypeDescription
clientobject
client.clientIdstring
client.namestring
campaigns[]array of objects
campaigns[].campaignIdstring
campaigns[].namestring
campaigns[].typestring
campaigns[].analysisStatusstring
campaigns[].analysisWindowStartstring or nullISO 8601 timestamp, or null when unknown.
campaigns[].analysisWindowEndstring or nullISO 8601 timestamp, or null when unknown.
terms[]array of objects
terms[].clientIdstring
terms[].campaignIdstring
terms[].campaignNamestring
terms[].campaignTypestring
terms[].adGroupNamestring or null
terms[].termstring
terms[].matchTypestring or null
terms[].keywordstring or nullKeyword that triggered the term (Search campaigns).
terms[].status"relevant" | "flagged" | "pushed" | "dismissed"
terms[].flagCategorystring or null
terms[].suggestedNegativeobject or null
terms[].suggestedNegative.keywordstring
terms[].suggestedNegative.matchTypestring or null
terms[].metricsobject
terms[].metrics.impressionsnumber
terms[].metrics.clicksnumber
terms[].metrics.spendnumber
terms[].metrics.averageCpcnumber
terms[].metrics.conversionsnumber
terms[].metrics.conversionValuenumber

get_negative_keyword_recommendationsGet negative keyword recommendations

Negative keyword suggestions produced by LeadUp's search term audit that have not been pushed or dismissed, grouped by suggested keyword with the spend, clicks and terms they would block. Covers several clients in one call. Read-only: adding them to Google Ads must be done in LeadUp.

  • search_terms:read
  • Needs Search term auditing

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–20 items)Up to 20 client IDs. Omit to include every authorized client that has this feature enabled.
minSpendnumber (≥ 0)Only suggestions blocking at least this much spend.
limitPerClientinteger (1–100)25
Response fields (17)
Field in dataTypeDescription
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].totalSuggestionsinteger
clients[].wastedSpendnumberSpend on terms covered by the returned suggestions.
clients[].recommendations[]array of objects
clients[].recommendations[].keywordstring
clients[].recommendations[].matchTypestring or null
clients[].recommendations[].flagCategoriesarray of string
clients[].recommendations[].campaigns[]array of objects
clients[].recommendations[].campaigns[].campaignIdstring
clients[].recommendations[].campaigns[].namestring
clients[].recommendations[].matchedTermsinteger
clients[].recommendations[].exampleTermsarray of string
clients[].recommendations[].spendnumber
clients[].recommendations[].clicksnumber
clients[].recommendations[].conversionsnumber

Signed cases

Signed case outcomes, conversion and acquisition cost for LSA leads.

get_signed_case_summaryGet signed case summary

Signed cases (or jobs/patients — the client's configured unit) attributed to Local Services Ads leads: signed units, signed leads, reported and estimated revenue, lead-to-signed conversion rate, qualified-lead conversion, median days to sign and lost/open units, with breakdowns by channel (call vs message), service and client. Counts leads by lead date in the range. Aggregates only; no case details.

  • signed_cases:read
  • Needs Local Services Ads auditing

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–50 items)Up to 50 client IDs. Omit to include every authorized client that has this feature enabled.
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
Response fields (42)
Field in dataTypeDescription
availablebooleanFalse when no included client tracks lead outcomes.
unitLabelstring or null
clientsTrackingOutcomesinteger
totalsobject or null
totals.leadsintegerLSA leads in the range (the conversion denominator).
totals.signedLeadsintegerLeads that produced at least one signed unit.
totals.signedUnitsintegerSigned units (cases, jobs, patients). One lead can produce several.
totals.reportedRevenuenumberSum of values entered on signed units.
totals.estimatedRevenuenumber or nullReported revenue plus configured average values for units with no value; null when no averages are configured.
totals.signedLeadRatenumber or nullsignedLeads / leads x 100.
totals.goodLeadsinteger
totals.signedQualifiedLeadsintegerSigned leads that were also rated good.
totals.qualifiedLeadSignRatenumber or nullsignedQualifiedLeads / goodLeads x 100.
totals.lostUnitsinteger
totals.openUnitsinteger
totals.medianDaysToSignnumber or null
byChannelobject or null
byChannel.callobject
byChannel.call.signedLeadsinteger
byChannel.call.signedUnitsinteger
byChannel.call.reportedRevenuenumber
byChannel.messageobject
byChannel.message.signedLeadsinteger
byChannel.message.signedUnitsinteger
byChannel.message.reportedRevenuenumber
byService[]array of objects
byService[].groupNamestring
byService[].leadsintegerLSA leads in the range (the conversion denominator).
byService[].signedLeadsintegerLeads that produced at least one signed unit.
byService[].signedUnitsintegerSigned units (cases, jobs, patients). One lead can produce several.
byService[].reportedRevenuenumberSum of values entered on signed units.
byService[].estimatedRevenuenumber or nullReported revenue plus configured average values for units with no value; null when no averages are configured.
byService[].signedLeadRatenumber or nullsignedLeads / leads x 100.
byClient[]array of objects
byClient[].clientIdstring
byClient[].namestring
byClient[].leadsintegerLSA leads in the range (the conversion denominator).
byClient[].signedLeadsintegerLeads that produced at least one signed unit.
byClient[].signedUnitsintegerSigned units (cases, jobs, patients). One lead can produce several.
byClient[].reportedRevenuenumberSum of values entered on signed units.
byClient[].estimatedRevenuenumber or nullReported revenue plus configured average values for units with no value; null when no averages are configured.
byClient[].signedLeadRatenumber or nullsignedLeads / leads x 100.

get_acquisition_costGet LSA acquisition cost

Cost per lead, cost per qualified (good) lead and cost per acquisition (per signed unit) for Local Services Ads, per client and overall. Reads LSA spend live from Google Ads (read-only reporting query), so it is slower than other tools and may report clients whose spend could not be read. Use for ROI and efficiency questions.

  • signed_cases:read
  • lsa:read
  • Needs Local Services Ads auditing
  • Live Google Ads read
  • Off by default

This tool is switched off by default and may not appear in your AI app's tool list.

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–20 items)Up to 20 client IDs. Omit to include every authorized client that has this feature enabled.
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
Response fields (21)
Field in dataTypeDescription
totalsobject
totals.currencyCodestring or null
totals.spendnumber or nullLSA spend from Google Ads; null when it could not be read.
totals.leadsinteger
totals.goodLeadsinteger
totals.signedUnitsinteger
totals.costPerLeadnumber or null
totals.costPerQualifiedLeadnumber or null
totals.costPerAcquisitionnumber or nullspend / signedUnits.
totals.mixedCurrenciesboolean
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].currencyCodestring or null
clients[].spendnumber or nullLSA spend from Google Ads; null when it could not be read.
clients[].leadsinteger
clients[].goodLeadsinteger
clients[].signedUnitsinteger
clients[].costPerLeadnumber or null
clients[].costPerQualifiedLeadnumber or null
clients[].costPerAcquisitionnumber or nullspend / signedUnits.

Advertising

Google Ads lead attribution, campaign spend snapshots and performance monitoring alerts.

get_google_ads_lead_performanceGet Google Ads lead performance

Lead performance by Google Ads campaign, ad group or keyword, combining tracked calls (CallRail, WhatConverts) and form submissions: leads, good/bad leads, lead quality, first-time and existing-customer calls, form conversions pushed and signed units. Attribution uses the resolved Google Ads click when available, otherwise tracking parameters. Use it to find which campaigns, ad groups or keywords bring the best leads. Excludes LSA leads and spend.

  • ads:read
  • Needs CallRail, WhatConverts, or Forms with Google Ads

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–10 items)Up to 10 client IDs. Omit to include every authorized client that has this feature enabled.
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
level"campaign" | "ad_group" | "keyword""campaign"Grouping. ad_group and keyword rows are nested within their campaign.
channelsarray of "calls" | "forms" (1–2 items)["calls","forms"]
campaignstring (1–120 chars)Only campaigns whose name contains this text.
attributedOnlybooleanfalseOnly rows with at least one resolved Google Ads click.
minLeadsinteger (1–10000)
sortBy"leads" | "goodLeads" | "leadQualityRate" | "signedUnits""leads"
limitinteger (1–100)25Page size (1-100, default 25).
cursorstring (≤ 200 chars)Opaque cursor from a previous response's pagination.nextCursor.
Response fields (35)
Field in dataTypeDescription
level"campaign" | "ad_group" | "keyword"
totalsobject
totals.groupsinteger
totals.leadsinteger
totals.callsinteger
totals.formsinteger
totals.goodLeadsinteger
totals.badLeadsinteger
totals.leadQualityRatenumber or null
totals.googleAdsClickSharenumber or null
totals.signedUnitsinteger or null
rows[]array of objects
rows[].clientIdstring
rows[].clientNamestring
rows[].campaignstringGoogle Ads campaign name, or the tracked UTM/last-touch campaign; "Uncategorized" when none.
rows[].adGroupstring or nullOnly for resolved Google Ads clicks; null otherwise.
rows[].keywordstring
rows[].matchTypesarray of string
rows[].campaignTypestring or null
rows[].googleCampaignIdsarray of stringGoogle Ads campaign IDs seen on resolved clicks.
rows[].leadsinteger
rows[].callsinteger
rows[].formsinteger
rows[].goodLeadsinteger
rows[].badLeadsinteger
rows[].unratedLeadsinteger
rows[].leadQualityRatenumber or nullgoodLeads / (goodLeads + badLeads) x 100.
rows[].goodLeadSharenumber or nullgoodLeads / leads x 100 (the CallRail dashboard's lead quality).
rows[].googleAdsClickLeadsintegerLeads matched to a Google Ads click (GCLID).
rows[].googleAdsClickSharenumber or null
rows[].existingClientCallsinteger
rows[].firstTimeCallsinteger
rows[].formConversionsPushedintegerForm leads uploaded to Google Ads as conversions.
rows[].signedUnitsinteger or nullSigned units (cases, jobs...) from these leads; null when outcome tracking is off.
rows[].signedUnitRatenumber or null

get_campaign_spend_pacingGet campaign spend and pacing

Campaign-level budgets, month-to-date spend, yesterday's spend and pacing for budget-managed clients, across Google Ads, Meta and StackAdapt. Use it to find which campaigns drive over- or under-pacing. Only spend and budget are stored; clicks and conversions are not available here. Data is the last stored sync.

  • ads:read
  • Needs Budget management

Parameters

NameTypeDefaultDescription
clientIdsarray of ID (24 hex characters) (1–20 items)Up to 20 client IDs. Omit to include every authorized client that has this feature enabled.
platform"Google" | "Facebook" | "StackAdapt"
status"active" | "all""active""active" keeps ENABLED/ACTIVE campaigns only.
sortBy"spendMtd" | "yesterdaySpend" | "pacingPercentage" | "name""spendMtd"
limitinteger (1–100)25Page size (1-100, default 25).
cursorstring (≤ 200 chars)Opaque cursor from a previous response's pagination.nextCursor.
Response fields (20)
Field in dataTypeDescription
campaigns[]array of objects
campaigns[].clientIdstring
campaigns[].clientNamestring
campaigns[].platformstring
campaigns[].accountIdstring or null
campaigns[].currencyCodestring or null
campaigns[].campaignIdstring or null
campaigns[].namestring
campaigns[].typestring or null
campaigns[].statusstring or null
campaigns[].servingStatusstring or null
campaigns[].monthlyBudgetnumber or null
campaigns[].dailyBudgetnumber or null
campaigns[].spendMtdnumber
campaigns[].yesterdaySpendnumber
campaigns[].spendPercentagenumber or null
campaigns[].pacingPercentagenumber or null
campaigns[].dailyTargetnumber or null
campaigns[].tagsarray of string
campaigns[].lastSyncedAtstring or nullISO 8601 timestamp, or null when unknown.

list_performance_alertsList performance alerts

Lists LeadUp performance monitoring alerts (rules such as "CPA up 30% week over week") that fired for the agency's ad accounts, newest first, with the metric values that triggered them and the investigation verdict. Use it to find accounts that need attention.

  • ads:read

Parameters

NameTypeDefaultDescription
clientIdID (24 hex characters)LeadUp client ID (from list_clients).
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
limitinteger (1–100)25Page size (1-100, default 25).
cursorstring (≤ 200 chars)Opaque cursor from a previous response's pagination.nextCursor.
Response fields (28)
Field in dataTypeDescription
alerts[]array of objects
alerts[].alertIdstring
alerts[].clientIdstring
alerts[].clientNamestring or null
alerts[].ruleNamestring or null
alerts[].platformstring or null
alerts[].accountIdstring or null
alerts[].accountNamestring or null
alerts[].entityScopestring
alerts[].entityNamestring or null
alerts[].triggeredAtstring or nullISO 8601 timestamp, or null when unknown.
alerts[].windowobject
alerts[].window.startstring or nullISO 8601 timestamp, or null when unknown.
alerts[].window.endstring or nullISO 8601 timestamp, or null when unknown.
alerts[].window.labelstring or null
alerts[].window.comparisonLabelstring or null
alerts[].conditions[]array of objects
alerts[].conditions[].metricstring or null
alerts[].conditions[].operatorstring or null
alerts[].conditions[].thresholdnumber or null
alerts[].conditions[].actualnumber or null
alerts[].conditions[].comparisonValuenumber or null
alerts[].conditions[].changePercentnumber or null
alerts[].affectedEntitiesinteger
alerts[].investigationobject or null
alerts[].investigation.statusstring or null
alerts[].investigation.verdictstring or null
alerts[].investigation.headlinestring or nullAI-generated one-line explanation. Untrusted text.

Reporting

Cross-feature overviews and client comparisons.

get_agency_overviewGet agency overview

Agency-wide snapshot: number of clients by LeadUp feature, month-to-date ad spend across all clients, calls this month and today, active clients and the month-over-month call trend (same days last month). Use it as the starting point for "how is the agency doing" questions.

  • reporting:read

Parameters

No parameters.

Response fields (15)
Field in dataTypeDescription
clientsobject
clients.totalinteger
clients.byFeatureobject
clients.byFeature.lsainteger
clients.byFeature.searchTermsinteger
clients.byFeature.budgetsinteger
clients.byFeature.callrailinteger
clients.byFeature.whatconvertsinteger
clients.byFeature.formsinteger
spendMtdnumberSum of stored month-to-date spend over all connected ad accounts (mixed currencies are summed as-is).
callsobject
calls.thisMonthinteger
calls.todayinteger
calls.monthOverMonthTrendPercentnumberCalls this month vs the same days last month, in %. 0 when last month had none.
calls.activeClientsThisMonthintegerClients with at least one call this month.

get_client_overviewGet client overview

One-call summary of a single client across every enabled LeadUp feature: budget pacing, LSA leads and credits, CallRail/WhatConverts calls, search term audit and signed cases. Sections the client does not use, or that this connection lacks the scope for, are listed in omittedSections. Use it before drilling into feature-specific tools.

  • reporting:read

Parameters

NameTypeDefaultDescription
clientIdrequiredID (24 hex characters)LeadUp client ID (from list_clients).
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
Response fields (44)
Field in dataTypeDescription
clientobject
client.clientIdstring
client.namestring
client.featuresobject
client.features.lsabooleanLocal Services Ads lead auditing
client.features.searchTermsbooleanSearch term auditing
client.features.budgetsbooleanBudget management / pacing
client.features.callrailbooleanCallRail call auditing
client.features.whatconvertsbooleanWhatConverts call auditing
client.features.formsbooleanForm auditing
client.budgetsobject or null
client.budgets.monthlyBudgetnumber or null
client.budgets.spendMtdnumber
client.budgets.pacingPercentagenumber or null
client.budgets.remainingBudgetnumber or null
client.budgets.currenciesarray of string
client.budgets.lastSyncedAtstring or nullISO 8601 timestamp, or null when unknown.
client.budgets.staleboolean
client.lsaobject or null
client.lsa.totalLeadsinteger
client.lsa.goodLeadsinteger
client.lsa.creditedLeadsinteger
client.lsa.leadQualityPercentagenumber
client.lsa.creditedLeadsPercentagenumber
client.calls[]array of objects
client.calls[].sourcestring
client.calls[].totalCallsinteger
client.calls[].goodLeadsinteger
client.calls[].leadQualityPercentagenumber or null
client.calls[].qualityTrendPercentnumber
client.searchTermsobject or null
client.searchTerms.totalSearchTermsinteger
client.searchTerms.suggestedNegativesinteger
client.searchTerms.pushedNegativesinteger
client.searchTerms.cleanTermsPercentagenumber or null
client.signedCasesobject or null
client.signedCases.leadsinteger
client.signedCases.signedLeadsinteger
client.signedCases.signedUnitsinteger
client.signedCases.reportedRevenuenumber
client.signedCases.signedLeadRatenumber or null
omittedSections[]array of objects
omittedSections[].sectionstring
omittedSections[].reasonstring

compare_clientsCompare clients

Side-by-side comparison of 2 to 20 clients over the same date range, with the sections you choose (budgets, lsa, calls, searchTerms, signedCases). Each client row uses the same metric definitions as the feature tools, so values are directly comparable. Sections a client does not use are null.

  • reporting:read

Parameters

NameTypeDefaultDescription
clientIdsrequiredarray of ID (24 hex characters) (2–20 items)
sectionsarray of "budgets" | "lsa" | "calls" | "searchTerms" | "signedCases" (1–5 items)["budgets","lsa","calls"]
startDatedate (YYYY-MM-DD)Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days.
endDatedate (YYYY-MM-DD)Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set.
Response fields (44)
Field in dataTypeDescription
clients[]array of objects
clients[].clientIdstring
clients[].namestring
clients[].featuresobject
clients[].features.lsabooleanLocal Services Ads lead auditing
clients[].features.searchTermsbooleanSearch term auditing
clients[].features.budgetsbooleanBudget management / pacing
clients[].features.callrailbooleanCallRail call auditing
clients[].features.whatconvertsbooleanWhatConverts call auditing
clients[].features.formsbooleanForm auditing
clients[].budgetsobject or null
clients[].budgets.monthlyBudgetnumber or null
clients[].budgets.spendMtdnumber
clients[].budgets.pacingPercentagenumber or null
clients[].budgets.remainingBudgetnumber or null
clients[].budgets.currenciesarray of string
clients[].budgets.lastSyncedAtstring or nullISO 8601 timestamp, or null when unknown.
clients[].budgets.staleboolean
clients[].lsaobject or null
clients[].lsa.totalLeadsinteger
clients[].lsa.goodLeadsinteger
clients[].lsa.creditedLeadsinteger
clients[].lsa.leadQualityPercentagenumber
clients[].lsa.creditedLeadsPercentagenumber
clients[].calls[]array of objects
clients[].calls[].sourcestring
clients[].calls[].totalCallsinteger
clients[].calls[].goodLeadsinteger
clients[].calls[].leadQualityPercentagenumber or null
clients[].calls[].qualityTrendPercentnumber
clients[].searchTermsobject or null
clients[].searchTerms.totalSearchTermsinteger
clients[].searchTerms.suggestedNegativesinteger
clients[].searchTerms.pushedNegativesinteger
clients[].searchTerms.cleanTermsPercentagenumber or null
clients[].signedCasesobject or null
clients[].signedCases.leadsinteger
clients[].signedCases.signedLeadsinteger
clients[].signedCases.signedUnitsinteger
clients[].signedCases.reportedRevenuenumber
clients[].signedCases.signedLeadRatenumber or null
omittedSections[]array of objects
omittedSections[].sectionstring
omittedSections[].reasonstring

Metric definitions

AI apps can read these definitions from the MCP resource leadup://docs/metric-definitions, so an assistant can explain a number the same way LeadUp calculates it.

General

  • Client ID: LeadUp's 24-character client identifier (from list_clients). Ad-platform account IDs are returned separately as accountId.
  • Dates: inclusive YYYY-MM-DD calendar days in UTC unless a field says otherwise. No dates = last 30 days ending today (UTC). Maximum range: 366 days.
  • Budget periods: the current calendar month in the client's ad account time zone; spend covers completed days through yesterday.
  • Percentages: 0-100, usually one decimal.
  • Money: in the ad account's currency (currencyCode). Totals across accounts with different currencies are flagged with mixedCurrencies: true.
  • null vs 0: null means "not available / cannot be computed" (for example a rate with a zero denominator, or spend that could not be read). 0 is a real zero.
  • meta.partial / meta.issues: some requested clients were missing, not accessible, lacked a feature, or failed. The rest of the result is valid.
  • meta.dataFreshness: when the data was last synced. MCP tools never trigger syncs.

Budgets

  • monthlyBudget: budget target set in LeadUp (client-wide or per platform/campaign). null when not set.
  • spendMtd: month-to-date spend through yesterday, from the last stored sync.
  • pacingPercentage: spendMtd / ideal spend to date x 100, where ideal spend = budget / active days in month x active days so far (the client's ad schedule defines active days). 100 = on pace.
  • dailyTarget: remaining budget / remaining active days.
  • stale: spend was not refreshed today in the client's time zone.

Local Services Ads (LSA)

  • Lead: a charged LSA call or message conversation (chargeStatus: charged, the dashboard default).
  • Credited lead: a lead Google credited back. Credited leads are excluded from good/bad and quality rates.
  • Good / bad lead: rating from LeadUp's AI review or a manual rating.
  • leadQualityPercentage / leadQualityRate: good leads / (good + bad) leads x 100 (credited excluded).
  • creditedLeadsPercentage: credited / total leads x 100.
  • existingClientLeadsPercentage: leads from existing customers / non-credited leads x 100.
  • callAnswerTime: seconds until a person answered, answered calls only.
  • messageFirstResponseTime: seconds from the first inbound lead message to the first human or automated reply.

Calls (CallRail, WhatConverts)

  • leadQualityPercentage: good leads / total calls x 100.
  • qualityTrendPercent: relative change of the lead-quality rate versus the previous period of equal length.
  • missedCallRate: missed calls / total calls x 100.
  • answerRate: answered calls / total calls x 100.

Signed cases

  • Signed unit: a lead outcome in a "converted" status (a case, job, patient...; see unitLabel). One lead can produce several.
  • signedLeads: leads with at least one signed unit. signedLeadRate: signedLeads / leads x 100.
  • qualifiedLeadSignRate: signed good leads / good leads x 100.
  • reportedRevenue: values entered on signed units. estimatedRevenue adds configured average values for units without a value.
  • Leads are counted by lead date (cohort), so recent leads may still sign later.
  • costPerLead / costPerQualifiedLead / costPerAcquisition: LSA spend / leads, / good leads, / signed units.

Google Ads lead performance (calls + forms)

  • Attribution: campaign and keyword come from the resolved Google Ads click (GCLID) when available, otherwise from call-tracking last touch / UTM tags. Ad group, campaign type and match type exist only for resolved clicks. LSA leads are excluded.
  • leadQualityRate: good / (good + bad) x 100. goodLeadShare: good / all leads x 100 (the CallRail dashboard's "lead quality").
  • googleAdsClickShare: leads matched to a Google Ads click / leads x 100.
  • signedUnits: converted lead outcomes from these leads; null when the client does not track outcomes.

Search terms

  • flagged: LeadUp's audit marked the term irrelevant (see flagCategory). pushed: added as a negative in Google Ads from LeadUp. dismissed: the agency rejected the suggestion.
  • suggestedNegatives: flagged terms with a suggested negative that are neither pushed nor dismissed.
  • cleanTermsPercentage: (terms - suggestedNegatives) / terms x 100.
  • Metrics cover each campaign's latest analysis window (analysisWindowStart-End).
Documentation
Go to App

    Search guides, tutorials, integrations, and the MCP tool reference.