Reference
MCP Tool Reference
Every tool the LeadUp MCP server exposes, with permissions, parameters, response fields, limits, error codes, and metric definitions.
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
- Call
list_clientsfirst. Every other tool takes LeadUp client IDs (24 characters), never ad platform account IDs. - Prefer one bulk call over one call per client. Most tools accept
clientIds; omit it to cover every client that has the feature enabled. - Dates are inclusive
YYYY-MM-DDdays in UTC. OmitstartDateandendDateto get the last 30 days. - Check
meta.partialandmeta.issuesin every response. Some clients may be missing or lack a feature while the rest of the result is still valid. - Check
meta.dataFreshnessbefore 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:
{
"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
| Transport | Streamable HTTP (stateless), JSON-RPC over POST /mcp |
|---|---|
| Authorization | OAuth 2.1 authorization code with PKCE (S256) |
| Client registration | Client ID Metadata Documents, Dynamic Client Registration (RFC 7591) |
| Access token lifetime | 1 hour |
| Refresh token lifetime | 30 days, rotated on every use |
| Operations | Read-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.
| Permission | Scope | What it allows |
|---|---|---|
| Clients | clients:read | List your client accounts, their enabled features and connected platforms. |
| Budgets | budgets:read | Read budget targets, month-to-date spend and pacing. |
| Local Services Ads | lsa:read | Read aggregated Local Services Ads lead metrics (calls and messages), credits, response times and lead quality. |
| Calls | calls:read | Read aggregated CallRail and WhatConverts call metrics. No recordings, transcripts or caller details. |
| Search terms | search_terms:read | Read search term audits, flagged terms and negative keyword suggestions. |
| Signed cases | signed_cases:read | Read aggregated signed case counts, values and conversion rates. No case details. |
| Advertising | ads:read | Read stored campaign spend snapshots and performance monitoring alerts. |
| Integrations | integrations:read | Read which platforms are connected and their sync status. Never credentials. |
| Reporting | reporting:read | Read cross-feature overviews and client comparisons. |
Limits
| Limit | Value |
|---|---|
| Tool calls per minute, per LeadUp account | 120 |
| Tool calls per minute, per connected app | 90 |
| Concurrent tool calls per LeadUp account | 4 |
| Time limit per tool call | 20 seconds |
| Clients per bulk request | Up to 50 (some tools allow fewer; see each tool) |
| Page size | Up to 100 |
| Date range | Up 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:
| Field | Type | Description |
|---|---|---|
generatedAt | string | |
dateRange | object | |
dateRange.startDate | string | |
dateRange.endDate | string | |
dateRange.days | integer | |
dateRange.timezone | string | |
dateRange.defaulted | boolean | |
pagination | object | |
pagination.limit | integer | |
pagination.returned | integer | |
pagination.total | integer | |
pagination.nextCursor | string or null | |
partial | boolean | |
issues[] | array of objects | |
issues[].clientId | string or null | |
issues[].code | string | |
issues[].message | string | |
dataFreshness | object | |
dataFreshness.source | string | |
dataFreshness.asOf | string or null | |
dataFreshness.note | string | |
notes | array of string |
Errors
A failed call returns isError: true with{ error: { code, message, retryable, retryAfterSeconds? } }. Internal error details are never returned.
| Code | Retry | Meaning |
|---|---|---|
invalid_input | No | The arguments do not match the tool's input schema (unknown property, bad ID, date or range). |
not_found | No | The client or record does not exist, or belongs to another LeadUp account. The two cases are indistinguishable on purpose. |
insufficient_scope | No | The connection was not granted a permission this tool needs. Reconnect the app and approve the missing permission. |
feature_unavailable | No | None of the requested clients have the LeadUp feature this tool reads (for example LSA auditing or budget management). |
subscription_inactive | No | The LeadUp account has no active subscription or trial. Restore billing in LeadUp, then retry. |
operation_not_allowed | No | The request tried an operation the connection does not allow. Every LeadUp tool is read-only. |
rate_limited | Yes | Too many calls in a short time. Wait for retryAfterSeconds, then retry. |
timeout | Yes | The tool took too long. Narrow the date range or the number of clients and retry. |
upstream_unavailable | Yes | A platform LeadUp depends on did not answer. Retry later. |
tool_disabled | No | The tool is temporarily switched off by LeadUp. |
unauthenticated | No | The access token is missing, expired or revoked. The AI app has to sign in again. |
internal_error | Yes | An 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 accountslist_clients, get_client
- Integrationslist_integrations, get_client_integrations
- Budget managementget_budget_pacing
- Local Services Adsget_lsa_performance, get_lsa_lead_analytics, get_lsa_message_analytics
- Calls and intakeget_call_analytics, get_call_insights
- Search term auditingget_search_term_audit, list_search_terms, get_negative_keyword_recommendations
- Signed casesget_signed_case_summary, get_acquisition_cost
- Advertisingget_google_ads_lead_performance, get_campaign_spend_pacing, list_performance_alerts
- Reportingget_agency_overview, get_client_overview, compare_clients
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
| Name | Type | Default | Description |
|---|---|---|---|
feature | "lsa" | "searchTerms" | "budgets" | "callrail" | "whatconverts" | "forms" | Only clients with this LeadUp feature enabled. | |
search | string (1–100 chars) | Case-insensitive client name search. | |
tag | string (1–20 chars) | Only clients with this budget-management tag. | |
limit | integer (1–100) | 25 | Page size (1-100, default 25). |
cursor | string (≤ 200 chars) | Opaque cursor from a previous response's pagination.nextCursor. |
Response fields (15)
Field in data | Type | Description |
|---|---|---|
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].tags | array of string | |
clients[].features | object | |
clients[].features.lsa | boolean | Local Services Ads lead auditing |
clients[].features.searchTerms | boolean | Search term auditing |
clients[].features.budgets | boolean | Budget management / pacing |
clients[].features.callrail | boolean | CallRail call auditing |
clients[].features.whatconverts | boolean | WhatConverts call auditing |
clients[].features.forms | boolean | Form auditing |
clients[].platforms | array of string | Connected platforms, e.g. Google, Facebook, CallRail. |
clients[].groups | object | |
clients[].groups.lsa | string or null | LSA auditing folder/group name. |
clients[].groups.searchTerms | string or null | Search 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIdrequired | ID (24 hex characters) | LeadUp client ID (from list_clients). |
Response fields (34)
Field in data | Type | Description |
|---|---|---|
client | object | |
client.clientId | string | |
client.name | string | |
client.tags | array of string | |
client.features | object | |
client.features.lsa | boolean | Local Services Ads lead auditing |
client.features.searchTerms | boolean | Search term auditing |
client.features.budgets | boolean | Budget management / pacing |
client.features.callrail | boolean | CallRail call auditing |
client.features.whatconverts | boolean | WhatConverts call auditing |
client.features.forms | boolean | Form auditing |
client.platforms | array of string | Connected platforms, e.g. Google, Facebook, CallRail. |
client.groups | object | |
client.groups.lsa | string or null | LSA auditing folder/group name. |
client.groups.searchTerms | string or null | Search term auditing group name. |
client.createdAt | string or null | ISO 8601 timestamp, or null when unknown. |
client.timezone | string or null | Primary ad account time zone (Google, then Meta, then StackAdapt). |
client.accounts[] | array of objects | |
client.accounts[].platform | string | |
client.accounts[].accountId | string or null | |
client.accounts[].accountName | string or null | |
client.accounts[].currencyCode | string or null | |
client.accounts[].timezone | string or null | |
client.accounts[].budgetTrackingEnabled | boolean | |
client.budget | object | |
client.budget.isBudgetManaged | boolean | |
client.budget.monthlyBudget | number or null | Client-wide monthly budget target; null when not set. |
client.lsa | object | |
client.lsa.messageAutomationEnabled | boolean | |
client.lsa.autoFeedbackEnabled | boolean | |
client.lsa.callCategorizationEnabled | boolean | |
client.leadOutcomes | object | |
client.leadOutcomes.enabled | boolean | |
client.leadOutcomes.unitLabel | string or null | What 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 data | Type | Description |
|---|---|---|
connections[] | array of objects | |
connections[].provider | string | |
connections[].connected | boolean | |
connections[].detail | string or null | Non-sensitive context, e.g. the Slack workspace name. |
connections[].expiresAt | string or null | When the connection expires, if the provider issues expiring access. |
connections[].clientsUsing | integer | Clients 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array 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 data | Type | Description |
|---|---|---|
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].platforms[] | array of objects | |
clients[].platforms[].platform | string | |
clients[].platforms[].accountId | string or null | |
clients[].platforms[].syncError | string or null | Last sync error for this account, if any. |
clients[].adSpend | object | |
clients[].adSpend.lastSyncedAt | string or null | When ad spend was last refreshed. Spend is refreshed when someone opens budgets in LeadUp. |
clients[].adSpend.stale | boolean | True when spend was not refreshed today (client time zone). |
clients[].lsa | object | |
clients[].lsa.enabled | boolean | |
clients[].lsa.lastLeadSyncAt | string or null | ISO 8601 timestamp, or null when unknown. |
clients[].lsa.processingPaused | boolean | |
clients[].lsa.authError | boolean | |
clients[].lsa.messageSyncLastSuccessAt | string or null | ISO 8601 timestamp, or null when unknown. |
clients[].lsa.messageSyncAuthError | boolean | |
clients[].searchTerms | object | |
clients[].searchTerms.enabled | boolean | |
clients[].searchTerms.paused | boolean | |
clients[].searchTerms.lastProcessedDate | string or null | ISO 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–50 items) | Up to 50 client IDs. Omit to include every authorized client that has this feature enabled. | |
tag | string (1–20 chars) | Only clients with this budget tag. | |
includePlatforms | boolean | true | Include the per-platform breakdown. |
sortBy | "name" | "pacingPercentage" | "spendMtd" | "remainingBudget" | "name" |
Response fields (33)
Field in data | Type | Description |
|---|---|---|
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].tags | array of string | |
clients[].currencies | array of string | Currencies of the platforms summed into the client totals. |
clients[].mixedCurrencies | boolean | True when totals add amounts in different currencies; compare per platform instead. |
clients[].monthlyBudget | number or null | Monthly budget target; null when no target is set. |
clients[].spendMtd | number | Spend this month through yesterday. |
clients[].yesterdaySpend | number | |
clients[].spendPercentage | number or null | spendMtd / monthlyBudget x 100. |
clients[].remainingBudget | number or null | |
clients[].dailyTarget | number or null | Remaining budget / remaining active days. |
clients[].pacingPercentage | number or null | spendMtd / ideal spend to date x 100. 100 = on pace, >100 = overspending. |
clients[].period | object | |
clients[].period.description | string | |
clients[].period.currentDate | string | |
clients[].period.daysInMonth | integer | |
clients[].period.activeDaysSoFar | integer | |
clients[].period.activeDaysRemaining | integer | |
clients[].lastSyncedAt | string or null | ISO 8601 timestamp, or null when unknown. |
clients[].stale | boolean | True when spend was not refreshed today; figures may lag. |
clients[].platforms[] | array of objects | |
clients[].platforms[].platform | string | |
clients[].platforms[].accountId | string or null | |
clients[].platforms[].currencyCode | string or null | |
clients[].platforms[].monthlyBudget | number or null | Monthly budget target; null when no target is set. |
clients[].platforms[].spendMtd | number | Spend this month through yesterday. |
clients[].platforms[].yesterdaySpend | number | |
clients[].platforms[].spendPercentage | number or null | spendMtd / monthlyBudget x 100. |
clients[].platforms[].remainingBudget | number or null | |
clients[].platforms[].dailyTarget | number or null | Remaining budget / remaining active days. |
clients[].platforms[].pacingPercentage | number or null | spendMtd / ideal spend to date x 100. 100 = on pace, >100 = overspending. |
clients[].platforms[].syncError | string 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–50 items) | Up to 50 client IDs. Omit to include every authorized client that has this feature enabled. | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (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 data | Type | Description |
|---|---|---|
totals | object | |
totals.clients | integer | |
totals.totalLeads | integer | |
totals.goodLeads | integer | |
totals.badLeads | integer | |
totals.creditedLeads | integer | |
totals.creditedLeadsPercentage | number or null | |
totals.leadQualityPercentage | number or null | |
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].group | string or null | |
clients[].totalLeads | integer | |
clients[].calls | integer | |
clients[].messages | integer | |
clients[].goodLeads | integer | |
clients[].badLeads | integer | |
clients[].newLeads | integer | Leads from first-time contacts. |
clients[].creditedLeads | integer | Leads Google credited back (not charged). |
clients[].creditedLeadsPercentage | number | creditedLeads / totalLeads x 100. |
clients[].leadQualityPercentage | number | goodLeads / non-credited leads x 100. |
clients[].existingClientLeadsPercentage | number | Existing-customer leads / non-credited leads x 100. |
clients[].status | object | |
clients[].status.processingPaused | boolean | |
clients[].status.authError | boolean | |
clients[].status.autoFeedbackEnabled | boolean | |
clients[].status.messageAutomationEnabled | boolean |
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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–50 items) | Up to 50 client IDs. Omit to include every authorized client that has this feature enabled. | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (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. |
includeDaily | boolean | false | Include a per-day series (UTC days). |
Response fields (54)
Field in data | Type | Description |
|---|---|---|
scope | object | |
scope.clients | integer | |
scope.activityType | string | |
scope.chargeStatus | string | |
stats | object | |
stats.totalLeads | integer | |
stats.totalCalls | integer | |
stats.totalMessages | integer | |
stats.goodLeads | integer | |
stats.badLeads | integer | |
stats.unratedLeads | integer | |
stats.leadQualityRate | number or null | goodLeads / (goodLeads + badLeads) x 100; credited leads excluded. |
stats.callAnswerTime | object or null | Seconds until a person answered, answered calls only. |
stats.callAnswerTime.averageSeconds | number or null | |
stats.callAnswerTime.medianSeconds | number or null | |
stats.callAnswerTime.sampleSize | integer | |
stats.messageFirstResponseTime | object or null | Seconds from first inbound message to first reply. |
stats.messageFirstResponseTime.averageSeconds | number or null | |
stats.messageFirstResponseTime.medianSeconds | number or null | |
stats.messageFirstResponseTime.sampleSize | integer | |
qualificationOutcomes[] | array of objects | |
qualificationOutcomes[].label | string | |
qualificationOutcomes[].count | integer | |
objections | object | |
objections.callsWithObjections | integer | |
objections.items[] | array of objects | |
objections.items[].objection | string | |
objections.items[].count | integer | |
services | object | |
services.categorizedLeads | integer | |
services.uncategorizedLeads | integer | |
services.groups[] | array of objects | |
services.groups[].groupName | string | |
services.groups[].leads | integer | |
services.groups[].services[] | array of objects | |
services.groups[].services[].serviceName | string | |
services.groups[].services[].leads | integer | |
accounts[] | array of objects | |
accounts[].clientId | string | |
accounts[].name | string | |
accounts[].totalCalls | integer | |
accounts[].totalMessages | integer | |
accounts[].leadQualityRate | number or null | |
accounts[].existingClientPercentage | number or null | |
accounts[].averageCallDurationSeconds | number or null | |
accounts[].medianCallAnswerTimeSeconds | number or null | |
daily[] | array of objects | |
daily[].date | string | |
daily[].totalLeads | integer | |
daily[].totalCalls | integer | |
daily[].totalMessages | integer | |
daily[].goodLeads | integer | |
daily[].badLeads | integer | |
daily[].unratedLeads | integer |
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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–50 items) | Up to 50 client IDs. Omit to include every authorized client that has this feature enabled. | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (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 data | Type | Description |
|---|---|---|
totals | object | |
totals.conversations | integer | |
totals.goodLeads | integer | |
totals.badLeads | integer | |
totals.unratedLeads | integer | |
totals.leadQualityRate | number or null | |
totals.firstResponseTime | object or null | |
totals.firstResponseTime.averageSeconds | number or null | |
totals.firstResponseTime.medianSeconds | number or null | |
totals.firstResponseTime.sampleSize | integer | |
outcomes[] | array of objects | Qualification outcome labels assigned to conversations. |
outcomes[].label | string | |
outcomes[].count | integer | |
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].conversations | integer | |
clients[].leadQualityRate | number or null | |
clients[].messageAutomationEnabled | boolean |
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
| Name | Type | Default | Description |
|---|---|---|---|
sources | array of "callrail" | "whatconverts" (1–2 items) | ["callrail","whatconverts"] | Call-tracking providers to include. |
clientIds | array of ID (24 hex characters) (1–50 items) | Up to 50 client IDs. Omit to include every authorized client that has this feature enabled. | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (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 data | Type | Description |
|---|---|---|
sources[] | array of objects | |
sources[].source | "callrail" | "whatconverts" | |
sources[].clients | integer | |
sources[].totalCalls | integer | |
sources[].goodLeads | integer | |
sources[].leadQualityPercentage | number or null | goodLeads / totalCalls x 100. |
sources[].firstTimeCallers | number or null | Calls flagged as first-time callers; null when filtered to specific clients. |
sources[].averageCallDurationSeconds | number or null | Null when filtered to specific clients. |
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].source | "callrail" | "whatconverts" | |
clients[].totalCalls | integer | |
clients[].goodLeads | integer | |
clients[].leadQualityPercentage | number or null | |
clients[].qualityTrendPercent | number | Relative change in lead quality rate vs the previous period of equal length. |
clients[].lastCallAt | string or null | ISO 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
| Name | Type | Default | Description |
|---|---|---|---|
source | "callrail" | "whatconverts" | "callrail" | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (YYYY-MM-DD) | Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set. |
Response fields (58)
Field in data | Type | Description |
|---|---|---|
source | "callrail" | "whatconverts" | |
summary | object | |
summary.totalCalls | integer | |
summary.answeredCalls | integer | |
summary.missedCalls | integer | |
summary.missedCallRate | number or null | |
summary.goodLeads | integer | |
summary.leadQualityPercentage | number or null | |
summary.averageCallDurationSeconds | number or null | |
summary.callsPerDay | number or null | |
byHour[] | array of objects | |
byHour[].hour | integer | |
byHour[].totalCalls | integer | |
byHour[].answeredCalls | integer | |
byHour[].goodLeads | integer | |
byHour[].answerRate | number or null | answeredCalls / totalCalls x 100. |
byWeekday[] | array of objects | |
byWeekday[].weekday | string | |
byWeekday[].totalCalls | integer | |
byWeekday[].answeredCalls | integer | |
byWeekday[].goodLeads | integer | |
byWeekday[].answerRate | number or null | answeredCalls / totalCalls x 100. |
callerType[] | array of objects | |
callerType[].firstTimeCaller | boolean or null | |
callerType[].totalCalls | integer | |
callerType[].answeredCalls | integer | |
callerType[].goodLeads | integer | |
callerType[].answerRate | number or null | answeredCalls / totalCalls x 100. |
leadQualityByDay[] | array of objects | |
leadQualityByDay[].date | string | |
leadQualityByDay[].answeredCalls | integer | |
leadQualityByDay[].goodLeads | integer | |
topClients[] | array of objects | |
topClients[].clientId | string | |
topClients[].name | string | |
topClients[].totalCalls | integer | |
topClients[].answeredCalls | integer | |
topClients[].goodLeads | integer | |
topClients[].answerRate | number or null | answeredCalls / totalCalls x 100. |
bottomClients[] | array of objects | |
bottomClients[].clientId | string | |
bottomClients[].name | string | |
bottomClients[].totalCalls | integer | |
bottomClients[].answeredCalls | integer | |
bottomClients[].goodLeads | integer | |
bottomClients[].answerRate | number or null | answeredCalls / totalCalls x 100. |
bestSearchTerms[] | array of objects | |
bestSearchTerms[].searchTerm | string | |
bestSearchTerms[].totalCalls | integer | |
bestSearchTerms[].answeredCalls | integer | |
bestSearchTerms[].goodLeads | integer | |
bestSearchTerms[].answerRate | number or null | answeredCalls / totalCalls x 100. |
worstSearchTerms[] | array of objects | |
worstSearchTerms[].searchTerm | string | |
worstSearchTerms[].totalCalls | integer | |
worstSearchTerms[].answeredCalls | integer | |
worstSearchTerms[].goodLeads | integer | |
worstSearchTerms[].answerRate | number or null | answeredCalls / 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array 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 data | Type | Description |
|---|---|---|
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].group | string or null | |
clients[].paused | boolean | |
clients[].totalSearchTerms | integer | |
clients[].suggestedNegatives | integer | Flagged irrelevant terms with a suggested negative, not yet pushed or dismissed. |
clients[].activeNegatives | integer | |
clients[].pushedNegatives | integer | Negatives already added to Google Ads from LeadUp. |
clients[].cleanTermsPercentage | number or null | (totalSearchTerms - suggestedNegatives) / totalSearchTerms x 100. |
clients[].campaigns | integer | |
clients[].processingCampaigns | integer | |
clients[].erroredCampaigns | integer | |
clients[].lastAnalysisCompletedAt | string or null | ISO 8601 timestamp, or null when unknown. |
clients[].nextScheduledRunAt | string or null | ISO 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIdrequired | ID (24 hex characters) | LeadUp client ID (from list_clients). | |
status | "all" | "relevant" | "flagged" | "pushed" | "dismissed" | "all" | |
campaignId | ID (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" | ||
minSpend | number (≥ 0) | ||
minClicks | integer (≥ 0) | ||
sortBy | "spend" | "clicks" | "impressions" | "conversions" | "spend" | |
limit | integer (1–100) | 25 | Page size (1-100, default 25). |
cursor | string (≤ 200 chars) | Opaque cursor from a previous response's pagination.nextCursor. |
Response fields (31)
Field in data | Type | Description |
|---|---|---|
client | object | |
client.clientId | string | |
client.name | string | |
campaigns[] | array of objects | |
campaigns[].campaignId | string | |
campaigns[].name | string | |
campaigns[].type | string | |
campaigns[].analysisStatus | string | |
campaigns[].analysisWindowStart | string or null | ISO 8601 timestamp, or null when unknown. |
campaigns[].analysisWindowEnd | string or null | ISO 8601 timestamp, or null when unknown. |
terms[] | array of objects | |
terms[].clientId | string | |
terms[].campaignId | string | |
terms[].campaignName | string | |
terms[].campaignType | string | |
terms[].adGroupName | string or null | |
terms[].term | string | |
terms[].matchType | string or null | |
terms[].keyword | string or null | Keyword that triggered the term (Search campaigns). |
terms[].status | "relevant" | "flagged" | "pushed" | "dismissed" | |
terms[].flagCategory | string or null | |
terms[].suggestedNegative | object or null | |
terms[].suggestedNegative.keyword | string | |
terms[].suggestedNegative.matchType | string or null | |
terms[].metrics | object | |
terms[].metrics.impressions | number | |
terms[].metrics.clicks | number | |
terms[].metrics.spend | number | |
terms[].metrics.averageCpc | number | |
terms[].metrics.conversions | number | |
terms[].metrics.conversionValue | number |
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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–20 items) | Up to 20 client IDs. Omit to include every authorized client that has this feature enabled. | |
minSpend | number (≥ 0) | Only suggestions blocking at least this much spend. | |
limitPerClient | integer (1–100) | 25 |
Response fields (17)
Field in data | Type | Description |
|---|---|---|
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].totalSuggestions | integer | |
clients[].wastedSpend | number | Spend on terms covered by the returned suggestions. |
clients[].recommendations[] | array of objects | |
clients[].recommendations[].keyword | string | |
clients[].recommendations[].matchType | string or null | |
clients[].recommendations[].flagCategories | array of string | |
clients[].recommendations[].campaigns[] | array of objects | |
clients[].recommendations[].campaigns[].campaignId | string | |
clients[].recommendations[].campaigns[].name | string | |
clients[].recommendations[].matchedTerms | integer | |
clients[].recommendations[].exampleTerms | array of string | |
clients[].recommendations[].spend | number | |
clients[].recommendations[].clicks | number | |
clients[].recommendations[].conversions | number |
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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–50 items) | Up to 50 client IDs. Omit to include every authorized client that has this feature enabled. | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (YYYY-MM-DD) | Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set. |
Response fields (42)
Field in data | Type | Description |
|---|---|---|
available | boolean | False when no included client tracks lead outcomes. |
unitLabel | string or null | |
clientsTrackingOutcomes | integer | |
totals | object or null | |
totals.leads | integer | LSA leads in the range (the conversion denominator). |
totals.signedLeads | integer | Leads that produced at least one signed unit. |
totals.signedUnits | integer | Signed units (cases, jobs, patients). One lead can produce several. |
totals.reportedRevenue | number | Sum of values entered on signed units. |
totals.estimatedRevenue | number or null | Reported revenue plus configured average values for units with no value; null when no averages are configured. |
totals.signedLeadRate | number or null | signedLeads / leads x 100. |
totals.goodLeads | integer | |
totals.signedQualifiedLeads | integer | Signed leads that were also rated good. |
totals.qualifiedLeadSignRate | number or null | signedQualifiedLeads / goodLeads x 100. |
totals.lostUnits | integer | |
totals.openUnits | integer | |
totals.medianDaysToSign | number or null | |
byChannel | object or null | |
byChannel.call | object | |
byChannel.call.signedLeads | integer | |
byChannel.call.signedUnits | integer | |
byChannel.call.reportedRevenue | number | |
byChannel.message | object | |
byChannel.message.signedLeads | integer | |
byChannel.message.signedUnits | integer | |
byChannel.message.reportedRevenue | number | |
byService[] | array of objects | |
byService[].groupName | string | |
byService[].leads | integer | LSA leads in the range (the conversion denominator). |
byService[].signedLeads | integer | Leads that produced at least one signed unit. |
byService[].signedUnits | integer | Signed units (cases, jobs, patients). One lead can produce several. |
byService[].reportedRevenue | number | Sum of values entered on signed units. |
byService[].estimatedRevenue | number or null | Reported revenue plus configured average values for units with no value; null when no averages are configured. |
byService[].signedLeadRate | number or null | signedLeads / leads x 100. |
byClient[] | array of objects | |
byClient[].clientId | string | |
byClient[].name | string | |
byClient[].leads | integer | LSA leads in the range (the conversion denominator). |
byClient[].signedLeads | integer | Leads that produced at least one signed unit. |
byClient[].signedUnits | integer | Signed units (cases, jobs, patients). One lead can produce several. |
byClient[].reportedRevenue | number | Sum of values entered on signed units. |
byClient[].estimatedRevenue | number or null | Reported revenue plus configured average values for units with no value; null when no averages are configured. |
byClient[].signedLeadRate | number or null | signedLeads / 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–20 items) | Up to 20 client IDs. Omit to include every authorized client that has this feature enabled. | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (YYYY-MM-DD) | Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set. |
Response fields (21)
Field in data | Type | Description |
|---|---|---|
totals | object | |
totals.currencyCode | string or null | |
totals.spend | number or null | LSA spend from Google Ads; null when it could not be read. |
totals.leads | integer | |
totals.goodLeads | integer | |
totals.signedUnits | integer | |
totals.costPerLead | number or null | |
totals.costPerQualifiedLead | number or null | |
totals.costPerAcquisition | number or null | spend / signedUnits. |
totals.mixedCurrencies | boolean | |
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].currencyCode | string or null | |
clients[].spend | number or null | LSA spend from Google Ads; null when it could not be read. |
clients[].leads | integer | |
clients[].goodLeads | integer | |
clients[].signedUnits | integer | |
clients[].costPerLead | number or null | |
clients[].costPerQualifiedLead | number or null | |
clients[].costPerAcquisition | number or null | spend / 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array of ID (24 hex characters) (1–10 items) | Up to 10 client IDs. Omit to include every authorized client that has this feature enabled. | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (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. |
channels | array of "calls" | "forms" (1–2 items) | ["calls","forms"] | |
campaign | string (1–120 chars) | Only campaigns whose name contains this text. | |
attributedOnly | boolean | false | Only rows with at least one resolved Google Ads click. |
minLeads | integer (1–10000) | ||
sortBy | "leads" | "goodLeads" | "leadQualityRate" | "signedUnits" | "leads" | |
limit | integer (1–100) | 25 | Page size (1-100, default 25). |
cursor | string (≤ 200 chars) | Opaque cursor from a previous response's pagination.nextCursor. |
Response fields (35)
Field in data | Type | Description |
|---|---|---|
level | "campaign" | "ad_group" | "keyword" | |
totals | object | |
totals.groups | integer | |
totals.leads | integer | |
totals.calls | integer | |
totals.forms | integer | |
totals.goodLeads | integer | |
totals.badLeads | integer | |
totals.leadQualityRate | number or null | |
totals.googleAdsClickShare | number or null | |
totals.signedUnits | integer or null | |
rows[] | array of objects | |
rows[].clientId | string | |
rows[].clientName | string | |
rows[].campaign | string | Google Ads campaign name, or the tracked UTM/last-touch campaign; "Uncategorized" when none. |
rows[].adGroup | string or null | Only for resolved Google Ads clicks; null otherwise. |
rows[].keyword | string | |
rows[].matchTypes | array of string | |
rows[].campaignType | string or null | |
rows[].googleCampaignIds | array of string | Google Ads campaign IDs seen on resolved clicks. |
rows[].leads | integer | |
rows[].calls | integer | |
rows[].forms | integer | |
rows[].goodLeads | integer | |
rows[].badLeads | integer | |
rows[].unratedLeads | integer | |
rows[].leadQualityRate | number or null | goodLeads / (goodLeads + badLeads) x 100. |
rows[].goodLeadShare | number or null | goodLeads / leads x 100 (the CallRail dashboard's lead quality). |
rows[].googleAdsClickLeads | integer | Leads matched to a Google Ads click (GCLID). |
rows[].googleAdsClickShare | number or null | |
rows[].existingClientCalls | integer | |
rows[].firstTimeCalls | integer | |
rows[].formConversionsPushed | integer | Form leads uploaded to Google Ads as conversions. |
rows[].signedUnits | integer or null | Signed units (cases, jobs...) from these leads; null when outcome tracking is off. |
rows[].signedUnitRate | number 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIds | array 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" | |
limit | integer (1–100) | 25 | Page size (1-100, default 25). |
cursor | string (≤ 200 chars) | Opaque cursor from a previous response's pagination.nextCursor. |
Response fields (20)
Field in data | Type | Description |
|---|---|---|
campaigns[] | array of objects | |
campaigns[].clientId | string | |
campaigns[].clientName | string | |
campaigns[].platform | string | |
campaigns[].accountId | string or null | |
campaigns[].currencyCode | string or null | |
campaigns[].campaignId | string or null | |
campaigns[].name | string | |
campaigns[].type | string or null | |
campaigns[].status | string or null | |
campaigns[].servingStatus | string or null | |
campaigns[].monthlyBudget | number or null | |
campaigns[].dailyBudget | number or null | |
campaigns[].spendMtd | number | |
campaigns[].yesterdaySpend | number | |
campaigns[].spendPercentage | number or null | |
campaigns[].pacingPercentage | number or null | |
campaigns[].dailyTarget | number or null | |
campaigns[].tags | array of string | |
campaigns[].lastSyncedAt | string or null | ISO 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
| Name | Type | Default | Description |
|---|---|---|---|
clientId | ID (24 hex characters) | LeadUp client ID (from list_clients). | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (YYYY-MM-DD) | Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set. | |
limit | integer (1–100) | 25 | Page size (1-100, default 25). |
cursor | string (≤ 200 chars) | Opaque cursor from a previous response's pagination.nextCursor. |
Response fields (28)
Field in data | Type | Description |
|---|---|---|
alerts[] | array of objects | |
alerts[].alertId | string | |
alerts[].clientId | string | |
alerts[].clientName | string or null | |
alerts[].ruleName | string or null | |
alerts[].platform | string or null | |
alerts[].accountId | string or null | |
alerts[].accountName | string or null | |
alerts[].entityScope | string | |
alerts[].entityName | string or null | |
alerts[].triggeredAt | string or null | ISO 8601 timestamp, or null when unknown. |
alerts[].window | object | |
alerts[].window.start | string or null | ISO 8601 timestamp, or null when unknown. |
alerts[].window.end | string or null | ISO 8601 timestamp, or null when unknown. |
alerts[].window.label | string or null | |
alerts[].window.comparisonLabel | string or null | |
alerts[].conditions[] | array of objects | |
alerts[].conditions[].metric | string or null | |
alerts[].conditions[].operator | string or null | |
alerts[].conditions[].threshold | number or null | |
alerts[].conditions[].actual | number or null | |
alerts[].conditions[].comparisonValue | number or null | |
alerts[].conditions[].changePercent | number or null | |
alerts[].affectedEntities | integer | |
alerts[].investigation | object or null | |
alerts[].investigation.status | string or null | |
alerts[].investigation.verdict | string or null | |
alerts[].investigation.headline | string or null | AI-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 data | Type | Description |
|---|---|---|
clients | object | |
clients.total | integer | |
clients.byFeature | object | |
clients.byFeature.lsa | integer | |
clients.byFeature.searchTerms | integer | |
clients.byFeature.budgets | integer | |
clients.byFeature.callrail | integer | |
clients.byFeature.whatconverts | integer | |
clients.byFeature.forms | integer | |
spendMtd | number | Sum of stored month-to-date spend over all connected ad accounts (mixed currencies are summed as-is). |
calls | object | |
calls.thisMonth | integer | |
calls.today | integer | |
calls.monthOverMonthTrendPercent | number | Calls this month vs the same days last month, in %. 0 when last month had none. |
calls.activeClientsThisMonth | integer | Clients 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
| Name | Type | Default | Description |
|---|---|---|---|
clientIdrequired | ID (24 hex characters) | LeadUp client ID (from list_clients). | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (YYYY-MM-DD) | Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set. |
Response fields (44)
Field in data | Type | Description |
|---|---|---|
client | object | |
client.clientId | string | |
client.name | string | |
client.features | object | |
client.features.lsa | boolean | Local Services Ads lead auditing |
client.features.searchTerms | boolean | Search term auditing |
client.features.budgets | boolean | Budget management / pacing |
client.features.callrail | boolean | CallRail call auditing |
client.features.whatconverts | boolean | WhatConverts call auditing |
client.features.forms | boolean | Form auditing |
client.budgets | object or null | |
client.budgets.monthlyBudget | number or null | |
client.budgets.spendMtd | number | |
client.budgets.pacingPercentage | number or null | |
client.budgets.remainingBudget | number or null | |
client.budgets.currencies | array of string | |
client.budgets.lastSyncedAt | string or null | ISO 8601 timestamp, or null when unknown. |
client.budgets.stale | boolean | |
client.lsa | object or null | |
client.lsa.totalLeads | integer | |
client.lsa.goodLeads | integer | |
client.lsa.creditedLeads | integer | |
client.lsa.leadQualityPercentage | number | |
client.lsa.creditedLeadsPercentage | number | |
client.calls[] | array of objects | |
client.calls[].source | string | |
client.calls[].totalCalls | integer | |
client.calls[].goodLeads | integer | |
client.calls[].leadQualityPercentage | number or null | |
client.calls[].qualityTrendPercent | number | |
client.searchTerms | object or null | |
client.searchTerms.totalSearchTerms | integer | |
client.searchTerms.suggestedNegatives | integer | |
client.searchTerms.pushedNegatives | integer | |
client.searchTerms.cleanTermsPercentage | number or null | |
client.signedCases | object or null | |
client.signedCases.leads | integer | |
client.signedCases.signedLeads | integer | |
client.signedCases.signedUnits | integer | |
client.signedCases.reportedRevenue | number | |
client.signedCases.signedLeadRate | number or null | |
omittedSections[] | array of objects | |
omittedSections[].section | string | |
omittedSections[].reason | string |
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
| Name | Type | Default | Description |
|---|---|---|---|
clientIdsrequired | array of ID (24 hex characters) (2–20 items) | ||
sections | array of "budgets" | "lsa" | "calls" | "searchTerms" | "signedCases" (1–5 items) | ["budgets","lsa","calls"] | |
startDate | date (YYYY-MM-DD) | Inclusive start date (YYYY-MM-DD, UTC). Omit both dates for the last 30 days. | |
endDate | date (YYYY-MM-DD) | Inclusive end date (YYYY-MM-DD, UTC). Required when startDate is set. |
Response fields (44)
Field in data | Type | Description |
|---|---|---|
clients[] | array of objects | |
clients[].clientId | string | |
clients[].name | string | |
clients[].features | object | |
clients[].features.lsa | boolean | Local Services Ads lead auditing |
clients[].features.searchTerms | boolean | Search term auditing |
clients[].features.budgets | boolean | Budget management / pacing |
clients[].features.callrail | boolean | CallRail call auditing |
clients[].features.whatconverts | boolean | WhatConverts call auditing |
clients[].features.forms | boolean | Form auditing |
clients[].budgets | object or null | |
clients[].budgets.monthlyBudget | number or null | |
clients[].budgets.spendMtd | number | |
clients[].budgets.pacingPercentage | number or null | |
clients[].budgets.remainingBudget | number or null | |
clients[].budgets.currencies | array of string | |
clients[].budgets.lastSyncedAt | string or null | ISO 8601 timestamp, or null when unknown. |
clients[].budgets.stale | boolean | |
clients[].lsa | object or null | |
clients[].lsa.totalLeads | integer | |
clients[].lsa.goodLeads | integer | |
clients[].lsa.creditedLeads | integer | |
clients[].lsa.leadQualityPercentage | number | |
clients[].lsa.creditedLeadsPercentage | number | |
clients[].calls[] | array of objects | |
clients[].calls[].source | string | |
clients[].calls[].totalCalls | integer | |
clients[].calls[].goodLeads | integer | |
clients[].calls[].leadQualityPercentage | number or null | |
clients[].calls[].qualityTrendPercent | number | |
clients[].searchTerms | object or null | |
clients[].searchTerms.totalSearchTerms | integer | |
clients[].searchTerms.suggestedNegatives | integer | |
clients[].searchTerms.pushedNegatives | integer | |
clients[].searchTerms.cleanTermsPercentage | number or null | |
clients[].signedCases | object or null | |
clients[].signedCases.leads | integer | |
clients[].signedCases.signedLeads | integer | |
clients[].signedCases.signedUnits | integer | |
clients[].signedCases.reportedRevenue | number | |
clients[].signedCases.signedLeadRate | number or null | |
omittedSections[] | array of objects | |
omittedSections[].section | string | |
omittedSections[].reason | string |
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 asaccountId. - Dates: inclusive
YYYY-MM-DDcalendar 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 withmixedCurrencies: true. - null vs 0:
nullmeans "not available / cannot be computed" (for example a rate with a zero denominator, or spend that could not be read).0is 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).
Related articles
- AI Agents · GuideConnect ChatGPT, Claude, and Other AI AssistantsAdd LeadUp as a custom connector in ChatGPT, Claude, or any MCP client, sign in, approve read-only access, and confirm the connection works.
- AI Agents · ReferenceMCP Authentication, Permissions, and Data AccessHow LeadUp's MCP server authenticates AI apps with OAuth, which permissions it grants, how tokens work, and which data it never returns.
- AI Agents · GuideExample Prompts for AI Assistants Connected to LeadUpCopy-ready prompts for ChatGPT, Claude, and other assistants connected to LeadUp, grouped by agency job, with the tools each prompt uses.
- Troubleshooting · TroubleshootingFix AI Assistant Connection ProblemsSolutions for MCP connection errors with ChatGPT, Claude, and other assistants, including sign-in loops, inactive subscriptions, missing data, and rate limits.