The Pendo MCP connector routes your AI agent's tool calls to Pendo's own MCP server through Scalekit. Each user signs in to Pendo once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 52 tools.
- Tools
- 52
- What they doRead · write · destructive
- 45 · 7 · 045 read7 write0 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
What you can do
- Analyze product usage: measure page, feature, and track event usage over time, rank them, and calculate the Product Engagement Score
- Track retention and funnels: build retention curves, count new users, and measure conversion through step-by-step funnels
- Measure guide performance: rank in-app guides by usage and read poll responses and per-visitor guide views
- Explore visitors and accounts: list visitors and accounts by segment, search accounts by name, and view metadata fields
- Analyze AI agent conversations: review key metrics, detected issues, and use cases for AI agents deployed in an app
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Pendo MCP connection
In AgentKit > Connections, create a Pendo MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for Pendo MCP server, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'pendomcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Pendo MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'pendomcp_listallapplications',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "pendomcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Pendo MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="pendomcp_listallapplications",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolpendomcp_accountmetadataschemaReturn the set of metadata fields available for accounts.Read-onlyAccountMetadataSchema
Return the set of metadata fields available for accounts.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_acquisitiontrendCount new visitors or accounts per period - users whose first-ever interaction with the app (scope='app'), a specific page or feature (scope='page' or 'feature'), or a track event (scope='trackEvent') falls within the analysis window.Read-onlyacquisitionTrend
Count new visitors or accounts per period - users whose first-ever interaction with the app (scope='app'), a specific page or feature (scope='page' or 'feature'), or a track event (scope='trackEvent') falls within the analysis window. 'New' means firstTime within the window; this measures acquisition, not retention. The window is the most recent periodCount periods of size periodType (e.g. the last 6 months). Cohorts are returned oldest to newest. USE FOR: Growth and acquisition questions - e.g. 'how many new accounts did we gain last month?', 'what's our new visitor trend?'. EXAMPLES: - How many new accounts did we gain last month? - What's our new visitor trend over the last 6 months? - How many new users signed up this quarter? - Show me account acquisition for this feature over the last 8 weeks RETURNS: - scope, entityId, unit, periodType: echoed query parameters - acquisition: list of {cohortLabel, newCount} per period, sorted oldest to newest - summary: {totalNew, peakCohort, peakCount}
Inputs
appIdstringrequired- Application ID to scope the request.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
entityIdstring- Pendo entity id. Required when scope is 'page', 'feature', or 'trackEvent'; ignored for 'app'.
includeAnonymousboolean- Whether to include anonymous visitors. Defaults to false.default
false periodCountnumber- Number of periods in the analysis window. Defaults to 6. The window may not exceed ~1 year: max 366 for 'day', 52 for 'week', 12 for 'month'.default
6 periodTypestring- Period granularity. Defaults to 'month'.one of
dayweekmonth scopestring- 'app' for app-level acquisition, or 'page', 'feature', or 'trackEvent' for entity-level. Defaults to 'app'.one of
apppagefeaturetrackEvent segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
unitstring- Count individual visitors or accounts. Defaults to 'visitor'.one of
visitoraccount userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_agentanalyticsconversationanalysisLists and ranks individual AI agent conversations with per-conversation metrics.Read-onlyagentAnalyticsConversationAnalysis
Lists and ranks individual AI agent conversations with per-conversation metrics. Returns one row per conversation with: conversationId, visitorId, accountId, startTime, numRagePrompts, numErrors, and firstPromptContent. Supports filtering to a specific set of conversations and sorting by rage prompt count, error count, or date. USE FOR: Drilling down from aggregate metrics to individual conversation-level investigation - surfacing which specific conversations are driving a metric such as a high rage-prompt rate. When conversationIds are provided, the list is narrowed to a specific cluster (e.g. conversations associated with a detected issue or a use case). EXAMPLES: - Show me the conversations with the most rage prompts for my chat agent - Which conversations had the most errors this week? - List the most recent conversations for agent X - Show me these specific conversations: [id1, id2, id3] NOT FOR: Aggregate volume metrics for an agent. Diagnosing an issue cluster (explanations, tools invoked, response patterns). Discovering or clustering use cases. RETURNS: - [conversations]: one row per conversation with conversationId, visitorId, accountId, startTime, numRagePrompts, numErrors, firstPromptContent. The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID. Used to scope the lookup to the correct agent.
appIdstringrequired- Application ID to scope the request.
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
conversationIdsarray- Optional list of conversation IDs to filter to. When provided, only these conversations are returned - use to scope to a specific cluster of related conversations.
limitnumber- Maximum number of conversations to return. Range: 1-500. Default: 50.default
50 segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortBystring- Field to sort conversations by (descending). ragePromptCount: most rage prompts first. errorCount: most errors first. first: most recent conversations first (by conversation start time).one of
ragePromptCounterrorCountfirstdefaultragePromptCount userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_agentanalyticsissueanalysisRequires startDate and endDate (YYYY-MM-DD); there is no default range.Read-onlyagentAnalyticsIssueAnalysis
Requires startDate and endDate (YYYY-MM-DD); there is no default range. Returns issue diagnoses, flagged response tool/model usage, and user prompt content for the events of a specific detected issue cluster in AI Agent Analytics. Executes a single aggregation with two parallel spawn branches: (1) agenticConversationEvents filtered by conversationIds - deduplicated visitorIds/accountIds and sampled explanations; (2) agenticEvents - tools/models from flagged response eventIds, and prompt content from issue conversationIds. USE FOR: Diagnosing a specific detected issue cluster when agentId, conversationIds, and eventIds are already known. Use when the user wants to understand why conversations were flagged, see patterns in user prompts that triggered the issue, or identify which tools and models were involved in the flagged responses. EXAMPLES: - What patterns exist among instances of the 'incorrect answers' issue? - Which tools were called in instances of the 'timeout error' issue? - Show me what users said in conversations flagged as the 'authentication failure' issue - Why does the 'formatting problem' issue keep occurring in my agent? NOT FOR: Discovering or listing issue clusters (this tool diagnoses a cluster whose conversationIds and eventIds are already provided). Aggregate volume metrics for an agent. Topic analysis or use-case clustering of conversations (this tool is scoped to a single detected issue, not to open-ended topic modeling). RETURNS: - Four labeled CSV sections: - [issue_instances]: visitorIds, accountIds - one summary row with deduplicated lists. - [explanations]: explanation - one row per sampled issue explanation (capped for MCP size). - [flagged_response_events]: issueToolsUsed, issueModelsUsed - one summary row with deduplicated lists. - [user_prompts]: content - one row per sampled user prompt message (capped for MCP size). The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID. Used to scope the lookup to the correct agent.
appIdstringrequired- Application ID to scope the request.
conversationIdsarrayrequired- List of conversation IDs belonging to the issue cluster to diagnose.
endDatestringrequired- Query end date in YYYY-MM-DD format (e.g., '2025-01-31'). Inclusive.
eventIdsarrayrequired- List of event IDs belonging to the issue cluster to diagnose - the agent response event IDs flagged as instances of this issue.
startDatestringrequired- Query start date in YYYY-MM-DD format (e.g., '2025-01-01'). Inclusive.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_agentanalyticskeymetricsReturns key aggregate metrics for AI agent conversations with period-over-period comparison.Read-onlyagentAnalyticsKeyMetrics
Returns key aggregate metrics for AI agent conversations with period-over-period comparison. Includes: conversations, visitors, accounts, prompts, rage prompt rates (per-prompt and per-conversation), visitorIds, accountIds, and visitor retention. All metrics include previous-period equivalents for trend analysis. USE FOR: Getting a high-level summary of AI agent usage and engagement. Use when the user asks about overall agent performance, conversation volume, visitor engagement, rage prompt rates, or retention for a specific agent. EXAMPLES: - How many conversations has my ABC agent had in the last 30 days? - What is the rage prompt rate for Acme agent this month? - Show me key metrics and trends for my chat agent over the past 2 weeks. - How many unique visitors have used my chat agent recently? NOT FOR: Use listUseCases for topic/cluster analysis. Use listAiAgentIssues for issue detection. Use listAiAgents to get agent IDs and names first when the user has not specified an agent. RETURNS: - Current period: numConversations, numPrompts, numVisitors, numAccounts, numRagePrompts, ragePromptsRate, ragePromptsConversationRate, retention (retentionRate, retained, visitors), visitorIds, and accountIds. - Previous period (same duration, immediately prior): prevNumConversations, prevNumPrompts, prevNumVisitors, prevNumAccounts, prevNumRagePrompts, prevRagePromptsRate, prevRagePromptsConversationRate, prevRetention. - Also includes conversationsWithRagePrompts and prevConversationsWithRagePrompts. The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- Required. The AI agent ID to get metrics for (from listAiAgents).
endDatestringrequired- Query end date in YYYY-MM-DD format (e.g., '2025-01-31'). Inclusive.
startDatestringrequired- Query start date in YYYY-MM-DD format (e.g., '2025-01-01'). Inclusive.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_agentanalyticstrackedissueanalysisDeep-dives into a single tracked issue in AI Agent Analytics for a specific AI agent, surfacing the visitors and accounts, sampled issue explanations from detected issue clusters, the tools and models the agent invoked, and a sample of the user prompts associated with the tracked issue.Read-onlyagentAnalyticsTrackedIssueAnalysis
Deep-dives into a single tracked issue in AI Agent Analytics for a specific AI agent, surfacing the visitors and accounts, sampled issue explanations from detected issue clusters, the tools and models the agent invoked, and a sample of the user prompts associated with the tracked issue. USE FOR: Deep-diving into a specific tracked issue - call directly if agentId is known and conversationIds, eventIds, and trackedIssueId are passed. Use when the user wants to understand what prompts users sent for a tracked problem, which tools and models the agent invoked, or which visitors and accounts are associated with a tracked issue. EXAMPLES: - What are users actually saying when they hit the 'incorrect answer' tracked issue? - Which tools does my agent use when the 'timeout error' tracked issue occurs? - Who are the visitors affected by this tracked issue? - Show me sample prompts from this tracked issue. NOT FOR: Aggregate volume metrics, or diagnosing detected (auto-clustered) issues rather than a specific tracked issue. RETURNS: - Four labeled CSV sections: - [tracked_issue_summary]: visitorIds, accountIds - one summary row with deduplicated lists. - [explanations]: explanation - one row per sampled issue explanation from detected issue clusters (capped for MCP size). - [tools_used]: toolsUsed, modelsUsed - one summary row with deduplicated lists. - [prompt_samples]: content - one row per sampled user prompt message (capped for MCP size). The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID. Used to scope the lookup to the correct agent.
appIdstringrequired- Application ID to scope the request.
conversationIdsarrayrequired- List of conversation IDs for the tracked issue.
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
eventIdsarrayrequired- List of event IDs for the tracked issue (prompt-type events).
namestringrequired- The tracked issue name.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
trackedIssueIdstringrequired- The tracked issue ID to analyze.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_agentanalyticstrackedusecaseanalysisDeep-dives into a single tracked use case in AI Agent Analytics for a specific AI agent, surfacing the visitors and accounts, the tools and models the agent invoked, sampled explanations, and a sample of the user prompts associated with the tracked use case.Read-onlyagentAnalyticsTrackedUseCaseAnalysis
Deep-dives into a single tracked use case in AI Agent Analytics for a specific AI agent, surfacing the visitors and accounts, the tools and models the agent invoked, sampled explanations, and a sample of the user prompts associated with the tracked use case. USE FOR: Deep-diving into a specific tracked use case - call directly if agentId is known and conversationIds, eventIds, and trackedUseCaseId are passed. Use when the user wants to understand what prompts users sent for a tracked topic, which tools and models the agent invoked, or which visitors and accounts are associated with a tracked use case. EXAMPLES: - What are users actually asking in the 'dashboard help' tracked use case? - Which tools does my agent use when handling this tracked use case? - Who are the visitors in this tracked use case? - Show me sample prompts from this tracked use case. NOT FOR: Aggregate volume metrics across use cases, or issue diagnosis - this tool deep-dives a single tracked use case. RETURNS: - Four labeled CSV sections: - [tracked_use_case_summary]: visitorIds, accountIds - one summary row with deduplicated lists. - [explanations]: explanation - one row per sampled explanation (capped for MCP size). - [tools_used]: toolsUsed, modelsUsed - one summary row with deduplicated lists. - [prompt_samples]: content - one row per sampled user prompt message (capped for MCP size). The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID. Used to scope the lookup to the correct agent.
appIdstringrequired- Application ID to scope the request.
conversationIdsarrayrequired- List of conversation IDs for the tracked use case.
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
eventIdsarrayrequired- List of event IDs for the tracked use case (prompt-type events).
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
trackedUseCaseIdstringrequired- The tracked use case ID to filter subrows.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_aggregateentityusageRank pages, features, or track events against each other by aggregate usage over a date range.Read-onlyaggregateEntityUsage
Rank pages, features, or track events against each other by aggregate usage over a date range. This is a cross-entity ranking tool, not a lookup or single-entity analytics tool: it cannot filter by entity name or ID, and its limited result set may omit a requested named entity even when that entity exists. Where entityUsage returns per-visitor rows for a single known entity, this tool returns one row per entity showing how an entire cohort (optionally scoped by a segment) uses every page, feature, or track event. Each row has entityId, entityName, appId, totalEvents, uniqueVisitors, and uniqueAccounts. totalEvents is the activity count for that entity: page VIEWS for pages, CLICKS for features, and event counts for track events - describe it with the term that matches the entity type. Pages and features also add totalErrorClickCount / totalRageClickCount / totalDeadClickCount; pages also add totalUTurnCount and avgTimePerVisitor. Track events have no frustration data. For features, pageId restricts the ranking to features associated with one known page. By default only entities with activity in the window are returned (sort ascending for least-used among used). Set includeUnused=true to also return entities with zero usage (zero-filled rows) - answering 'which entities get no use at all', or, when a segmentPipeline is supplied, 'which entities get no use from that segment'. COMPARISON MODE: supply compareToDateRange to rank entities by how their usage CHANGED between two periods - dateRange is the current/recent period, compareToDateRange is the earlier baseline. The headline metrics (totalEvents, uniqueVisitors, uniqueAccounts) are returned as current_<m>, prior_<m>, change_<m> (current - prior) and pctChange_<m>; the remaining metrics (frustration counts, avgTimePerVisitor) are returned as change_<m> only to keep rows compact. Sort by a change_ field (ascending = biggest drop-off, descending = biggest growth). This answers 'which pages dropped off the most' in one call - the ranking is done in the aggregation, so no per-entity cross-referencing is needed. includeUnused is ignored when comparing. USE FOR: Ranking or comparing entities of one type by usage - e.g. top pages by views, most-clicked features, most-clicked features associated with a page, least-used track events. With includeUnused=true, finding entirely unused entities (dead pages/features), optionally scoped to a segment. With compareToDateRange, ranking entities by period-over-period change - biggest drop-offs or biggest gainers. EXAMPLES: - Top 5 features by clicks last month - Which page had the most views in the last 30 days? - Which features have the most rage clicks this quarter? - Which features associated with page X were clicked most in the last 30 days? - Least-used track events over the last week - Which pages got no views at all in the last 30 days? - Which features were never used by visitors in segment X last month? - Which pages in product area X have zero activity from visitors in segment Y? - Which pages dropped off in usage the most this month versus last month? - Which features grew the most in the last 30 days compared to the prior 30 days? NOT FOR: Questions about the views, clicks, visitors, accounts, or other usage of one entity identified by name, such as 'How many people viewed Page X?'. A named entity missing from this ranked output is not evidence that it does not exist. WORKFLOW: For usage analytics about one named page, feature, or track event, call listCountables to resolve the name to an entity ID, then use entityUsage with that ID. Use aggregateEntityUsage only when the user asks to rank or compare multiple entities. RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD); meta.compareToDateRange when comparing - rows: one per entity with entityId, entityName, appId, totalEvents (page views / feature clicks / track-event counts), uniqueVisitors, uniqueAccounts (pages/features also: totalErrorClickCount, totalRageClickCount, totalDeadClickCount; pages also: totalUTurnCount, avgTimePerVisitor). With includeUnused=true, unused entities appear with all-zero metrics. In comparison mode the headline metrics (totalEvents, uniqueVisitors, uniqueAccounts) are split into current_<m>, prior_<m>, change_<m> and pctChange_<m>, while the other metrics (frustration counts, avgTimePerVisitor) carry change_<m> only. Prefer change_ for mover/drop-off rankings (pctChange is noisy on small baselines and null when prior is 0).
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
entityTypestringrequired- The kind of entity: 'page', 'feature', or 'trackEvent'. Required for an unscoped ranking, where there are no ids to carry the type. Ignored when productArea uses inline entities, because each entry names its own type.one of
pagefeaturetrackEvent subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
compareToDateRangeobject- Optional baseline period for a period-over-period comparison. When supplied, dateRange is treated as the current/recent period and this as the earlier baseline; results are ranked by how each entity's usage changed (change = current - prior). Same shape as dateRange. A relative baseline (type='relative', lastNDays) is the N days IMMEDIATELY BEFORE dateRange - not the last N days from today - so type='relative' lastNDays=30 on both ranges means 'last 30 days vs the prior 30 days'. Use absolute dates for a fixed baseline such as the same month last year. Omit for a single-period ranking.
includeAnonymousboolean- Whether to include unidentified visitors in the aggregates. Defaults to true.default
true includeUnusedboolean- When true, additionally include entities with zero usage in the window. Use to find entirely unused entities - e.g. 'which pages got no views'. When a segmentPipeline is supplied, the segment scopes the usage measured, so a zero row means 'unused by that segment' regardless of other visitors. Defaults to false (only entities with activity). Ignored in comparison mode (compareToDateRange already returns every entity active in either period, including drop-offs to zero and arrivals from zero). With a single-type inline productArea it zero-fills the entities in that scope, which is the reliable way to ask which of a named set had no use at all - absence from ordinary rows can also mean the entity fell outside limit. Rejected with minEvents, and rejected when productArea spans more than one entityType.default
false limitnumber- Maximum number of entity rows to return (1-200, default 10).default
10 minEventsnumber- Only count visitors whose own event total across the entities in scope reaches this number. The total is summed over the WHOLE scoped set, not per entity: with two inline ids a visitor with 1 event on A and 1 on B has a total of 2 and qualifies at minEvents=2, even though they clear it on neither entity alone. It is summed across entity types too when the bundle spans them, so one page VIEW plus one feature CLICK likewise totals 2 - that is what 'used this tier at least twice' asks for, but it is adding events of different kinds together, so say so when reporting a mixed-type threshold. The summary counts each qualifying visitor once; the rows then show how those visitors' events break down per entity. This counts events, not visits - several events can happen within one visit, so it does not measure returning or repeat visitors. It is always a threshold on visitors, never on accounts. Omit to count every active visitor. Not supported with includeUnused.
pageIdstring- Optional page ID. Restricts the ranking to features associated with this page, so the scope has to be features only: valid with entityType='feature', or with an inline productArea whose only entry is a feature entry. Rejected when productArea spans more than one entityType.
productAreaarray- Optional scope narrowing the query to a group of entities. Accepts, in one array: 1. Saved product area ids, e.g. ["pa-123"] or ["pa-1", "pa-2"] - use whenever the group already exists in Pendo. Members are unioned, so an entity in several is counted once. Ids are never names: resolve an area name with listProductAreas first. 2. The single token ["*"] - every saved product area. This means "in ANY product area" and therefore EXCLUDES entities belonging to none; it is NOT the same as omitting this argument, which spans everything whether it is in an area or not. 3. An inline list of entities grouped by type, e.g. [{"entityType":"feature","ids":["A","B"]},{"entityType":"page","ids":["C"]}]. Use this for a group that is not saved in Pendo - for example the pages and features making up a pricing tier - and pass the WHOLE group in ONE call. A group may span types, which is why the type travels with the ids. Give each entityType at most once with a non-empty ids list. Ids are never names: resolve names with the relevant entity listing tool first. An id that does not resolve is rejected rather than silently contributing zero. Saved area ids and inline entries cannot be mixed in the same array. Omit the argument entirely to leave the query unscoped.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortBystring- Field to sort results by. All entity types support 'totalEvents' (page views / feature clicks / track-event counts), 'uniqueVisitors', 'uniqueAccounts'. When productArea spans entity types only those three (or their comparison-mode prefixed forms) are accepted, since the rest are not reported for every type. Pages and features also support 'totalErrorClickCount', 'totalRageClickCount', 'totalDeadClickCount'. Pages also support 'totalUTurnCount' and 'avgTimePerVisitor'. Defaults to 'totalEvents'. In comparison mode (compareToDateRange supplied) sort by a prefixed column instead. The headline metrics (totalEvents, uniqueVisitors, uniqueAccounts) accept 'current_<field>', 'prior_<field>', 'change_<field>', or 'pctChange_<field>' (e.g. 'change_totalEvents', 'current_uniqueVisitors'); the other metrics (frustration counts, avgTimePerVisitor) accept 'change_<field>' only (e.g. 'change_totalRageClickCount'). Combine with sortOrder='asc' for biggest drop-offs or 'desc' for biggest gains. PREFER 'change_<field>' (absolute change) for 'biggest mover / drop-off / gainer' questions: it is self-normalising. Use 'pctChange_<field>' only when the user explicitly asks about percentage/rate of change, and be aware it is noisy on low-traffic entities (a 1->5 page reads as +400%) and is null when the prior period had zero activity (new entities). Default to 'change_totalEvents' when comparing.
sortOrderstring- 'desc' (default, highest first - top/most used) or 'asc' (lowest first - least used).one of
ascdescdefaultdesc userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_aggregateguidemetricsRank guides by aggregate usage over a date range, returning one row per guide.Read-onlyaggregateGuideMetrics
Rank guides by aggregate usage over a date range, returning one row per guide. Where guideMetrics analyses a single known guide in depth, this tool compares an entire cohort's usage across every guide. Each row has entityId, entityName, appId, totalViews, totalCompletions, totalDismissals, uniqueVisitors, uniqueAccounts, and viewsPerUser. totalViews excludes continue-resumed guideSeen events to match the guide-details UI. Deleted guides surface with entityName "(Deleted Guide)". USE FOR: Cross-guide ranking - e.g. top guides by views, which guides have the most dismissals, least-used guides. EXAMPLES: - Top 10 guides by views last month - Which guides have the most dismissals? - Show me the least-completed guides over the last 30 days - Rank guides by unique visitors this quarter - Top public tooltips by views - Compare views for these three guides RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - rows: one per guide with entityId, entityName, appId, totalViews, totalCompletions, totalDismissals, uniqueVisitors, uniqueAccounts, viewsPerUser FILTERING OPTIONS: - guideIds: restrict the ranking to specific guide IDs - status: guide state - public, staged, scheduled, draft, pendingReview, inactive - guideType: guide type - banner, tooltip, lightbox, walkthrough, whatsnew, building-block, group, training, launcher, mobile-lightbox - activation: launch method - auto (automatic), api, badge, dom (element click), embed, launcher (resource center), page, feature, form, track - productAreaIds / guideCategoryIds: guides belonging to those product areas or guide categories - pageIds: guides whose first step is on one of those pages ("sitewide" matches guides with no page) - appId, accountId, segmentPipeline: scope the underlying guide activity - Note: any filter other than guideIds resolves guides from their current metadata, so deleted guides drop out of the results.
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Optional Pendo account ID. When provided, results are restricted to activity from that account. Omit to include all accounts.
activationstring- Optional launch-method filter: 'auto' (shown automatically), 'api' (triggered programmatically), 'badge' (badge icon), 'dom' (element click), 'embed' (embedded inline), 'launcher' (guide or resource center), 'page' (page view, mobile), 'feature' (element click, mobile), 'form' (form interaction), or 'track' (track event). Guides can have several dash-separated launch methods; this matches if the guide's launch method contains the value. Omit to include all activation methods.one of
autoapibadgedomembedlauncherpagefeatureformtrack appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
guideCategoryIdsarray- Optional list of guide category group IDs to filter by. When provided, only guides in one of these categories are ranked. Omit to include guides from all categories.
guideTypestring- Optional guide type filter, derived from the guide's attributes: 'banner', 'tooltip', 'lightbox', 'walkthrough' (multi-step), 'whatsnew' (what's-new announcement), 'building-block', 'group' (guide group), 'training', 'launcher' (resource center), or 'mobile-lightbox' (mobile-only lightbox). Omit to include all types.one of
bannertooltiplightboxwalkthroughwhatsnewbuilding-blockgrouptraininglaunchermobile-lightbox includeAnonymousboolean- Whether to include unidentified visitors in the aggregates. Defaults to true.default
true limitnumber- Maximum number of guide rows to return (1-200, default 10).default
10 pageIdsarray- Optional list of page IDs to filter by. When provided, only guides whose first step is on one of these pages are ranked. Use "sitewide" to match guides with no page association. Omit to include all guides regardless of page.
productAreaarray- Optional scope narrowing the query to a group of entities. Accepts, in one array: 1. Saved product area ids, e.g. ["pa-123"] or ["pa-1", "pa-2"] - use whenever the group already exists in Pendo. Members are unioned, so an entity in several is counted once. Ids are never names: resolve an area name with listProductAreas first. 2. The single token ["*"] - every saved product area. This means "in ANY product area" and therefore EXCLUDES entities belonging to none; it is NOT the same as omitting this argument, which spans everything whether it is in an area or not. 3. An inline list of entities grouped by type, e.g. [{"entityType":"feature","ids":["A","B"]},{"entityType":"page","ids":["C"]}]. Use this for a group that is not saved in Pendo - for example the pages and features making up a pricing tier - and pass the WHOLE group in ONE call. A group may span types, which is why the type travels with the ids. Give each entityType at most once with a non-empty ids list. Ids are never names: resolve names with the relevant entity listing tool first. An id that does not resolve is rejected rather than silently contributing zero. Saved area ids and inline entries cannot be mixed in the same array. Omit the argument entirely to leave the query unscoped.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortBystring- Field to sort results by: 'totalViews' (default), 'totalCompletions', 'totalDismissals', 'uniqueVisitors', 'uniqueAccounts', or 'viewsPerUser'.one of
totalViewstotalCompletionstotalDismissalsuniqueVisitorsuniqueAccountsviewsPerUserdefaulttotalViews sortOrderstring- 'desc' (default, highest first - top/most used) or 'asc' (lowest first - least used).one of
ascdescdefaultdesc statusstring- Optional guide state filter: 'public' (live), 'staged' (testing), 'scheduled' (public with a start date still in the future), 'draft' (in progress), 'pendingReview' (awaiting review), or 'inactive' (turned off, stored as 'disabled'). As in the UI, 'public' excludes scheduled guides. Omit to include all states.one of
publicstagedscheduleddraftpendingReviewinactive userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_appusageGet per-visitor or per-account app usage metrics for a date range.Read-onlyappUsage
Get per-visitor or per-account app usage metrics for a date range. Returns {summary, rows}: summary has total active visitors/accounts, total events across the selected app scope, average daily time on apps, and totals for the four frustration counts (totalErrorClickCount, totalRageClickCount, totalUTurnCount, totalDeadClickCount); rows are per-visitor or per-account breakdowns with daysActive, totalTime and avgTimePerDay (duration objects {seconds, display}), totalEvents, and the same four frustration totals, sorted and limited. When groupBy="account" each row also includes numVisitors - the count of distinct visitors from that account who were active during the window. Optionally include metadata fields for each returned visitor or account with select. Audience can be scoped via an inline segmentPipeline; scope can also be narrowed to a single app via appId, or to a single product area via productAreaId. When productAreaId is supplied the same summary and rows describe headline usage metrics for that product area, measured over its page, feature, and track-event activity. USE FOR: Per-visitor or per-account app-level usage (events, time, days active) AND top-N ranking over a window across every app, or one app when appId is supplied, or one product area when productAreaId is supplied (headline usage metrics for that area). EXAMPLES: - Who uses our apps the most in the last 30 days? - Top 50 accounts by app usage last quarter - Which visitors rage-click the most across our apps last week? - Top 20 visitors by total time in app X last month - Headline usage metrics for product area X over the last 30 days - Top 20 accounts by usage of product area X last quarter - Show the top 20 accounts by app usage last quarter with their ARR and company size RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - summary: totalNumVisitors or totalNumAccounts, totalNumEvents, avgDailyActiveTime (duration object {seconds, display}), totalErrorClickCount, totalRageClickCount, totalUTurnCount, totalDeadClickCount - rows: daysActive, totalTime, totalEvents, avgTimePerDay, totalErrorClickCount, totalRageClickCount, totalUTurnCount, totalDeadClickCount per visitor or account; per-account rows also include numVisitors; select adds requested metadata fields
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
groupBystring- 'visitor' (default when groupByMetadata is omitted) groups rows by visitorId; 'account' groups by accountId and excludes events with empty accountId. Mutually exclusive with groupByMetadata.one of
visitoraccount groupByMetadatastring- Groups all matching usage by one metadata field before applying limit, for scalable distributions. Use an event-time historic key (historic.kind.group.field) or current key (current.kind.group.field), for example "historic.visitor.custom.role" or "current.account.custom.tier". Prefer historic metadata when available; use current metadata only when the user explicitly asks for current or latest metadata. Historic fields must be promoted. Find exact fields with visitorMetadataSchema or accountMetadataSchema. Rows contain metadataValue (missing/empty values become "(none)"), numVisitors, numAccounts, and usage metrics. Mutually exclusive with groupBy and select.
includeAnonymousboolean- Whether to include unidentified visitors in the summary and rows. Defaults to true.default
true limitnumber- Maximum number of rows to return (1-200, default 10). Summary is independent of limit; set limit=1 if you only need totals.default
10 minEventsnumber- Only count visitors whose own event total over the date range reaches this number. This counts events, not visits - several events can happen within one visit, so it does not measure returning or repeat visitors; use daysActive or cohortRetentionCurve for that. It is always a threshold on visitors, never on accounts: with groupBy='account' the rows are the accounts holding at least one qualifying visitor, and their metrics cover only those visitors' events. Omit to count every active visitor.
productAreaarray- Optional scope narrowing the query to a group of entities. Accepts, in one array: 1. Saved product area ids, e.g. ["pa-123"] or ["pa-1", "pa-2"] - use whenever the group already exists in Pendo. Members are unioned, so an entity in several is counted once. Ids are never names: resolve an area name with listProductAreas first. 2. The single token ["*"] - every saved product area. This means "in ANY product area" and therefore EXCLUDES entities belonging to none; it is NOT the same as omitting this argument, which spans everything whether it is in an area or not. 3. An inline list of entities grouped by type, e.g. [{"entityType":"feature","ids":["A","B"]},{"entityType":"page","ids":["C"]}]. Use this for a group that is not saved in Pendo - for example the pages and features making up a pricing tier - and pass the WHOLE group in ONE call. A group may span types, which is why the type travels with the ids. Give each entityType at most once with a non-empty ids list. Ids are never names: resolve names with the relevant entity listing tool first. An id that does not resolve is rejected rather than silently contributing zero. Saved area ids and inline entries cannot be mixed in the same array. Omit the argument entirely to leave the query unscoped.
propertyFiltersarray- Property conditions on individual events, applied before summary, rows, and the minEvents threshold (maximum 10). Multiple filters are combined with AND. Custom track-event properties may be unavailable on app-wide usage; scope with productArea to filter on them reliably.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
selectarray- Optional metadata fields to return in addition to usage metrics and the group-by ID. For groupBy='visitor', use exact fields from visitorMetadataSchema (for example, "visitor.custom.role"; "metadata.custom.role" also works). For groupBy='account', use exact fields from accountMetadataSchema (for example, "account.custom.ARR"; "metadata.custom.ARR" also works). If omitted, no metadata fields are returned.
sortBystring- Field to sort rows by. Usage metrics are valid for all grouping modes; 'numVisitors' is valid for groupBy='account' and metadata grouping; 'numAccounts' is valid for metadata grouping. Defaults to totalTime for visitor/account grouping and numVisitors for metadata grouping.
sortOrderstring- 'desc' (default, highest first) or 'asc'.one of
ascdescdefaultdesc userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_appusagetimeseriesGet app-level usage metrics over time.Read-onlyappUsageTimeSeries
Get app-level usage metrics over time. Groups events into buckets of the requested period (daily/weekly/monthly) and returns one row per bucket with app-wide totals: active visitors, active accounts, events, average active time (a duration object {seconds, display}), and the four frustration counts (totalErrorClickCount, totalRageClickCount, totalUTurnCount, totalDeadClickCount). The average metric matches the requested period: avgDailyActiveTime, avgWeeklyActiveTime, or avgMonthlyActiveTime. Audience can be scoped via an inline segmentPipeline; scope can also be narrowed to a single app via appId. USE FOR: Trend questions about whole-app usage over a window - e.g. 'how did active visitors trend over the last 12 weeks?', 'are rage clicks across our apps trending up?'. EXAMPLES: - How did active visitors trend over the last 12 weeks? - Total events per week across all apps over the last quarter - Are rage clicks across our apps trending up over the last 30 days? RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - meta.period: echoed bucket size (daily|weekly|monthly) - meta.metrics: list of metric names returned per bucket - rows: one entry per time period, containing a 'bucket' string (YYYY-MM-DD or YYYY-MM), a startTime (epoch ms), and metric values; numeric metrics zero-fill for empty buckets
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
periodstringrequired- Bucket granularity. 'daily' for windows up to ~30 days, 'weekly' for longer ranges, 'monthly' for multi-quarter ranges.one of
dailyweeklymonthly subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Optional Pendo account id to filter the query to. Combines with segmentPipeline.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
includeAnonymousboolean- Whether to include unidentified visitors in the metrics. Defaults to true.default
true minEventsnumber- Only count visitors whose own event total within a bucket reaches this number, applied independently per bucket - so minEvents=2 with period='monthly' counts, for each month, the visitors with at least 2 events that month. This counts events, not visits - several events can happen within one visit, so it does not measure returning or repeat visitors; use cohortRetentionCurve for that. It is always a threshold on visitors, never on accounts: an account is counted in a bucket when it holds at least one qualifying visitor, and the bucket's metrics cover only those visitors' events. Omit to count every active visitor.
productAreaarray- Optional scope narrowing the query to a group of entities. Accepts, in one array: 1. Saved product area ids, e.g. ["pa-123"] or ["pa-1", "pa-2"] - use whenever the group already exists in Pendo. Members are unioned, so an entity in several is counted once. Ids are never names: resolve an area name with listProductAreas first. 2. The single token ["*"] - every saved product area. This means "in ANY product area" and therefore EXCLUDES entities belonging to none; it is NOT the same as omitting this argument, which spans everything whether it is in an area or not. 3. An inline list of entities grouped by type, e.g. [{"entityType":"feature","ids":["A","B"]},{"entityType":"page","ids":["C"]}]. Use this for a group that is not saved in Pendo - for example the pages and features making up a pricing tier - and pass the WHOLE group in ONE call. A group may span types, which is why the type travels with the ids. Give each entityType at most once with a non-empty ids list. Ids are never names: resolve names with the relevant entity listing tool first. An id that does not resolve is rejected rather than silently contributing zero. Saved area ids and inline entries cannot be mixed in the same array. Omit the argument entirely to leave the query unscoped.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_buildpendosegmentbuildPendoSegment: Purpose: Describe one visitor segment by visitor or account ID, activity on Pages, Features, TrackEvents, Guides, the elements inside a guide, segment membership, or metadata.Read-onlybuildPendoSegment
buildPendoSegment: Purpose: Describe one visitor segment by visitor or account ID, activity on Pages, Features, TrackEvents, Guides, the elements inside a guide, segment membership, or metadata. Input shape: pass definition as an array of rule groups. Top-level groups are ANDed together; rules within a group are ORed together. For one ANDed rule, wrap it in a single-item group. SINGLE CALL CONTRACT (important): The ENTIRE segment, including every AND clause and every OR clause, MUST be built with ONE call to this tool. Never split a segment across multiple calls. Combine all clauses into a single definition array and pass it once. Calling the tool more than once produces multiple unrelated segments, NOT one combined segment, so the AND/OR logic between the calls is lost. Mapping a request to a single definition: - Split the request into top-level AND clauses. - Each AND clause becomes one group (one inner array) in the definition. - Inside a clause, every OR alternative becomes one rule object in that group. - A clause with no OR is a group containing a single rule object. CLAUSE COVERAGE (important): Account for EVERY clause in the request. Before returning, count the AND clauses in the request and confirm the definition has exactly that many top-level groups, then confirm every OR alternative inside each clause is present as a rule object. Never drop, merge, or skip a clause. If the request mentions a page rule, a feature rule, and a track event rule joined by AND/OR, all of them must appear. A request like "(X OR Y) AND Z" has 2 top-level groups (one for "X OR Y", one for "Z") and 3 rule objects total; returning fewer groups or rules is wrong. Full example (combining AND and OR in one call): Request: "(visitors who spent > 15 minutes on page A in May OR have NOT seen page B in the last year) AND triggered track event C on fewer than 5 days in the last 7 days" Correct single definition (one tool call): [ [ { "entityType": "page", "entityId": "A", "metric": "eventTime", "operator": ">", "threshold": 15, "condition": "between", "first": "2026-05-01", "last": "2026-05-31" }, { "entityType": "page", "entityId": "B", "metric": "notseen", "condition": "withinLast", "lookbackAmount": 12, "granularity": "months" } ], [ { "entityType": "trackEvent", "entityId": "C", "metric": "daysActive", "operator": "<", "threshold": 5, "condition": "withinLast", "lookbackAmount": 7, "granularity": "days" } ] ] The first group (the two page rules) is ORed together; that group is then ANDed with the second group (the track event rule). This is ONE call, not two. REQUIRED FIELDS AND CONDITION CHOICE (important): Activity metrics with non-empty supportedConditions MUST include an explicit "condition" field. It is the discriminator that selects which time/frequency fields apply, and it is NOT optional for those metrics. Always choose condition from the chosen metric's supportedConditions. Do NOT rely on the presence of first/last, lookbackAmount/granularity, or date to imply the condition; you must still set condition explicitly for activity metrics. For example: - first + last present => you MUST also set condition: "between" - lookbackAmount + granularity => you MUST also set condition: "withinLast" - date present => you MUST also set condition: "since" Segment membership metrics are the exception: - isMemberOfSegment and isNotMemberOfSegment have supportedConditions: [] by design. - For these metrics, omit "condition" entirely. Do NOT add "ever" or infer any default condition. - supportedConditions: [] means "no condition field", not "choose a default condition". Visitor and account ID rules are conditionless and metricless: - Use entityType: "visitor" or "account". - Use operator: one of "==", "!=", "contains", "!contains", "empty", "!empty". Omit it to default to "==". - Use entityId for the comparison value with "==", "!=", "contains", and "!contains". - Use an empty entityId with "empty" and "!empty". - Example: { "entityType": "visitor", "entityId": "bob@example.com" }. - Example: { "entityType": "visitor", "entityId": "@example.com", "operator": "contains" }. - Example: { "entityType": "account", "entityId": "acme-corp" }. Metadata rules are also conditionless and metricless: - Use entityType: "metadata". - Use entityId for the full metadata key, e.g. "visitor.agent.job_role". - Use operator: one of "==", "!=", ">=", "<=", "contains", "!contains", "empty", "!empty". - Use value for "==", "!=", ">=", "<=", "contains", and "!contains". Omit value for "empty" and "!empty". - Time and date metadata values may use ISO 8601, e.g. "2025-12-31T23:59:59Z". - Example: { "entityType": "metadata", "entityId": "visitor.agent.job_role", "operator": "==", "value": "Software engineer" }. Guide element rules cover clicks on one button, link or close icon inside a guide: - Use entityType: "guideElement". - Use entityId for the GUIDE id, stepId for the step the element sits on, and elementId for the element's uiElementId, e.g. { "entityType": "guideElement", "entityId": "<guideId>", "stepId": "<guideStepId>", "elementId": "pendo-button-a1b2c3d4", "metric": "eventCount", "operator": ">=", "threshold": 1, "condition": "withinLast", "lookbackAmount": 30, "granularity": "days" }. - One getEntity call gives both ids: steps[].stepId and the steps[].elements[].uiElementId nested under it. Never guess either. - eventCount is the only supported metric, and it counts clicks on that element in the chosen window: - "clicked it" => operator ">=", threshold 1 - "did not click it" => operator "==", threshold 0 - click counts => any operator, e.g. "clicked it more than 3 times" is operator ">", threshold 3 - stepId does not narrow the count. - Only withinLast and between are available, so a click rule is always scoped to a window. Resolution steps 1. Choose entityType from EntityTypes. 2. For visitor or account, use entityId + optional operator and stop here. 3. For metadata, use entityId + operator + optional value and stop here. 4. For activity and segment entities, choose metric from EntityTypes[entityType].supportedMetrics. 5. Look up Metrics[metric]. 6. If Metrics[metric].supportedConditions is non-empty, choose condition from that list and look up Conditions[condition]. 7. The final rule fields are: EntityTypes[entityType].requiredFields + Metrics[metric].requiredFields + Conditions[condition].requiredFields, only when a condition is required. Time phrase resolution examples: - "this year" / "so far this year" / "year to date" => condition: "since", date: "2026-01-01" - "this month" / "month to date" => condition: "since", date: "2026-06-01" - "since 2026-01-01" => condition: "since", date: "2026-01-01" - "last year" => condition: "between", first: "2025-01-01", last: "2025-12-31" - "in the last year" => condition: "withinLast", lookbackAmount: 12, granularity: "months" - "between 2026-01-01 and 2026-06-05" => condition: "between", first: "2026-01-01", last: "2026-06-05" - "in March" => condition: "between", first: "2026-03-01", last: "2026-03-31" - "last 3 weeks" => condition: "withinLast", lookbackAmount: 3, granularity: "weeks" - "last 7 days" => condition: "withinLast", lookbackAmount: 7, granularity: "days" CONDITION CHOICE FOR TIME PHRASES (important): - Use "since" (set only date) for any open-ended period running from a start date up to now: "this year", "this month", "year to date", "so far", "since <date>". Do NOT express these as "between ... today". - Use "between" (set first + last) ONLY for a closed range whose end is a specific past date or the last day of a named calendar period (e.g. "in March", "last year", "between X and Y"). - Use "withinLast" (set lookbackAmount + granularity) for rolling windows: "last N days/weeks/months". - Set ONLY the fields the chosen condition requires. Never combine date with first/last in one rule. A segment should be just as valid in a week's time as it is today, so never hardcode today's date as an endpoint. For a fixed/named calendar period (e.g. "in March") use "between" spanning the entire period even if it has not finished yet. For an open-ended current period (e.g. "this year", "this month") use "since" with the period's start date, which stays valid going forward. EntityTypes: visitor: requiredFields: entityType: "visitor" entityId: String supportedMetrics: [] account: requiredFields: entityType: "account" entityId: String supportedMetrics: [] page: requiredFields: entityType: "page" entityId: String supportedMetrics: ["eventCount", "deadClicks", "errorClicks", "rageClicks", "daysActive", "uTurns", "eventTime", "seen", "notseen", "lastSeen"] feature: requiredFields: entityType: "feature" entityId: String supportedMetrics: ["eventCount", "deadClicks", "errorClicks", "rageClicks", "daysActive", "used", "notused", "lastused"] trackEvent: requiredFields: entityType: "trackEvent" entityId: String supportedMetrics: ["eventCount", "daysActive", "used", "notused", "lastused"] guide: requiredFields: entityType: "guide" entityId: String supportedMetrics: ["seen", "lastSeen", "notSeen"] guideElement: requiredFields: entityType: "guideElement" entityId: String stepId: String // the guide step the element sits on elementId: String // the element's uiElementId, e.g. "pendo-button-a1b2c3d4" supportedMetrics: ["eventCount"] segment: requiredFields: entityType: "segment" entityId: String supportedMetrics: ["isMemberOfSegment", "isNotMemberOfSegment"] metadata: requiredFields: entityType: "metadata" entityId: String supportedMetrics: [] Metrics: eventCount: description: Number of events for the selected entity. requiredFields: metric: "eventCount" operator: Enum["==", "!=", ">=", "<="] threshold: Integer supportedConditions: ["withinLast", "between"] deadClicks: description: Number of dead clicks for the selected page or feature. requiredFields: metric: "deadClicks" operator: Enum["==", "!=", ">=", "<="] threshold: Integer supportedConditions: ["withinLast", "between"] errorClicks: description: Number of error clicks for the selected page or feature. requiredFields: metric: "errorClicks" operator: Enum["==", "!=", ">=", "<="] threshold: Integer supportedConditions: ["withinLast", "between"] rageClicks: description: Number of rage clicks for the selected page or feature. requiredFields: metric: "rageClicks" operator: Enum["==", "!=", ">=", "<="] threshold: Integer supportedConditions: ["withinLast", "between"] daysActive: description: Number of active days for the selected entity. requiredFields: metric: "daysActive" operator: Enum["==", "!=", ">=", "<="] threshold: Integer supportedConditions: ["withinLast", "between"] uTurns: description: Number of u-turns for the selected page. requiredFields: metric: "uTurns" operator: Enum["==", "!=", ">=", "<="] threshold: Integer supportedConditions: ["withinLast", "between"] eventTime: description: Time in minutes spent on the selected page. requiredFields: metric: "eventTime" operator: Enum["==", "!=", ">=", "<="] threshold: Integer supportedConditions: ["withinLast", "between"] used: description: Whether the selected feature or track event was used, optionally with a frequency threshold. requiredFields: metric: "used" supportedConditions: ["ever", "since", "withinLast", "atLeast", "atMost"] notused: description: Whether the selected feature or track event was not used. requiredFields: metric: "notused" supportedConditions: ["ever", "since", "withinLast"] lastused: description: When the selected feature or track event was last used. requiredFields: metric: "lastused" supportedConditions: ["since", "withinLast", "between"] seen: description: Whether the selected page was seen, optionally with a frequency threshold. For checking withinLast requiredFields: metric: "seen" supportedConditions: ["ever", "since", "withinLast", "atLeast", "atMost"] notseen: description: Whether the selected page was not seen. requiredFields: metric: "notseen" supportedConditions: ["ever", "since", "withinLast"] lastSeen: description: When the selected page was last seen. requiredFields: metric: "lastSeen" supportedConditions: ["since", "withinLast", "between"] isMemberOfSegment: description: Whether the visitor is a member of the selected segment. requiredFields: metric: "isMemberOfSegment" supportedConditions: [] isNotMemberOfSegment: description: Whether the visitor is not a member of the selected segment. requiredFields: metric: "isNotMemberOfSegment" supportedConditions: [] Conditions: ever: description: The metric happened at any time. requiredFields: condition: "ever" since: description: The metric happened on or after a specific date. requiredFields: condition: "since" date: DateString("yyyy-mm-dd") withinLast: description: The metric happened within a rolling time window. requiredFields: condition: "withinLast" lookbackAmount: Integer granularity: Enum["days", "weeks", "months"] between: description: The metric happened within an inclusive date range. requiredFields: condition: "between" first: DateString("yyyy-mm-dd") last: DateString("yyyy-mm-dd") atLeast: description: The metric happened at least threshold times ever requiredFields: condition: "atLeast" threshold: Integer atMost: description: The metric happened at most threshold times ever requiredFields: condition: "atMost" threshold: Integer
Inputs
definitionarrayrequired- The complete segment definition to build in a SINGLE call. The top-level array is ANDed; rules within each nested array are ORed. Include every AND clause and OR alternative here; never split a segment across multiple tool calls.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_cohortretentioncurveCompute a retention curve for an app (scope='app'), a specific page or feature (scope='page' or 'feature'), a track event (scope='trackEvent'), or a whole product area (scope='productArea').Read-onlycohortRetentionCurve
Compute a retention curve for an app (scope='app'), a specific page or feature (scope='page' or 'feature'), a track event (scope='trackEvent'), or a whole product area (scope='productArea'). For track events: measures how many accounts/visitors continue firing the event over time. Supports visitor-level or account-level retention (unit) and all vs first cohort modes (cohortMode='all' for all active users, 'first' for first-time users only - best for onboarding effectiveness). For scope='productArea', a user counts as active in a period if they used any page, feature, or track event in that area; guides in the area are not counted. Omit appId when the entity or area spans multiple applications - passing one restricts the curve to that application. Call this tool ONCE per question. A single call returns all periods at once - do NOT call it multiple times with different periodCount values. The analysis window is anchored to now() and works backwards. Do NOT pre-filter for 'new users in the last N days' via segmentPipeline - pass cohortMode='first' instead, which restricts to users whose all-time first interaction falls within the analysis window (truly new users, not returning users re-entering the window). Period 0 = '< 1 Month' is the % of cohort active more than once in their first period - a real metric, NOT a 100% baseline (typical rates 25-60%). Period N = % of cohort still active N periods later. activeCount at higher periods decreases because users too new to have reached that period are excluded from the denominator (dynamic denominator - correct, not missing data). summary.finalRetentionRate is the most important single number - it represents the durable retained core. USE FOR: Retention and churn questions - e.g. 'what % of users return after 3 months?', 'show me our retention curve', 'what's our churn rate?'. Not for acquisition questions ('how many new accounts did we gain?') - this tool measures continued activity of existing cohorts, not new-user counts. EXAMPLES: - What % of users return after 3 months? - Show me our retention curve - What's our account churn rate over the last 6 months? - How often do accounts that created a dashboard keep creating dashboards? - How well do we retain first-time users of this feature? - What's the retention curve for our Onboarding product area? RETURNS: - scope, entityId, cohortMode, unit, periodType: echoed query parameters - retentionCurve: list of {period, periodLabel, activeCount, multiSession, retentionRate} sorted by period - summary: {totalCohortSize, avgRetentionRate, finalRetentionRate}
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Application ID to scope the request. Required only for scope='app'. For the other scopes it narrows the curve to a single application; omit it to span every application the entity belongs to.
cohortModestring- 'all' = all active visitors regardless of when they first appeared; 'first' = only visitors for whom this is their first use of the app or entity (measures onboarding/acquisition quality). Defaults to 'all'.one of
allfirst entityIdstring- Pendo entity id, or the product area id when scope is 'productArea'. Required for every scope except 'app', which ignores it.
includeAnonymousboolean- Whether to include anonymous visitors. Defaults to false, matching Pendo's standard retention report.default
false offsetDaysnumber- Days into the period before a user is counted as retained. Defaults to 1/7/30 for day/week/month.
periodCountnumber- Number of retention periods to calculate. Defaults to 6. The window may not exceed ~1 year: max 366 for 'day', 52 for 'week', 12 for 'month'.default
6 periodTypestring- Period granularity. Defaults to 'month'.one of
dayweekmonth scopestring- 'app' for retention on any app activity, 'page', 'feature', or 'trackEvent' for entity-level retention, or 'productArea' for retention across every page, feature, and track event in a product area. Defaults to 'app'.one of
apppagefeaturetrackEventproductArea segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
unitstring- 'visitor' for visitor-level retention, 'account' for account-level (an account is retained if at least one of its visitors was active in the period). Defaults to 'visitor'.one of
visitoraccount userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_entityusageGet usage analytics for one known page, feature, or track event ID over a date range, including page views, feature clicks, event counts, and unique visitor ('people') and account counts.Read-onlyentityUsage
Get usage analytics for one known page, feature, or track event ID over a date range, including page views, feature clicks, event counts, and unique visitor ('people') and account counts. Returns {summary, rows}: summary has total events, unique visitors, unique accounts (and for pages/features, frustration counts; pages also include uTurnCount); rows are per-visitor or per-account breakdowns with events, time on entity, and days active, sorted and limited. Optionally include metadata fields for each returned visitor or account with select. Audience can be scoped via visitorIds OR an inline segmentPipeline (mutually exclusive), and/or filtered to a single accountId. USE FOR: Scalar 'how many people viewed/clicked/used it' totals and top-N visitor or account questions over a window for one known page, feature, or track event ID. EXAMPLES: - How many page views did page X get last month? - Top 20 visitors by time on page X in the last 30 days - Top 50 accounts by usage of feature Y last quarter - How many rage clicks did feature Y have last week? - Show the top 20 visitors by time on page X last month with their email and role NOT FOR: Looking up an entity ID from its name, or ranking multiple entities against each other. WORKFLOW: When the user names a page, feature, or track event but does not provide its ID, call listCountables to resolve the name to an ID, then call entityUsage with that ID. Do not substitute aggregateEntityUsage for this lookup: its limited ranking may omit the named entity. RETURNS: - summary: totalNumEvents, totalNumVisitors, totalNumAccounts (pages/features also: totalErrorClickCount, totalRageClickCount, totalDeadClickCount; pages also: totalUTurnCount) - rows: events, timeOnEntityInMinutes, daysActive per visitor or account (pages/features also: errorClickCount, rageClickCount, deadClickCount; pages also: uTurnCount); per-account rows also include numVisitors; select adds requested metadata fields
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
entityIdstringrequired- The Pendo page, feature, or track event ID.
entityTypestringrequired- The kind of entity: 'page', 'feature', or 'trackEvent'.one of
pagefeaturetrackEvent subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Optional Pendo account id to filter both summary and rows to. Combines with visitorIds or segmentPipeline.
groupBystring- 'visitor' (default) groups rows by visitorId; 'account' groups by accountId and excludes events with empty accountId.one of
visitoraccount groupByPropertiesarray- Exact custom event-property names, historic metadata keys (historic.kind.group.field), or current metadata keys (current.kind.group.field) used to group rows (maximum 2). Prefer historic metadata when available; use current metadata only when the user explicitly asks for current or latest metadata. Cannot be used with either groupBy or select.
includeAnonymousboolean- Whether to include unidentified visitors in the summary and rows. Defaults to true.default
true limitnumber- Maximum number of rows to return (1-200, default 10). Summary is independent of limit; set limit=1 if you only need totals.default
10 propertyFiltersarray- Property conditions applied before summary and row aggregation (maximum 10). Multiple filters are combined with AND.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
selectarray- Optional metadata fields to return in addition to usage metrics and the group-by ID. For groupBy='visitor', use exact fields from visitorMetadataSchema (for example, "visitor.custom.role"; "metadata.custom.role" also works). For groupBy='account', use exact fields from accountMetadataSchema (for example, "account.custom.ARR"; "metadata.custom.ARR" also works). If omitted, no metadata fields are returned.
sortBystring- Field to sort rows by. All entity types support 'events' and 'daysActive'. Pages and features also support 'errorClickCount', 'rageClickCount', 'deadClickCount'. Pages also support 'timeOnEntity' and 'uTurnCount'. Property groups support 'events', 'visitors', and 'accounts'. When sumEventProperty is supplied, all row groupings also support sorting by 'sumEventProperty'.default
events sortOrderstring- 'desc' (default, highest first) or 'asc'.one of
ascdescdefaultdesc sumEventPropertystring- Exact configured numeric event-property name to total. Adds sumEventProperty to the returned metrics and echoes the property name in meta. Values are weighted by event count; missing or nonnumeric values contribute zero. Requires a specific entityId.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
visitorIdsarray- Optional explicit visitor IDs to scope to (max 500). Mutually exclusive with segmentPipeline.
pendomcp_entityusagetimeseriesGet usage of a page, feature, or track event over time.Read-onlyentityUsageTimeSeries
Get usage of a page, feature, or track event over time. Groups events into buckets of the requested period (daily/weekly/monthly) and returns one row per bucket with all available metrics. Pages get the full set (visitors, accounts, events, timeOnEntity, averageTimeOnEntityPerVisitor (duration object {seconds, display}), errorClickCount, rageClickCount, uTurnCount, deadClickCount). Features drop the time-derived metrics and uTurnCount. Track events drop all click-level frustration counts. For whole-app usage over time (not a specific entity), use the appUsageTimeSeries tool instead. USE FOR: Trend questions over a window - e.g. 'how did feature X usage change over the last 12 weeks?', 'are rage clicks on page X trending up?'. EXAMPLES: - How did feature X usage change over the last 12 weeks? - Are rage clicks on page X trending up over the last 30 days? - How did visitor counts trend for this account last month? - Total page views per week across all pages over the last quarter RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - meta.period: echoed bucket size (daily|weekly|monthly) - meta.metrics: list of metric names returned per bucket - rows: one entry per time bucket with bucket (YYYY-MM-DD or YYYY-MM), startTime (timestamp object {iso, display}), and metric values; numeric metrics zero-fill and averageTimeOnEntityPerVisitor (duration object {seconds, display}) defaults to 0s for empty buckets
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
entityTypestringrequired- 'page', 'feature', or 'trackEvent'.one of
pagefeaturetrackEvent periodstringrequired- Bucket granularity. 'daily' for windows up to ~30 days, 'weekly' for longer ranges, 'monthly' for multi-quarter ranges.one of
dailyweeklymonthly subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Optional Pendo account id to filter the query to. Combines with segmentPipeline.
appIdstring- Optional application ID. When provided, the query is scoped to that app. Omit to include all apps. Ignored when entityId is supplied, since an entity already pins its app.
entityIdstring- Optional Pendo entity id. When omitted, the query aggregates across every entity of that type.
groupByPropertiesarray- Exact custom event-property names, historic metadata keys (historic.kind.group.field), or current metadata keys (current.kind.group.field) used to group every bucket (maximum 2). Prefer historic metadata when available; use current metadata only when the user explicitly asks for current or latest metadata. Requires entityId.
includeAnonymousboolean- Whether to include unidentified visitors in the metrics. Defaults to true.default
true limitnumber- Maximum property groups returned (1-200, default 10). Applies only with groupByProperties.
minEventsnumber- Only count visitors whose own event total within a bucket reaches this number, applied independently per bucket - so minEvents=2 with period='monthly' counts, for each month, the visitors with at least 2 events that month. This counts events, not visits - several events can happen within one visit, so it does not measure returning or repeat visitors; use cohortRetentionCurve for that. It is always a threshold on visitors, never on accounts: an account is counted in a bucket when it holds at least one qualifying visitor, and the bucket's metrics cover only those visitors' events. Omit to count every active visitor.
propertyFiltersarray- Property conditions applied before aggregation (maximum 10). Requires entityId.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortBystring- Metric used to rank property groups over the whole date range. Defaults to events. Supports 'sumEventProperty' when that parameter is supplied.
sortOrderstring- 'desc' (default) or 'asc'. Applies only with groupByProperties.one of
ascdesc sumEventPropertystring- Exact configured numeric event-property name to total. Adds sumEventProperty to the returned metrics and echoes the property name in meta. Values are weighted by event count; missing or nonnumeric values contribute zero. Requires a specific entityId.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_getagentconfigReturns the configuration for a given AI agent: its name, description (a human-authored summary of the agent's role and purpose, not its LLM system prompt), model preset, type, and the tool names and descriptions it has used in the specified date range.Read-onlygetAgentConfig
Returns the configuration for a given AI agent: its name, description (a human-authored summary of the agent's role and purpose, not its LLM system prompt), model preset, type, and the tool names and descriptions it has used in the specified date range. The agent config section comes from the stored agent record. The tools section is derived from runtime events in the date range and may be empty if the agent had no activity. USE FOR: Fetching the static configuration and runtime tool inventory of an AI agent. Use before analyzing issues or generating fix briefs to understand what the agent is configured to do and which tools it calls. EXAMPLES: - What is my agent's configured role and purpose? - Which tools does my agent have access to? - What model does agent X use? - Show me the full config for this agent before I debug it NOT FOR: The agent's actual LLM system prompt - this tool does not have access to that. Aggregated usage metrics, issue clusters, or conversation analysis - use the agent analytics tools for those. RETURNS: - Two labeled CSV sections: - [agent_config]: name, description (human-authored role/purpose summary, not the LLM system prompt), preset (model), type - one row. - [tools]: toolName, toolDescription - one row per tool seen in the date range; empty section if no activity found. The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID.
dateRangeobjectrequired- Time window used to look up the agent's runtime tool inventory from events. Use type='relative' with lastNDays for a rolling window, or type='absolute' with startDate/endDate (YYYY-MM-DD) for a fixed range. Max 90 days.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_getagentcontextFetches a grounding document that describes the current contents of a Pendo product resource so the LLM can reason about it.Read-onlygetAgentContext
Fetches a grounding document that describes the current contents of a Pendo product resource so the LLM can reason about it. Today the only supported resource is a Pendo Space - a collaborative canvas of product artifacts (pages, features, guides, notes, etc.) curated by a team. Pass `resourceType` (e.g. "space") and `resourceId` (the id of that resource, e.g. a space id) to retrieve the document. Call `listSpaces` first if you need to discover a space id. The response is JSON returned by the Spaces service and typically contains a markdown `body` plus a `schema` describing the resource's contents; do not assume a shape beyond what the response declares. Use `frameId` to scope a space's context to a single frame on the canvas (and items whose parent is that frame) - useful when the user's UI is focused on that frame; omit `frameId` for the full space.
Inputs
resourceIdstringrequired- Opaque id for that resource type (e.g. when resourceType is 'space', the space id).
resourceTypestringrequired- Which product resource to load context for. Supported values depend on subscription features; currently includes 'space'.one of
space subIdstringrequired- Subscription ID that owns the data. Required for all queries.
frameIdstring- When resourceType is "space", limits context to one frame (that canvas item id) and items whose parent is that frame. Omit for full-space context.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_guidepollresponsesGet per-poll response distribution and per-visitor response rows for a guide's non-NPS polls.Read-onlyguidePollResponses
Get per-poll response distribution and per-visitor response rows for a guide's non-NPS polls. Returns {meta, summary, rows}: summary.polls lists each poll with its question and response distribution; rows are visitor-keyed and pivoted - one column per poll, null where a visitor did not respond. limit (default 10, max 200) applies to the pivoted visitor rows after joining across all polls. USE FOR: Answering questions about how visitors responded to polls in a guide: response distributions, individual visitor answers, and per-poll breakdowns. Not for NPS guide score metrics. EXAMPLES: - What were the responses to the poll in the onboarding guide? - Show me the response distribution for guide X polls - Which visitors answered 'Yes' to the helpfulness poll? - What did visitors respond to the polls in guide G last month? RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - summary.polls: array of {pollId, question, distribution: [{response, count}]} for each poll. For free-text polls (open-ended responses), freeText is true and distribution is omitted because every response is unique - refer to the per-visitor rows instead. - rows: per-visitor with visitorId, browserTime, and one column per pollId (null if no response)
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
guideIdstringrequired- The guide ID to fetch poll responses for.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Optional Pendo account ID to filter responses to a specific account.
includeAnonymousboolean- Whether to include unidentified visitors in the results. Defaults to true.default
true limitnumber- Maximum number of visitor rows to return (default 10, max 200). Applies to pivoted rows after joining across all polls.default
10 pollIdsarray- Optional list of poll IDs to restrict results to. Omit to return all non-NPS polls on the guide.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_guideusageGet per-visitor or per-account usage breakdown for a single guide, with time-on-guide and new vs returning viewers.Read-onlyguideUsage
Get per-visitor or per-account usage breakdown for a single guide, with time-on-guide and new vs returning viewers. totalViews excludes continue-resumed guideSeen events to match the Pendo guide-details UI. For poll guides, includes per-poll response counts and response rate in summary. USE FOR: Per-visitor or per-account guide engagement - e.g. top visitors by time on guide, which accounts are completing vs dismissing, new vs returning viewer counts. With includeElements=true, also attributes each step's clicks to the individual buttons/links on it. EXAMPLES: - Top 20 visitors by time on guide X in the last 30 days - Which accounts are dismissing the onboarding guide most? - How many new vs returning viewers did the walkthrough have this month? - Show me per-visitor completion data for the tooltip guide - Is drop-off at step 3 happening via the CTA or by dismissing the guide? - Which button on the last step of the onboarding guide gets clicked most? RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - summary: totalViews, completions, dismissals, uniqueVisitors, uniqueAccounts, completionRate, dismissalRate, viewsPerUser, avgTimeOnGuide, medianTimeOnGuide (duration objects {seconds, display}), newViewers, returningViewers, isPoll - summary.polls (poll guides only): per-pollId uniqueResponseCount and totalResponseCount - rows: per-visitor or per-account rows with views, completions, dismissals, daysActive, lastSeen (timestamp object {iso, display}), timeOnGuide (duration object {seconds, display}) (per-account rows also include uniqueVisitors), sorted and limited - steps (only when includeSteps or includeElements is true): per-step array in guide step order, each with stepId, name, uniqueVisitors, viewCount. Single-step guides return one entry; step views include continue-resumed views to match the Pendo step funnel. - steps[].elements (only when includeElements=true): the step's clicked buttons/links, highest clicks first, each with uiElementId, text, type ('Button', 'Close Button', 'Link', 'Task Item', 'Image', 'Swiped Left', 'Swiped Right' or 'Unknown'), actions (what the click does, e.g. 'Next Step', 'Dismiss Guide', 'External URL', 'Go to Step (2)'), clicks, uniqueVisitors, percentOfStepClicks. Compare an element's uniqueVisitors against its step's uniqueVisitors to attribute drop-off. Only clicked elements appear, and elements since removed from the step are still counted. The maximum time range for this tool is 367 days.
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
guideIdstringrequired- The exact guide ID to analyze.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Optional Pendo account ID. When provided, results are restricted to activity from that account.
groupBystring- 'visitor' (default) groups rows by visitorId; 'account' groups by accountId and excludes events with empty accountId.one of
visitoraccountdefaultvisitor includeAnonymousboolean- Whether to include unidentified visitors in the summary and rows. Defaults to true.default
true includeElementsboolean- Whether to break each step's clicks down by the individual buttons/links on it, as an 'elements' array on every step. Implies includeSteps, so the step's view counts come back alongside its element clicks. Use this to attribute drop-off at a step to a specific element (CTA vs close button). Defaults to false.default
false includeStepsboolean- Whether to include a per-step breakdown (uniqueVisitors and viewCount per step) in a top-level 'steps' array. Defaults to false.default
false limitnumber- Maximum number of rows to return (1-200, default 10). Summary is independent of limit; set limit=1 if you only need the top row.default
10 segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortBystring- Field to sort rows by: 'views' (default), 'completions', 'dismissals', 'daysActive', 'lastSeen', 'timeOnGuide'.one of
viewscompletionsdismissalsdaysActivelastSeentimeOnGuidedefaultviews sortOrderstring- 'desc' (default, highest first) or 'asc'.one of
ascdescdefaultdesc userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listaccountsList the accounts that match a segment or fuzzy-search account display names or IDs.Read-onlylistAccounts
List the accounts that match a segment or fuzzy-search account display names or IDs. Segment mode (the default) defines the cohort with a segmentPipeline - either a saved Pendo segment reference or a full inline pipeline produced by the segment-builder tool. Search mode fuzzy-matches both the configured account display-name field and account ID. USE FOR: Listing the accounts in a segment/cohort, getting the account total, reading account metadata fields for those accounts, or resolving a named account to its ID without an application ID. EXAMPLES: - List the accounts in segment X - Which accounts match these metadata criteria? - How many accounts are in this segment? - Show me accounts in segment X with their ARR and company size - Find the account called Acme Inc RETURNS: - summary: numAccounts (the full segment total in segment mode; the number of returned matches in search mode) - rows in both modes: accountId, name, description when available, and requested fields in a metadata object keyed by metadata path (for example, "metadata.auto.lastvisit"), capped by limit - Search rows also include relevance. Only sufficiently relevant fuzzy matches are returned; unrelated accounts are omitted
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
limitnumber- Maximum number of account rows to return (1-200, default 10). In segment mode, the summary total is independent of limit; set limit=1 if you only need the count.default
10 modestring- How to choose accounts. "segment" (default) lists accounts matching segmentPipeline. "search" fuzzy-matches account display names and account IDs using search.one of
segmentsearchdefaultsegment searchstring- Account search query. Required when mode is "search"; not allowed when mode is "segment".
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
selectarray- List of account metadata fields to return for each account, in either mode. Only exact field names may be used, and should come from the accountMetadataSchema tool (e.g. "account.custom.ARR"; the "metadata.custom.ARR" form also works). If omitted, no metadata fields are returned.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listaiagentissuesLists detected (emergent) issues in AI agent conversations with instance counts and conversation counts.Read-onlylistAiAgentIssues
Lists detected (emergent) issues in AI agent conversations with instance counts and conversation counts. Returns a table of issue name (clusterName), summary, instance count, and conversation count per issue, plus a sample of conversationIds/eventIds for deep-diving via agentAnalyticsIssueAnalysis. It also returns visitorIds and accountIds who experienced the issue. USE FOR: Finding what problems or issues users encountered when using AI agents (e.g., incorrect answers, refusals, errors). Use when the user asks about common issues, problems, or failures with a specific agent. Refer to an issue by its clusterName, never its numeric clusterId. EXAMPLES: - What are the common issues my users are encountering using my ABC agent in the last 30 days? - What problems have users been encountering when using Acme agent in my Acme application lately? - Have we seen reduced occurrences of issues with incorrect answers in our fooBar agent since last month? - What models are most often used when users face problems with the chat agent in ScramCorp app? NOT FOR: Use listUseCases for topic/cluster analysis of conversations. Use listAiAgents to get agent IDs and names first when the user has not specified an agent. RETURNS: - Table of issues: summary, instance count, conversation count, agentId, appId, visitorIds, and accountIds. - Sorted by conversation count descending. Limited to 500 rows. The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- Required. The AI agent ID to filter by (from listAiAgents). Issues are clustered per agent to match the emergent issues table.
endDatestringrequired- Query end date in YYYY-MM-DD format (e.g., '2025-01-31'). Inclusive.
startDatestringrequired- Query start date in YYYY-MM-DD format (e.g., '2025-01-01'). Inclusive.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
granularitynumber- Clustering granularity: higher values yield more, finer-grained clusters. Range: 1-5. Default: 3.default
3 limitnumber- Maximum number of issue rows to return. Range: 1-500. Default: 100.default
100 segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listaiagentsLists all AI agents that the user has access to.Read-onlylistAiAgents
Lists all AI agents that the user has access to. AI agents are conversational assistants that can be deployed on specific pages or app-wide. AI agents have the ability to collect conversations, cluster prompts by topics/use cases, and calculate metrics like conversation counts and rage prompt detection. This tool returns agent ids and names for usage with other related agent tools.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_listallapplicationsPendo data is split into subscriptions, which share a set of visitors and accounts.Read-onlylistAllApplications
Pendo data is split into subscriptions, which share a set of visitors and accounts. Each subscription is split into separate applications. This call returns a list of all the names and ids of all the subscriptions this user has access to, along with the names and ids of all of the applications in that subscription. Most tools for this mcp require at least a subscription id; many also require an application id. Application ids are not unique across different subscriptions.
Inputs
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_listcountableslistCountables is a tool to find, search, look up, or list pages, features, or track events by name and return their entity IDs.Read-onlylistCountables
listCountables is a tool to find, search, look up, or list pages, features, or track events by name and return their entity IDs. These entities are collectively called "countables" - the tagged elements and custom events that Pendo tracks in your application. Use the type parameter to select which kind to list. This is the entity lookup tool to use before single-page, single-feature, or single-track-event usage analytics when the user provides a name instead of an ID. Relevant analytics questions include page views, feature clicks, event counts, unique visitor or "people" counts, unique account counts, time on page, frustration clicks, and other entity usage metrics. The trackEvent type corresponds to what other tools call trackType or TrackType. Supports search via the search param with a searchType selector: "semantic" for natural-language queries ranked by meaning, "fuzzy" for keyword matching on names and descriptions, or "substring" for case-insensitive containment match on name. Both search and searchType are required together. For features, pageId restricts discovery to features associated with one known page. Offset is ignored when search is used; use limit to control result count. USE FOR: Resolving a named page, feature, or track event to its ID before calling entityUsage; listing features associated with a page; listing or browsing countables by name; auditing what is tagged in an app; semantic, fuzzy, or substring search for countable entities. EXAMPLES: - List all pages - Show me features for this app - Which features are associated with page X? - List track events matching 'checkout' - Find pages with 'dashboard' in the name - What track events are defined? - Find features related to user onboarding - Search for pages about checkout flow - Find the ID for 'Page X' before checking how many people viewed it NOT FOR: Listing guides. Listing product areas. Usage analytics, click counts, visitor counts, or activity rankings. WORKFLOW: For analytics about one named entity, search here first. Prefer searchType='substring' with the entity name exactly as the user supplied it; if that finds no match, retry with searchType='fuzzy' or 'semantic'. Then pass the matching ID to entityUsage. Do not conclude that the entity does not exist merely because it was absent from an aggregateEntityUsage ranking, which returns only a limited set of ranked entities. RETURNS: - Summary info for each matching entity: ID, name, description, and eventPropertyNames (custom property names attached to the countable). Pages also include URL rules and exclude rules. Features include pageId and elementPathRules (CSS selector rules identifying the tagged UI element). - When search is used: results include a relevance score
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
typestringrequired- The kind of entity to list: page (tagged URLs), feature (tagged UI elements), or trackEvent (custom events sent via Track API - called trackType in some other tools).one of
pagefeaturetrackEvent appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
limitnumber- Maximum number of results to return.default
50 offsetnumber- Number of matching results to skip before returning. Use with limit to paginate through large result sets.default
0 pageIdstring- Optional page ID. Only valid when type='feature'; restricts results to features associated with this page.
productAreaIdstring- Optional product area ID for the request.
searchstring- Search query for finding countables. Behavior depends on searchType: with "semantic", this is a natural-language query ranked by meaning (e.g., "user onboarding flow"); with "fuzzy", this is a keyword query matched against names and descriptions (e.g., "checkout", "dashboard"); with "substring", this is a case-insensitive containment match on name only (e.g., "board" matches "onboarding"). Must be used together with searchType.
searchTypestring- How to search. "semantic" ranks results by meaning using embedding similarity - best for natural-language questions. "fuzzy" matches keywords against names and descriptions - best for known terms. "substring" matches entities whose name contains the search string (case-insensitive) - best for exact fragments. Requires search to also be specified.one of
semanticfuzzysubstring userQuerystring- The original user query or question that triggered this tool call.
pendomcp_listcustomobjectsList a subscription's designated business OBJECTS - the custom event properties that have been marked as analyzable business entities (e.g.Read-onlylistCustomObjects
List a subscription's designated business OBJECTS - the custom event properties that have been marked as analyzable business entities (e.g. 'dashboardId', 'venueId', 'orderId'). Returns each object's underlying event property name (its field) and kind, which are exactly the objectProperty argument the objectAnalytics* tools take. Objects are NOT pages, features, or track events. Returns property names (e.g. 'dashboardId'), not human display labels. USE FOR: Discovering which business objects a subscription has, and grounding an ambiguous entity name before an objectAnalytics* call. Use it when a name could mean either a business object or a page/feature (e.g. 'dashboards') to confirm the object exists and get the exact objectProperty.field to pass to objectAnalyticsActiveCount or objectAnalyticsBreakdown. EXAMPLES: - What business objects can I analyze in this subscription? - Is 'dashboard' a business object or a page? - List the custom objects available for Object Analytics - Which object property identifies venues? NOT FOR: Listing pages, features, or track events - use listCountables. Counting or ranking objects, or any per-object metric - use objectAnalyticsActiveCount or objectAnalyticsBreakdown. This returns only the object property definitions, never metrics. RETURNS: - One entry per designated object property: field (the event property name to pass as objectProperty.field, e.g. 'dashboardId'), and kind ('event' or 'historical'). - For historical (promoted visitor/account/parentAccount metadata) objects, group and metadataKind are also included.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
searchstring- Optional search term matched against the object's field name, displayName, OR description (e.g. 'dash' matches field 'dashboardId'; 'report' matches displayName 'Reports' even when the field is 'rp_obj_4471'). How it is matched depends on searchType. Omit to return all designated objects.
searchTypestring- How the search term is matched. 'substring' (the default when omitted) does a case-insensitive containment match on field name, displayName, or description. 'fuzzy' scores objects by string similarity to the term against name and description - use it to recover from a misspelling or loosely-worded label when substring finds nothing. Only meaningful together with search.one of
substringfuzzy userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listguidecategoriesReturns all guide categories for a subscription - their IDs, names, and platform (web or mobile).Read-onlylistGuideCategories
Returns all guide categories for a subscription - their IDs, names, and platform (web or mobile). Each category exists as a paired web+mobile variant with distinct IDs; use the platform filter to narrow results. USE FOR: Finding a guide category ID to associate a guide with a category, or enumerating which categories exist for a subscription. Pair with listGuides to see which guides belong to each category. EXAMPLES: - What guide categories are set up for this subscription? - List all guide categories - Show me web guide categories - Which mobile guide categories exist? - What are the available guide categories and their IDs? NOT FOR: Guide analytics or engagement metrics - use guideMetrics or guideUsage instead. To search or list guides themselves, use listGuides. RETURNS: - Array of guide categories, each with: id, name, platform (web or mobile)
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
limitnumber- Maximum number of results to return.default
50 platformstring- Filter by platform. Values: "web" or "mobile". If omitted, both web and mobile categories are returned (each category exists as two variants with distinct IDs).one of
webmobile searchstring- Optional fuzzy search string to search guide categories by name. Results are ranked by match quality. When omitted, all categories are returned.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listguideorderingList the guide delivery order ("throttle order") for an app.Read-onlylistGuideOrdering
List the guide delivery order ("throttle order") for an app. When multiple guides are eligible to show at the same time, the delivery order determines which guide takes precedence. This tool returns the ordered list of guides for the given app. An app with no ordering set returns an empty list. Guides are capped by limit (default 50). totalGuides is the full ordering length; offset and returned describe the slice in guides. When returned < totalGuides the result is truncated - tell the user which range they're seeing (e.g. "showing 1-50 of 120") and use offset to page through the rest. PRESENTATION (follow exactly): For EVERY guide, show ALL SIX of these columns, always in this order: Guide Name | Status | Segment | Page | Guide Category | Product Area Show every column even when most guides share a value and even when a column has no values. Segment is the readable segment name (e.g. "Everyone", "Browser: Chrome"). Page is "Sitewide" when the guide targets no specific page. Do NOT show the raw guideId to the user. It is for your context only, to reference guides in follow-up tool calls. EXAMPLES: - What is the guide delivery order for app xxx? - Which guide shows first when several are eligible? - Show me the throttle ordering for app xxx RETURNS: - appId, appName, totalGuides, offset, returned, and the ordered guides for the app - totalGuides/offset/returned: the full ordering length and the returned slice - surface the range to the user when truncated - guides: in delivery order. Always display these six columns per guide: Guide Name, Status, Segment, Page, Guide Category, Product Area - guideId is context-only - never shown to the user
Inputs
appIdstringrequired- Application ID to scope the request.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
limitnumber- Maximum number of results to return.default
50 offsetnumber- Number of matching results to skip before returning. Use with limit to paginate through large result sets.default
0 userQuerystring- The original user query or question that triggered this tool call.
pendomcp_listguidesList, filter, and search in-app guides, or fetch a single guide's full content.Read-onlyListGuides
List, filter, and search in-app guides, or fetch a single guide's full content.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
activationstring- Filter guides by activation (launch) method. Values:
"auto" - shown automatically on page load / app launch,
"api" - triggered programmatically,
"badge" - shown via a badge icon,
"dom" - triggered by clicking a specific element,
"embed" - embedded inline in the page,
"launcher" - shown in guide center or resource center,
"page" - triggered by page view (mobile),
"feature" - triggered by element click (mobile),
"form" - triggered by form interaction,
"track" - triggered by a track event.
Note: guides can have multiple activation methods (dash-separated). This filter matches if the guide's launch method contains the specified value.one of
autoapibadgedomembedlauncherpagefeatureformtrack appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
expandboolean- When true, returns detailed guide metadata (steps, polls, scheduling, conversion, translation languages and statuses) for each guide instead of the summary. Works with all filters. Does not fetch guide content from storage - use guideId for that.
expirationstring- Filter guides by expiration status. Values:
"active" - guide has no expiration date or has not yet expired,
"expired" - guide's expiration date is in the past.one of
activeexpired guideIdstring- Fetch a single guide by ID and return its full content (step-by-step text extracted from building blocks). When provided, all filter/pagination params are ignored.
guideTypestring- Filter guides by type. Derived from guide attributes.
Values: "banner", "tooltip", "lightbox", "walkthrough" (multi-step), "whatsnew" (what's new), "building-block", "group" (guide group), "training", "launcher" (resource center), "mobile-lightbox" (mobile-only lightbox).one of
bannertooltiplightboxwalkthroughwhatsnewbuilding-blockgrouptraininglaunchermobile-lightbox limitnumber- Maximum number of results to return.default
50 offsetnumber- Number of matching results to skip before returning. Use with limit to paginate through large result sets.default
0 searchstring- Search query for finding guides. Behavior depends on searchType: with "semantic", this is a natural-language query ranked by meaning (e.g., "how to onboard new users"); with "fuzzy", this is a keyword query matched against guide names and descriptions (e.g., "onboarding", "SSO"). Requires searchType to also be specified.
searchTypestring- How to search. "semantic" ranks results by meaning using embedding similarity - best for natural-language questions. "fuzzy" matches keywords against guide names and descriptions - best for known terms. Requires search to also be specified.one of
semanticfuzzy statusstring- Filter guides by state. Values: "public" (live), "staged" (testing), "draft" (in progress), "_pendingReview_" (awaiting review), "disabled" (turned off).one of
publicstageddraft_pendingReview_disabled userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listproductareasList all product areas in the subscription with their IDs, names, and descriptions.Read-onlyListProductAreas
List all product areas in the subscription with their IDs, names, and descriptions.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
limitnumber- Maximum number of results to return.default
50 offsetnumber- Number of matching results to skip before returning. Use with limit to paginate through large result sets.default
0 searchstring- Optional fuzzy search string to filter product areas by name or description. When omitted, all product areas are returned.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_listspacesLists the Pendo Spaces the current user can access in this subscription.Read-onlylistSpaces
Lists the Pendo Spaces the current user can access in this subscription. A Pendo Space is a collaborative canvas of product artifacts (pages, features, guides, notes, etc.) that a team curates together; think of it as a shared workspace or board inside Pendo. Returns JSON from the Spaces service (opaque shape - field names depend on the Spaces API response). Use this to discover a space id before calling `getAgentContext` with `resourceType` "space" and that id as `resourceId`.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_listthemesReturns a list of themes for a subscription.Read-onlylistThemes
Returns a list of themes for a subscription. Themes define the visual styling applied to guides and other in-app content. Supports optional filtering by application and fuzzy search. USE FOR: Listing available themes, finding a theme by name, or getting a theme ID to reference in other tools. Use when the user asks about available themes or visual styles for their guides. EXAMPLES: - What themes do we have? - List all themes for this subscription - Show me themes for app 12345 - Find a theme named 'Dark Mode' NOT FOR: Modifying or creating themes. Viewing guide content or guide metrics. RETURNS: - Array of themes with: id, name, appId, tags, archive status, buildingBlocks (visual styling properties), cssUrl (supplemental CSS file URL if present)
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
limitnumber- Maximum number of results to return.default
50 offsetnumber- Number of matching results to skip before returning. Use with limit to paginate through large result sets.default
0 searchstring- Optional fuzzy search string to search themes by name. Results are ranked by match quality. When omitted, all themes are returned.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_listtrackedissuesReturns tracked (curated) issue definitions and their associated conversation and event IDs for a given AI agent and time window.Read-onlylistTrackedIssues
Returns tracked (curated) issue definitions and their associated conversation and event IDs for a given AI agent and time window. Tracked issues are user-defined error or failure categories; conversations are attributed to them by LLM classification. USE FOR: Listing all tracked issues defined for an agent and discovering which conversations belong to each. The returned conversationIds and eventIds can be used to scope a detailed analysis of a specific tracked issue. EXAMPLES: - What tracked issues are defined for my agent? - Which conversations belong to the 'incorrect answer' tracked issue? - Show me the tracked issues for my agent over the last 30 days. NOT FOR: Detected (auto-clustered) issues or aggregate volume metrics; this tool returns only user-defined tracked issues. RETURNS: - Per tracked issue: id, name, description, severity, status, summary, numConversations, conversationIds, eventIds. LARGE DATASETS: If this tool returns too much data or times out for a given date range, do NOT simply narrow the overall date range - that silently discards data outside the narrowed window. Instead, split the request into sequential non-overlapping sub-windows (e.g., for 30 days: three ~10-day windows such as days 1-10, 11-20, 21-30). Call the tool once per sub-window, then merge results by summing conversation counts across windows. This preserves the full dataset. The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID to analyze.
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listtrackedusecasesReturns tracked (curated) use case definitions and their associated conversation and event IDs for a given AI agent and time window.Read-onlylistTrackedUseCases
Returns tracked (curated) use case definitions and their associated conversation and event IDs for a given AI agent and time window. Tracked use cases are user-defined categories; conversations are attributed to them by LLM classification. USE FOR: Listing all tracked use cases defined for an agent and discovering which conversations belong to each. Returns conversationIds and eventIds that identify the conversations attributed to each tracked use case for further analysis. EXAMPLES: - What tracked use cases are defined for my agent? - Which conversations belong to the 'billing support' tracked use case? - Show me the tracked use cases for my agent over the last 30 days. NOT FOR: Unsupervised clustering of conversations into emergent topics, or aggregate volume metrics - this tool only lists predefined tracked use cases and the conversations attributed to them. RETURNS: - Per tracked use case: id, name, summary, numConversations, conversationIds, eventIds. The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID to analyze.
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listusecasesGet AI agent conversation clustering analysis with comprehensive metrics.Read-onlylistUseCases
Get AI agent conversation clustering analysis with comprehensive metrics. Analyzes conversations and prompts, grouping them by semantic topics/use cases. EXAMPLES: - What use cases has my AI agent been used for in the last 30 days? - What are the main topics users are asking my AI agent about? - Show me prompt clusters for my chat agent over the past 2 weeks. - Cluster recent conversations for my agent to find common themes. RETURNS: - Per-cluster metrics: clusterName, clusterSummary, numConversations, numPrompts, numVisitors, numAccounts, numRagePrompts, numRagePromptsOverNumPrompts, retentionRate, retainedVisitors, totalVisitors, visitorIds, accountIds, conversationIds, and ragePromptConversationIds. The maximum time range for this tool is 90 days.
Inputs
agentIdstringrequired- The AI agent ID to analyze.
endDatestringrequired- Query end date in YYYY-MM-DD format (e.g., '2025-01-31'). Inclusive.
startDatestringrequired- Query start date in YYYY-MM-DD format (e.g., '2025-01-01'). Inclusive.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
granularitynumber- Clustering granularity: higher values yield more, finer-grained clusters. Range: 1-5. Default: 3.default
3 segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listvisitorsList the visitors that match a segment and get a summary of the cohort.Read-onlylistVisitors
List the visitors that match a segment and get a summary of the cohort. Returns {summary, rows}: summary has numVisitors and numAccounts (the true segment totals, independent of limit); rows is the list of matched visitors with visitorId and any requested metadata fields, capped by limit. The cohort is defined by a segmentPipeline - either a saved Pendo segment reference or a full inline pipeline produced by the segment-builder tool. USE FOR: Listing the members of a segment/cohort and getting its visitor and account totals. EXAMPLES: - List the visitors in segment X - Who are the visitors in this cohort? - How many visitors and accounts are in this segment? - Show me visitors in segment X with their email and role RETURNS: - summary: numVisitors, numAccounts (segment totals, independent of limit) - rows: visitorId plus requested fields in a metadata object keyed by metadata path (for example, "metadata.auto.lastvisit"), capped by limit
Inputs
segmentPipelinestringrequired- Required inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
groupByMetadatastring- Groups the full matching cohort by one current metadata field before applying limit, for scalable distributions. Use an exact field from visitorMetadataSchema or accountMetadataSchema with its entity prefix, for example "visitor.custom.role" or "account.custom.tier". Rows contain metadataValue (missing/empty values become "(none)"), numVisitors, and numAccounts. Cannot be used with select.
limitnumber- Maximum number of visitor or metadata-group rows to return (1-2000, default 10). Summary totals are independent of limit; set limit=1 if you only need totals.default
10 selectarray- List of visitor metadata fields to return in addition to the visitorId. Only exact field names may be used, and should come from the visitorMetadataSchema tool (e.g. "visitor.custom.role"; the "metadata.custom.role" form also works). If omitted, only visitorId is returned. Cannot be used with groupByMetadata.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_objectanalyticsactivecountCount how many unique business OBJECTS (e.g.Read-onlyobjectAnalyticsActiveCount
Count how many unique business OBJECTS (e.g. dashboards, venues, documents, orders) were active over a date range, where an object is identified by one event property. Returns a single scalar count (distinct object_id) for the chosen property within the window. Use this for questions about a business object - including when a page or feature shares the same name (e.g. count 'dashboards' as the object, not the 'Dashboards' page). An object is a custom event property designated as an analyzable entity, distinct from pages, features, and track events. The aggregation is built by the Pendo analytics gateway, not in this service. USE FOR: Scalar 'how many unique <objects> were active' questions where <object> is a business object identified by a single event/metadata property over one time window - even if a page or feature shares the object's name. When the object name is ambiguous (could be a page/feature) or you don't know its event property, ground it with listCustomObjects first. EXAMPLES: - How many unique venues were active in the last 30 days? - Count distinct documents touched between 2025-01-01 and 2025-01-31 - How many unique order IDs were active last week? NOT FOR: Ranking objects (e.g. 'which dashboards had the most visitors') - use objectAnalyticsBreakdown. Per-page, per-feature, or per-track-event usage - use entityUsage. Per-visitor or per-account app usage - use appUsage. Time series, group-by, or comparisons are not supported here. RETURNS: - activeCount: the number of distinct objects active in the window - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - meta.objectProperty: the field and kind the count was computed over
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
objectPropertyobjectrequired- The event property that identifies the object to count distinct values of. field (required) is the property name, e.g. 'venueId'. kind (optional, default 'event') is 'event' or 'historical'. group and metadataKind are required ONLY when kind='historical' (metadataKind is 'visitor', 'account', or 'parentAccount').
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Filter results to a specific account. REQUIRED when the user mentions or references a specific account. Use the exact account ID string
appIdarray- Applications to scope the query to. Entries are either application ids or a platform type. Pass one id (e.g. ["123456"]) for a single app, or several ids (e.g. ["123456", "789012"]) for multiple apps. To scope to every app of a platform, pass a SINGLE platform token instead: one of "web", "mobile", "extension", "ios", or "android" (e.g. ["web"] for all web apps). A platform token cannot be combined with app ids or another platform token. OMIT this parameter (or pass an empty list) to query across ALL applications in the subscription - that is the correct default for object questions. Do NOT substitute a default app id when the scope is unspecified.
eventKindsarray- Restrict which kinds of countable events are scanned for the object property. One or more of 'page', 'feature', 'trackEvent' (e.g. ["trackEvent"] to only count track-event activity). OMIT to scan all kinds - that is the correct default.
excludeEntitiesarray- Drop these specific countables (pages, features, and/or track events) from the query. Each entry is { id, kind }. OMIT to exclude nothing (the default). Use listPagesFeaturesAndEvents to resolve ids.
includeAnonymousboolean- Whether to include unidentified visitors. Defaults to true.default
true includeEntitiesarray- Scope the query to ONLY these specific countables (pages, features, and/or track events). Each entry is { id, kind }. OMIT to include every countable (the default). Use listPagesFeaturesAndEvents to resolve ids; combine with eventKinds to narrow by kind instead of naming specific countables.
metadataFiltersarray- Slice the objects to only those matching the object's OWN declared metadata (the fields customers send on metadata events for this object - use resolveBusinessObject or listBusinessObjectMetadata first to confirm exact field names and sample values, do not guess them). Multiple entries are combined with AND; multiple 'values' within one entry are combined with OR (e.g. field='tier', operator='equals', values=['gold','platinum'] matches objects where tier is gold OR platinum). 'equals'/'notEquals' match against 'values' (OR across multiple values); 'contains'/'notContains' substring-match against 'values'; 'isEmpty'/'isNotEmpty' ignore 'values' and check whether the field has any value at all.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_objectanalyticsbreakdownAnalyze the individual business OBJECTS (e.g.Read-onlyobjectAnalyticsBreakdown
Analyze the individual business OBJECTS (e.g. dashboards, venues, documents, orders) of one kind over a date range, where an object is identified by one event property. Use this for questions about a business object - including when a page or feature shares the same name (e.g. treat 'dashboards' as objects, not the 'Dashboards' page). An object is a custom event property designated as an analyzable entity, distinct from pages, features, and track events. Two modes, selected by the 'measures' argument: (1) RANKING (default, measures omitted or ['uniqueVisitors']): a ranked list of objects by how many unique visitors were active on each - 'which <objects> had the most/least visitors'. Returns one row per object (objectId, objectName, uniqueVisitors), top-N by sortBy, optionally scoped by a segment. (2) AVERAGES (measures includes 'avgObjectsPerVisitor' and/or 'avgTimePerObject'): a single subscription-wide summary scalar per measure - 'on average how many <objects> does each visitor use', 'average time spent per <object>' - matching the object-details page tiles. These are aggregates across ALL objects, NOT per-object rows, so sortBy/limit do not apply. The aggregation is built by the Pendo analytics gateway, not in this service. USE FOR: Ranking the individual objects of one business-object kind by distinct active visitors - e.g. which dashboards had the most visitors, busiest venues, most-visited documents - even if a page or feature shares the object's name. Also the home for per-object AVERAGE and TIME questions about a business object, e.g. 'average time per dashboard' or 'average dashboards per visitor'. When the object name is ambiguous (could be a page/feature) or you don't know its event property, ground it with listCustomObjects first. EXAMPLES: - Which dashboards had the most visitors last month? - Which venues had the most unique visitors in the last 30 days? - Top 10 documents by distinct visitors between 2025-01-01 and 2025-01-31 - Least-visited order IDs over the last week - On average, how many distinct dashboards does each visitor interact with over the last 30 days? - On average, how much time do visitors spend on each dashboard over the last 30 days? NOT FOR: A single 'how many unique objects' scalar - use objectAnalyticsActiveCount. Per-page, per-feature, or per-track-event usage - use aggregateEntityUsage. Per-visitor or per-account app usage - use appUsage. Page dwell-time or time-on-page - that is page analytics, not a business object; 'time spent on a business object' is this tool, page dwell-time is not. RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD); meta.compareToDateRange when comparing; meta.measures: the requested measures - meta.objectProperty: the field and kind analyzed - RANKING mode: rows - one per object with objectId, objectName, uniqueVisitors, ranked by sortBy. In comparison mode uniqueVisitors splits into current_/prior_/change_/pctChange_ columns. - AVERAGES mode: summary - a single object keyed by the requested average measure(s), e.g. {avgObjectsPerVisitor, avgTimePerObject}; no rows.
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
objectPropertyobjectrequired- The event property that identifies the object to break down by. field (required) is the property name, e.g. 'venueId'. kind (optional, default 'event') is 'event' or 'historical'. group and metadataKind are required ONLY when kind='historical' (metadataKind is 'visitor', 'account', or 'parentAccount').
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Filter results to a specific account. REQUIRED when the user mentions or references a specific account. Use the exact account ID string
appIdarray- Applications to scope the query to. Entries are either application ids or a platform type. Pass one id (e.g. ["123456"]) for a single app, or several ids (e.g. ["123456", "789012"]) for multiple apps. To scope to every app of a platform, pass a SINGLE platform token instead: one of "web", "mobile", "extension", "ios", or "android" (e.g. ["web"] for all web apps). A platform token cannot be combined with app ids or another platform token. OMIT this parameter (or pass an empty list) to query across ALL applications in the subscription - that is the correct default for object questions. Do NOT substitute a default app id when the scope is unspecified.
compareByobject- Split the ranked breakdown further by a metadata field - e.g. 'break down orders by region', the same 'Compare by' feature as the Object Analytics UI. When set, RANKING mode returns one row per (object, compareBy value) pair (an extra 'compareByValue' column) instead of one row per object. Only supported when ranking by a single additive measure; not supported with compareToDateRange or with summary (ratio / multi-measure) requests. kind (required): 'visitor', 'account', or 'parentAccount' for visitor/account metadata (look up valid group/field names with visitorMetadataSchema/accountMetadataSchema first), or 'object' for the business object's OWN declared metadata (look up valid field names with listBusinessObjectMetadata first; group is derived automatically from objectProperty and must be omitted). field (required) is the metadata field name, e.g. 'region'. group is required for 'visitor'/'account'/'parentAccount' (the metadata group, e.g. 'custom'), and must be omitted for 'object'.
compareToDateRangeobject- Optional baseline period for a period-over-period comparison. When supplied, dateRange is treated as the current/recent period and this as the earlier baseline; results are ranked by how each object's unique visitors changed (change = current - prior). Same shape as dateRange. A relative baseline (type='relative', lastNDays) is the N days IMMEDIATELY BEFORE dateRange - not the last N days from today. Use absolute dates for a fixed baseline. Omit for a single-period ranking. If dateRange begins before the object's promotion, the comparison is dropped (its baseline would predate promotion): the tool returns a single-period ranking and omits meta.compareToDateRange, with meta.promotedAt signalling why.
eventKindsarray- Restrict which kinds of countable events are scanned for the object property. One or more of 'page', 'feature', 'trackEvent' (e.g. ["trackEvent"] to only count track-event activity). OMIT to scan all kinds - that is the correct default.
excludeEntitiesarray- Drop these specific countables (pages, features, and/or track events) from the query. Each entry is { id, kind }. OMIT to exclude nothing (the default). Use listPagesFeaturesAndEvents to resolve ids.
includeAnonymousboolean- Whether to include unidentified visitors. Defaults to true.default
true includeEntitiesarray- Scope the query to ONLY these specific countables (pages, features, and/or track events). Each entry is { id, kind }. OMIT to include every countable (the default). Use listPagesFeaturesAndEvents to resolve ids; combine with eventKinds to narrow by kind instead of naming specific countables.
limitnumber- Maximum number of object rows to return (1-200, default 10). Also the high-cardinality guard - object properties can have very many distinct values.default
10 measuresarray- Which measure(s) to compute, and this also selects the output shape. To RANK objects (one row per object), request EXACTLY ONE additive measure: 'uniqueVisitors' (default, distinct active visitors), 'totalTime' (time spent, minutes), 'numAccounts' (distinct accounts), or the quality-of-experience click counts 'uTurns', 'rageClicks', 'deadClicks', 'errorClicks'. Anything else returns a single class-level SUMMARY scalar per measure (NOT per-object rows, so sortBy/limit/compareToDateRange do not apply): the ratio measures 'avgObjectsPerVisitor' (avg distinct objects each visitor uses), 'avgTimePerObject' (avg time per object), 'avgEventsPerObject', 'avgDaysActivePerObject', 'avgDaysActive', 'avgAccountsPerObject', 'avgObjectsPerAccount', 'avgParentAccountsPerObject', 'avgObjectsPerParentAccount', 'avgVisitorsPerAccount' - OR any request naming more than one measure. Ranking by multiple measures at once is not supported.
metadataFiltersarray- Slice the objects to only those matching the object's OWN declared metadata (the fields customers send on metadata events for this object - use resolveBusinessObject or listBusinessObjectMetadata first to confirm exact field names and sample values, do not guess them). Multiple entries are combined with AND; multiple 'values' within one entry are combined with OR (e.g. field='tier', operator='equals', values=['gold','platinum'] matches objects where tier is gold OR platinum). 'equals'/'notEquals' match against 'values' (OR across multiple values); 'contains'/'notContains' substring-match against 'values'; 'isEmpty'/'isNotEmpty' ignore 'values' and check whether the field has any value at all.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortBystring- How to rank the object rows. When ranking by a single additive measure, the only valid value is that measure, which is also the default (e.g. 'uniqueVisitors', 'totalTime', 'rageClicks'). Ignored for summary requests (a ratio measure, or more than one measure), which return no rows.
In comparison mode (compareToDateRange supplied, uniqueVisitors only) sort by a prefixed column instead: 'current_uniqueVisitors', 'prior_uniqueVisitors', 'change_uniqueVisitors', or 'pctChange_uniqueVisitors'. PREFER 'change_uniqueVisitors' (absolute change) for 'biggest mover / drop-off / gainer' questions; 'pctChange_uniqueVisitors' is noisy on low-traffic objects and null when the prior period had zero activity. Defaults to 'change_uniqueVisitors' when comparing.default
uniqueVisitors sortOrderstring- 'desc' (default, highest first - most active objects) or 'asc' (lowest first - least active objects).one of
ascdescdefaultdesc userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_objectanalyticstimeseriesTrack how engagement with a business OBJECT (e.g.Read-onlyobjectAnalyticsTimeSeries
Track how engagement with a business OBJECT (e.g. dashboards, venues, documents, orders) changed over time, where an object is identified by one event property. Groups the date range into buckets of the requested period (daily/weekly/monthly) and returns one row per bucket. The 'metric' param chooses what each bucket measures: avgTimePerObject (DEFAULT) = average time spent per object - this is what "engagement" with objects means; numEvents = events on objects ("activity"/event volume); numVisitors = distinct visitors engaging objects; numSubjects = distinct active objects (the time-bucketed form of objectAnalyticsActiveCount). Use this for questions about a business object - including when a page or feature shares the same name (e.g. trend 'dashboards' as the object, not the 'Dashboards' page). An object is a custom event property designated as an analyzable entity, distinct from pages, features, and track events. The aggregation is built by the Pendo analytics gateway, not in this service. USE FOR: Trend questions about a business object over a window - e.g. 'how has weekly engagement with dashboards changed over the last 3 months?' (engagement -> avgTimePerObject, the default), 'event volume per venue by month' (-> numEvents), 'daily distinct visitors on documents over the last 30 days' (-> numVisitors), 'active order IDs per week' (-> numSubjects) - even if a page or feature shares the object's name. When the object name is ambiguous (could be a page/feature) or you don't know its event property, ground it with listCustomObjects first. EXAMPLES: - How has weekly engagement with dashboards changed over the last 3 months? - Monthly event volume per venue over the last year - Daily distinct visitors engaging documents over the last 30 days - Active order IDs per week over the last quarter NOT FOR: A single scalar for one window - use objectAnalyticsActiveCount. Ranking individual objects - use objectAnalyticsBreakdown. Per-page, per-feature, or per-track-event usage over time - use entityUsageTimeSeries. Whole-app usage over time - use appUsageTimeSeries. RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - meta.objectProperty: the field and kind the series was computed over - period: echoed bucket size (daily|weekly|monthly) - metrics: the metric name returned per bucket (avgTimePerObject, numEvents, numVisitors, or numSubjects) - rows: one entry per time bucket with bucket (YYYY-MM-DD or YYYY-MM), startTime (timestamp object {iso, display}), and the metric value; buckets zero-fill empty periods
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
objectPropertyobjectrequired- The event property that identifies the object to trend over time. field (required) is the property name, e.g. 'venueId'. kind (optional, default 'event') is 'event' or 'historical'. group and metadataKind are required ONLY when kind='historical' (metadataKind is 'visitor', 'account', or 'parentAccount').
periodstringrequired- Bucket granularity. 'daily' for windows up to ~30 days, 'weekly' for longer ranges, 'monthly' for multi-quarter ranges.one of
dailyweeklymonthly subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Filter results to a specific account. REQUIRED when the user mentions or references a specific account. Use the exact account ID string
appIdarray- Applications to scope the query to. Entries are either application ids or a platform type. Pass one id (e.g. ["123456"]) for a single app, or several ids (e.g. ["123456", "789012"]) for multiple apps. To scope to every app of a platform, pass a SINGLE platform token instead: one of "web", "mobile", "extension", "ios", or "android" (e.g. ["web"] for all web apps). A platform token cannot be combined with app ids or another platform token. OMIT this parameter (or pass an empty list) to query across ALL applications in the subscription - that is the correct default for object questions. Do NOT substitute a default app id when the scope is unspecified.
eventKindsarray- Restrict which kinds of countable events are scanned for the object property. One or more of 'page', 'feature', 'trackEvent' (e.g. ["trackEvent"] to only count track-event activity). OMIT to scan all kinds - that is the correct default.
excludeEntitiesarray- Drop these specific countables (pages, features, and/or track events) from the query. Each entry is { id, kind }. OMIT to exclude nothing (the default). Use listPagesFeaturesAndEvents to resolve ids.
includeAnonymousboolean- Whether to include unidentified visitors. Defaults to true.default
true includeEntitiesarray- Scope the query to ONLY these specific countables (pages, features, and/or track events). Each entry is { id, kind }. OMIT to include every countable (the default). Use listPagesFeaturesAndEvents to resolve ids; combine with eventKinds to narrow by kind instead of naming specific countables.
metadataFiltersarray- Slice the objects to only those matching the object's OWN declared metadata (the fields customers send on metadata events for this object - use resolveBusinessObject or listBusinessObjectMetadata first to confirm exact field names and sample values, do not guess them). Multiple entries are combined with AND; multiple 'values' within one entry are combined with OR (e.g. field='tier', operator='equals', values=['gold','platinum'] matches objects where tier is gold OR platinum). 'equals'/'notEquals' match against 'values' (OR across multiple values); 'contains'/'notContains' substring-match against 'values'; 'isEmpty'/'isNotEmpty' ignore 'values' and check whether the field has any value at all.
metricstring- Which metric to plot per bucket. Each value is computed for that time bucket. Defaults to 'avgTimePerObject'. Engagement/volume: 'avgTimePerObject' = average time spent per object - this is what "engagement" with objects means, so use it for "how has engagement with <objects> changed over time"; 'totalTime' = total time across objects; 'numEvents' = events on objects ("activity"/event volume); 'numVisitors' = distinct visitors engaging objects; 'numSubjects' = distinct active objects (the time-bucketed objectAnalyticsActiveCount). Account reach: 'numAccounts', 'avgAccountsPerObject', 'avgObjectsPerAccount', 'avgParentAccountsPerObject', 'avgObjectsPerParentAccount', 'avgVisitorsPerAccount'. Per-object: 'avgEventsPerObject', 'avgDaysActivePerObject', 'avgDaysActive'. Quality-of-experience clicks: 'uTurns', 'rageClicks', 'deadClicks', 'errorClicks'.one of
avgTimePerObjectnumEventsnumVisitorsnumSubjectstotalTimenumAccountsavgAccountsPerObjectavgObjectsPerAccountavgParentAccountsPerObjectavgObjectsPerParentAccountavgEventsPerObjectavgDaysActivePerObjectavgDaysActiveavgVisitorsPerAccountuTurnsrageClicksdeadClickserrorClicksdefaultavgTimePerObject segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_objecteventbreakdownRank or trend the events/actions on one kind of business OBJECT (e.g.Read-onlyobjectEventBreakdown
Rank or trend the events/actions on one kind of business OBJECT (e.g. dashboards, venues, documents, orders) over a date range - the event types (pages, features, track events) fired while the object's identifying property is present. Two modes: (1) default - rank those events by count for 'what are the most common actions/events on a <object>'; (2) set trend='up' or 'down' - rank which events are TRENDING up or down on the object, comparing the requested window against the equal-length window immediately before it (rows carry currentPeriodEvents, previousPeriodEvents, pctChange, ranked by pctChange). This is THE tool for 'which events are trending up/down across my <objects>' - it scopes to the object and computes the period-over-period change for you; do not hand-compute a trend by pulling two windows of unscoped track events from another tool. An object is a custom event property designated as an analyzable entity (distinct from pages, features, and track events), including when a page or feature shares the object's name. Returns one row per event type. The aggregation is built by the Pendo analytics gateway, not in this service. USE FOR: The events/actions on a business object - either the most common ('the most common actions taken on dashboards this month', 'top interactions on a document') or, with trend='up'/'down', which are TRENDING ('which events are trending up across dashboards', 'what actions on venues are trending down vs the previous period'). When the object name is ambiguous (could be a page/feature) or you don't know its event property, ground it with listCustomObjects first. EXAMPLES: - What are the most common actions taken on dashboards this month? - Top 10 event types on venues in the last 30 days - Which actions were performed most on documents between 2025-01-01 and 2025-01-31? - Which events are trending up across dashboards in the last 30 days? - What actions on venues are trending down compared with the previous period? NOT FOR: How many unique objects were active - use objectAnalyticsActiveCount. Ranking the objects themselves by visitors (which dashboards had the most visitors) or per-object averages/time - use objectAnalyticsBreakdown. Per-page, per-feature, or per-track-event usage NOT scoped to a business object - use aggregateEntityUsage. Do NOT answer 'which events are trending on <objects>' by comparing two windows of aggregateEntityUsage/entityUsage yourself - that counts ALL events unscoped to the object; set trend on this tool instead. RETURNS: - meta.dateRange: resolved startDate and endDate (YYYY-MM-DD) - meta.objectProperty: the field and kind analyzed - meta.trend: the trending direction, when trend mode is requested - meta.compareToDateRange: the previous equal-length window (startDate, endDate) the trend compares against, when trend mode is requested - rows (default): one per event type performed on the object, each with eventId, eventName, eventKind (page/feature/track type) and numEvents, ranked by numEvents - rows (trend mode): one per event type, each with eventId, eventName, eventKind, currentPeriodEvents, previousPeriodEvents and pctChange, ranked by pctChange
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
objectPropertyobjectrequired- The event property that identifies the object whose actions to break down. field (required) is the property name, e.g. 'venueId'. kind (optional, default 'event') is 'event' or 'historical'. group and metadataKind are required ONLY when kind='historical' (metadataKind is 'visitor', 'account', or 'parentAccount').
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Filter results to a specific account. REQUIRED when the user mentions or references a specific account. Use the exact account ID string
appIdarray- Applications to scope the query to. Entries are either application ids or a platform type. Pass one id (e.g. ["123456"]) for a single app, or several ids (e.g. ["123456", "789012"]) for multiple apps. To scope to every app of a platform, pass a SINGLE platform token instead: one of "web", "mobile", "extension", "ios", or "android" (e.g. ["web"] for all web apps). A platform token cannot be combined with app ids or another platform token. OMIT this parameter (or pass an empty list) to query across ALL applications in the subscription - that is the correct default for object questions. Do NOT substitute a default app id when the scope is unspecified.
eventKindsarray- Restrict which kinds of countable events are scanned for the object property. One or more of 'page', 'feature', 'trackEvent' (e.g. ["trackEvent"] to only count track-event activity). OMIT to scan all kinds - that is the correct default.
excludeEntitiesarray- Drop these specific countables (pages, features, and/or track events) from the query. Each entry is { id, kind }. Only supported together with 'trend' (the chart/trending view); it is rejected on the default ranked breakdown. OMIT to exclude nothing (the default). Use listPagesFeaturesAndEvents to resolve ids.
includeAnonymousboolean- Whether to include unidentified visitors. Defaults to true.default
true includeEntitiesarray- Scope the query to ONLY these specific countables (pages, features, and/or track events). Each entry is { id, kind }. OMIT to include every countable (the default). Use listPagesFeaturesAndEvents to resolve ids; combine with eventKinds to narrow by kind instead of naming specific countables.
limitnumber- Maximum number of event-type rows to return (1-200, default 10). Applied after sorting, so sortBy decides which rows survive the cut; raise it for a fuller list.default
10 metadataFiltersarray- Slice the objects to only those matching the object's OWN declared metadata (the fields customers send on metadata events for this object - use resolveBusinessObject or listBusinessObjectMetadata first to confirm exact field names and sample values, do not guess them). Multiple entries are combined with AND; multiple 'values' within one entry are combined with OR (e.g. field='tier', operator='equals', values=['gold','platinum'] matches objects where tier is gold OR platinum). 'equals'/'notEquals' match against 'values' (OR across multiple values); 'contains'/'notContains' substring-match against 'values'; 'isEmpty'/'isNotEmpty' ignore 'values' and check whether the field has any value at all.
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortBystring- Measure to rank the event rows by; rows carry only this measure. 'numEvents' (default) is the number of events of that type fired on the object - use for 'most common actions'. 'numSubjects' is the number of distinct objects (distinct values of the object property) the event occurred on - use for 'which events are used across the most <objects>'. Internal names - describe the ranking to the user in plain words, never as numEvents/numSubjects. Ignored when trend is set (trend rows are ranked by pctChange).one of
numEventsnumSubjectsdefaultnumEvents sortOrderstring- 'desc' (default, highest first - most common actions) or 'asc' (lowest first - least common actions). Ignored when trend is set (direction is controlled by trend).one of
ascdescdefaultdesc trendstring- Optional trending mode. 'up' ranks the actions on the object whose activity increased the most; 'down' ranks the largest decreases - comparing the requested date range against the equal-length window immediately before it. When set, each row carries currentPeriodEvents, previousPeriodEvents and pctChange (ranked by pctChange), event types with no prior-period activity are excluded, and sortBy/sortOrder are ignored. Omit for the default ranked breakdown by numEvents. If the date range begins before the object's promotion, trending is unavailable (the prior window would predate promotion): the tool falls back to the default numEvents ranking and omits meta.trend, with meta.promotedAt signalling why.one of
updown userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_productareamemberactivityReturn all pages, features, or track types in a product area including those with zero activity.Read-onlyProductAreaMemberActivity
Return all pages, features, or track types in a product area including those with zero activity.
Inputs
dateRangeobjectrequired- The time period to query. Use 'relative' with lastNDays or 'custom' with explicit dates.
entityTypestringrequired- The entity type to query. Must be a direct product area type: page, feature, or trackType.one of
pagefeaturetrackType productAreaIdstringrequired- The ID of the product area whose members to return.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
limitnumber- Maximum number of rows to return. Range: 1-1000. Default: 100.default
100 periodstring- Time period format: 'dayRange'/'weekRange' for single totals across entire period (e.g., 'total views: 1000'), 'daily'/'weekly' for time series showing trends (e.g., 'Jan 1: 100, Jan 2: 150, Jan 3: 200'). Use dayRange/weekRange for summary metrics, use daily/weekly for trend analysis.one of
dayRangeweekRangedailyweeklydefaultdayRange platformstring- Optional platform to scope the query to all matching apps instead of a single appId: "web" (web, extension, and discovery apps) or "mobile" (iOS, Android, and mobile apps). Mutually exclusive with appId - specify at most one. If neither is specified, all apps are included.one of
webmobile segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
sortarray- The fields to sort by. Prepending the field with a + (ascending) or - (descending) determines the sort direction.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_productengagementscoreCalculate the Product Engagement Score for an application over a date range, returning adoption, stickiness, and growth metrics.Read-onlyProductEngagementScore
Calculate the Product Engagement Score for an application over a date range, returning adoption, stickiness, and growth metrics.
Inputs
appIdstringrequired- Application ID to scope the request.
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
accountIdstring- Filter results to a specific account. REQUIRED when the user mentions or references a specific account. Use the exact account ID string
adoptionUserBasestring- The user base for the adoption score.one of
accountsvisitors blackliststring- Blacklist behavior: 'apply' (use blacklist, normal behavior), 'ignore' (do not use blacklist), 'only' (invert blacklist, return only blacklisted activity)one of
applyignoreonlydefaultapply excludeWeekendsboolean- Whether to exclude weekends in the stickiness score calculation.
featureIdsarray- Array of the featureIds to include in the adoption score calculation. If this, pageIds, and trackEventIds are empty, default core events are included.
growthUserBasestring- The user base for the growth score.one of
accountsvisitors pageIdsarray- Array of the pageIds to include in the adoption score calculation. If this, featureIds, and trackEventIds are empty, default core events are included.
scoresarray- Array of the scores to return. If empty, only PES is returned
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
stickinessDenominatorstring- The denominator time range for the stickiness score. If denominator is provided, numerator must also be provided. Numerator cannot equal denominator.one of
weeklymonthly stickinessNumeratorstring- The numerator time range for the stickiness score. If numerator is provided, denominator must also be provided. Numerator cannot equal denominator.one of
dailyweekly stickinessUserBasestring- The user base for the stickiness score.one of
accountsvisitors trackEventIdsarray- Array of the trackEventIds to include in the adoption score calculation. If this, pageIds, and featureIds are empty, default core events are included.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_queryfunnelRun a unique-visitor funnel and return conversion and timing metrics for an ordered sequence of 2-3 steps.Read-onlyqueryFunnel
Run a unique-visitor funnel and return conversion and timing metrics for an ordered sequence of 2-3 steps. Each visitor counts toward step N only if they completed every prior step in order. Use ONLY for sequence questions where ordering matters - the user is asking about visitors who did one thing and then went on to do another. Do NOT use for unordered set-overlap questions like 'how many visitors did both X and Y?' - those are answered by building a segment instead. USE FOR: Ordered funnel questions: 'of visitors who viewed page A, how many went on to click feature B?', 'of visitors who saw guide G, how many reached page B?', drop-off analysis, time-to-completion between steps. EXAMPLES: - Show me the funnel from page A to feature B - What is the drop-off between step 1 and step 2? - How long does it take visitors to go from page X to track event Y? - Funnel of A -> B -> C with conversion rates - Show me the drop-off from seeing guide G to page B - Of visitors who dismissed guide G, how many still clicked feature F? RETURNS: - meta.dateRange: resolved startDate and endDate for the query window - summary.totalVisitorsEnteringStep1: visitors who completed step 1 - summary.visitorsCompletingFunnel: visitors who completed all steps - summary.overallConversion: fraction (0-1) who completed the funnel - summary.steps: per-step array of index, kind, id, visitors, conversionFromStart, dropOffFromPrevious, plus eventType on guide steps - summary.averageTimeToCompletion: average time from step 1 to last step as a duration object {seconds, display} (null when no completions) - summary.medianTimeToCompletion: median time from step 1 to last step as a duration object {seconds, display} (null when no completions)
Inputs
dateRangeobjectrequired- Time window. For a rolling window use type='relative' with lastNDays. For a fixed calendar range use type='absolute' with startDate and endDate in YYYY-MM-DD.
stepsarrayrequired- Ordered list of funnel steps (2-3 items). Each step is an object with 'kind' (one of 'page', 'feature', 'trackEvent', 'guide') and 'id' (the Pendo entity ID). Guide steps additionally accept 'eventType' ("guideSeen", the default, or "guideDismissed") and match the guide as a whole - any step of the guide counts, individual guide steps are not addressable. Steps may belong to different apps within the subscription.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
analyzeBystring- How to count completions. 'uniqueVisitors' (the default) counts each entity (visitor or object) at most once - answering 'how many distinct entities completed the funnel'. 'totalAttempts' counts every pass through the funnel, so a single entity that runs the sequence more than once contributes multiple times - answering 'how many times was the funnel completed'; each attempt must finish within funnelTimeout minutes. Applies to both visitor and object funnels. Omit for the standard unique count.one of
uniqueVisitorstotalAttempts appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
blackliststring- Blacklist behavior: 'apply' (use blacklist, normal behavior), 'ignore' (do not use blacklist), 'only' (invert blacklist, return only blacklisted activity)one of
applyignoreonlydefaultapply funnelBystring- Unit of analysis for the funnel. 'visitor' (the default) counts unique visitors through the steps. 'object' keys the funnel on a business object identified by an event property (requires objectProperty) and counts distinct objects through the steps. IMPORTANT: the steps of EVERY funnel describe visitor actions ('someone viewed a page', 'someone clicked a feature') - that phrasing is NOT a signal for visitor mode. Choose the unit from what the question COUNTS: if it asks about 'our <objects>', how long <objects> take to complete, how many <objects> dropped off, or otherwise treats a business object as the thing progressing through the steps, set funnelBy='object' with that object's property (call listCustomObjects to get the exact objectProperty.field). Use 'visitor' only when the question's unit is visitors, users, or people. Omit for the standard visitor funnel.one of
visitorobject funnelTimeoutnumber- Maximum minutes an attempt may take to progress through all steps, mirroring the funnel report's 'Funnel Timeout (Minutes)'. Only used when analyzeBy='totalAttempts' (ignored for uniqueVisitors). Defaults to 60 minutes; set it only when the user specifies a timeout.
groupByobject- Break down the object-keyed funnel result by a metadata dimension - group funnel completion by a metadata field, getting one result per distinct value (e.g. 'compare funnel completion for guides where haspoll=true vs false'). ONLY valid when funnelBy='object'. Returns a 'groups' array (one entry per distinct value, each with its own full funnel summary) instead of a single 'summary', plus 'groupCount' and 'resultsTruncated' (true when there were more than 10000 distinct values and the result was capped). kind (required): 'visitor', 'account', or 'parentAccount' for visitor/account metadata (look up valid group/field names with visitorMetadataSchema/accountMetadataSchema first), or 'object' for the business object's OWN declared metadata (look up valid field names with listBusinessObjectMetadata first; group is derived automatically from objectProperty and must be omitted). field (required) is the metadata field name, e.g. 'haspoll'. group is required for 'visitor'/'account'/'parentAccount' (the metadata group, e.g. 'custom'), and must be omitted for 'object'.
includeAnonymousboolean- Whether to include unidentified (anonymous) visitors in the funnel. Only has an effect when the subscription is configured to show anonymous visitors; otherwise the funnel is always identified-only. Defaults to true.default
true metadataFiltersarray- Slice the objects to only those matching the object's OWN declared metadata (the fields customers send on metadata events for this object - use resolveBusinessObject or listBusinessObjectMetadata first to confirm exact field names and sample values, do not guess them). Multiple entries are combined with AND; multiple 'values' within one entry are combined with OR (e.g. field='tier', operator='equals', values=['gold','platinum'] matches objects where tier is gold OR platinum). 'equals'/'notEquals' match against 'values' (OR across multiple values); 'contains'/'notContains' substring-match against 'values'; 'isEmpty'/'isNotEmpty' ignore 'values' and check whether the field has any value at all.
objectPropertyobject- The business object to key the funnel on. REQUIRED when funnelBy='object', ignored otherwise. field (required) is the event property name that identifies the object, e.g. 'dashboardId' (call listCustomObjects to discover the subscription's designated objects). kind (optional, default 'event') is 'event' or 'historical'. group and metadataKind are required ONLY when kind='historical' (metadataKind is 'visitor', 'account', or 'parentAccount').
segmentPipelinestring- Optional inline segment scope that yields visitorId rows. Accepted string shapes: 1. A saved segment ID string, embedded as {id: <segmentId>}. 2. A JSON string containing a full inline pipeline produced by the buildPendoSegment tool, you must not attempt to make this field up, only pass the result of the buildPendoSegment tool. You can pass the entire `pipeline` VERBATIM from the buildPendoSegment tool.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_searchentitiesSearch for product entities such as pages, features, track types, guides, accounts, and segments.Read-onlySearchEntities
Search for product entities such as pages, features, track types, guides, accounts, and segments.
Inputs
appIdstringrequired- Optional application ID to filter by. If omitted, includes all applications the user can access.
itemTypearrayrequired- The types of items to search for. Case-sensitive.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
itemIdsarray- Array of IDs for the product entities (pages, features, trackTypes, guides, accounts, etc.) whose information is needed. If specified, exactly one itemType must be given, and search and searchFallback are not allowed.
limitnumber- Return at most this many items for each itemType.default
50 rerankingStrategystring- Optional. Name of a registered reranking strategy to apply to the result set before returning. Omit (or pass an empty string) to leave results in their default order. Unknown names are ignored and logged as a warning. Registered strategies are shipped as follow-up work; consult the engineering team for the current allow-list.
searchstring- The semantic search query (e.g., "Bridgeway Logistics", "onboarding features"). Use natural phrases, not meta-instructions. Must always be specified together with searchFallback.
searchFallbackarray- Search substring(s) for fuzzy string matching, to filter returned entities by those containing any of these substrings in their name/description. Must always be specified together with search.
starredItemTypesarray- Array of entity types to filter to only those starred by the current user. Must be a subset of itemType. Can be combined with search to filter starred entities by relevance. IMPORTANT: When the user asks for starred items across multiple entity types (e.g., "my starred replays and guides"), include ALL desired types in itemType and ALL desired starred types here in a SINGLE call - do NOT make one call per type.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_segmentlistList all segments in the subscription with their IDs, names, and optional feature flag names.Read-onlySegmentList
List all segments in the subscription with their IDs, names, and optional feature flag names.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
offsetnumber- Number of matching results to skip before returning. Use with limit to paginate through large result sets.default
0 substringstring- Only return segments whose name, id or flag name contains this value; matching is case insensitive. Name matches rank above id and flag-name matches.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_visitormetadataschemaReturn the set of metadata fields available for visitors.Read-onlyVisitorMetadataSchema
Return the set of metadata fields available for visitors.
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- The original user query or question that triggered this tool call.
pendomcp_getAdditionalToolsReport an unsupported Pendo task as capability feedback.WriteGet Additional Tools
Report an unsupported Pendo task as capability feedback. Use only when the user asks to report a missing capability. Records a brief task summary to help improve this connector and returns an acknowledgement; does not discover, install, or execute additional tools. Send a one-sentence summary of the task.
Inputs
userIntentstringrequired- One-sentence summary of the unsupported Pendo task the user wants to report. Include only details needed to identify the missing capability.
toolsConsideredarray- Names of existing tools already evaluated and found insufficient.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_getEntityGet the configuration details of one page, feature, track event, or guide by ID.WriteGet Entity
Get the configuration details of one page, feature, track event, or guide by ID. Does not include any usage or metrics. USE FOR: Understanding an entity before querying or acting on it. The name of any entity, reading a page's URL rules, the element a feature targets and the page it sits on, or a countable's event properties.For a guide, get its steps in order, each with its step ID and the interactive elements on it. EXAMPLES: - What is the page with ID abc123 and what URLs does it match? - Which element does feature xyz789 target, and what page is it on? - What event properties can I break down track event def456 by? - What are the step IDs and element IDs for guide ghi789? - Which buttons are on the second step of this guide and what do they do? NOT FOR: Usage, metrics or counts of any kind. Searching for an entity when you don't know its ID. RETURNS: - id, type, name, description, appIds, createdAt, lastUpdatedAt for every entity type. - eventPropertyNames: names of event properties attached to pages, features and track events. - page: rules and excludeRules (the URL rules that define the page). - feature: elementPathRules (CSS selector rules identifying the tagged element), and the pageId and pageName it is scoped to. - trackEvent: trackTypeRules (the event names that count towards it). - guide: state, launchMethod, and steps in the order they appear. Each step has id, name, and the pageId and elementPathRule it attaches to when it targets one. - guide steps[].polls: id, question and type ('PickList', 'NumberScale', 'FreeForm', 'NPSPoll', ...) per poll. For the answers given, use guidePollResponses. - guide steps[].elements: the buttons, close buttons and links on the step, each with uiElementId, text and actions ('Next Step', 'Dismiss Guide', 'External URL', 'Go to Step (2)', ...).
Inputs
entityIdstringrequired- The exact ID of the entity, as returned by listPagesFeaturesAndEvents, listGuides, or searchEntities (e.g. "aBcD1234eFgH"). Names are not accepted.
entityTypestringrequired- The kind of entity to describe. "page", "feature", "trackEvent", or "guide".one of
pagefeaturetrackEventguide subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_getSegmentReturns a single Pendo visitor segment by ID, including its name, definition in LLM-friendly DSL form, and optionally the guides, Orchestrate journeys, reports, compound segments, and session-replay apps that reference it.WriteGet Segment
Returns a single Pendo visitor segment by ID, including its name, definition in LLM-friendly DSL form, and optionally the guides, Orchestrate journeys, reports, compound segments, and session-replay apps that reference it. USE FOR: Inspect or read a saved segment's rules. Use when you need the current definition before modifying it, or when you need to know where a segment is in use. EXAMPLES: - Show me the definition of segment abc123. - What guides are using segment xyz789? RETURNS: - id: the segment ID. - name: human-readable segment name. - description: optional segment description (omitted if empty). - shared: whether the segment is publicly shared. - summary: plain-English description of the segment rules with entity names resolved. - definition: the segment rules in DSL form - same format accepted by create and update Segment tools. Omitted for segments authored outside the agent workflow that use features the DSL can't represent, and for segments with no rule-based definition (e.g. segment-flag or auto-managed segments). - note: only set when definition is omitted; explains why the segment can't be represented as DSL. Such segments are readable but not editable via the agent's update path. - usedBy: guides, Orchestrate journeys, reports, compound segments, and session-replay apps that reference this segment. Only present when includeUsedBy is true.
Inputs
idstringrequired- ID of the segment to retrieve, as returned by createSegment or segmentList.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
includeUsedByboolean- When true, returns the guides, Orchestrate journeys, reports, compound segments, and session-replay apps that reference this segment. Omit when you only need the definition.default
false userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listBusinessObjectMetadataList every metadata field declared on one already-identified designated business OBJECT (see listCustomObjects) - the fields customers send on metadata events for that object (e.g.WriteList Business Object Metadata
List every metadata field declared on one already-identified designated business OBJECT (see listCustomObjects) - the fields customers send on metadata events for that object (e.g. 'type', 'isShared'), the same schema accountMetadataSchema/visitorMetadataSchema expose for accounts/visitors. Empty metadataSchema means the customer has never sent metadata events for this object. USE FOR: The user asks what metadata fields, properties, or dimensions are available on a business object; or resolveBusinessObject reported a term as unmatched (with or without a suggestion) and you need the full set of declared fields to find the right one, e.g. to offer the user a corrected choice. EXAMPLES: - What metadata fields are available on the 'reportId' object? - resolveBusinessObject said 'type' doesn't match reportId's schema - what fields does it actually have? NOT FOR: Checking whether SPECIFIC terms from a question belong to the object - use resolveBusinessObject, which also fuzzy-suggests close matches for an unmatched term without needing the full list. Listing which business objects exist in the first place - use listCustomObjects. Any per-object metric - use objectAnalyticsActiveCount, objectAnalyticsBreakdown, or objectEventBreakdown. RETURNS: - field, kind, group/metadataKind (historical objects only): the object identifier that was checked, echoed back exactly as it should be passed to objectAnalyticsActiveCount, objectAnalyticsBreakdown, or objectEventBreakdown. - metadataSchema: every declared metadata field on this object, keyed by its normalized field name, with type/cardinality/sample values - empty when the customer has never sent metadata events for it.
Inputs
objectPropertyobjectrequired- The business object to list declared metadata fields for, e.g. from listCustomObjects. field (required) is the object's event property name, e.g. 'reportId'. kind (optional, default 'event') is 'event' or 'historical'. group and metadataKind are required ONLY when kind='historical' (metadataKind is 'visitor', 'account', or 'parentAccount').
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_listPagesFeaturesAndEventslistPagesFeaturesAndEvents is a tool to find, search, look up, or list pages, features, or track events by name and return their entity IDs.WriteList Pages Features And Events
listPagesFeaturesAndEvents is a tool to find, search, look up, or list pages, features, or track events by name and return their entity IDs. These entities are collectively called "countables" - the tagged elements and custom events that Pendo tracks in your application. Use the type parameter to select which kind to list. This is the entity lookup tool to use before single-page, single-feature, or single-track-event usage analytics when the user provides a name instead of an ID. Relevant analytics questions include page views, feature clicks, event counts, unique visitor or "people" counts, unique account counts, time on page, frustration clicks, and other entity usage metrics. The trackEvent type corresponds to what other tools call trackType or TrackType. Supports search via the search param with a searchType selector: "semantic" for natural-language queries ranked by meaning, "fuzzy" for keyword matching on names and descriptions, or "substring" for case-insensitive containment match on name. Both search and searchType are required together. For features, pageId restricts discovery to features associated with one known page. Offset is ignored when search is used; use limit to control result count. USE FOR: Resolving a named page, feature, or track event to its ID before calling entityUsage; listing features associated with a page; listing or browsing countables by name; auditing what is tagged in an app; semantic, fuzzy, or substring search for countable entities. EXAMPLES: - List all pages - Show me features for this app - Which features are associated with page X? - List track events matching 'checkout' - Find pages with 'dashboard' in the name - What track events are defined? - Find features related to user onboarding - Search for pages about checkout flow - Find the ID for 'Page X' before checking how many people viewed it NOT FOR: Listing guides. Listing product areas. Usage analytics, click counts, visitor counts, or activity rankings. WORKFLOW: For analytics about one named entity, search here first. Prefer searchType='substring' with the entity name exactly as the user supplied it; if that finds no match, retry with searchType='fuzzy' or 'semantic'. Then pass the matching ID to entityUsage. Do not conclude that the entity does not exist merely because it was absent from an aggregateEntityUsage ranking, which returns only a limited set of ranked entities. RETURNS: - Summary info for each matching entity: ID, name, description, and eventPropertyNames (custom property names attached to the countable). Pages also include URL rules and exclude rules. Features include pageId and elementPathRules (CSS selector rules identifying the tagged UI element). - When search is used: results include a relevance score
Inputs
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
typestringrequired- The kind of entity to list: page (tagged URLs), feature (tagged UI elements), or trackEvent (custom events sent via Track API - called trackType in some other tools).one of
pagefeaturetrackEvent appIdstring- Optional application ID to filter by. If omitted, includes all applications the user can access.
limitnumber- Maximum number of results to return.default
50 offsetnumber- Number of matching results to skip before returning. Use with limit to paginate through large result sets.default
0 pageIdstring- Optional page ID. Only valid when type='feature'; restricts results to features associated with this page.
productAreaIdstring- Optional product area ID for the request.
searchstring- Search query for finding countables. Behavior depends on searchType: with "semantic", this is a natural-language query ranked by meaning (e.g., "user onboarding flow"); with "fuzzy", this is a keyword query matched against names and descriptions (e.g., "checkout", "dashboard"); with "substring", this is a case-insensitive containment match on name only (e.g., "board" matches "onboarding"). Must be used together with searchType.
searchTypestring- How to search. "semantic" ranks results by meaning using embedding similarity - best for natural-language questions. "fuzzy" matches keywords against names and descriptions - best for known terms. "substring" matches entities whose name contains the search string (case-insensitive) - best for exact fragments. Requires search to also be specified.one of
semanticfuzzysubstring userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_resolveBusinessObjectCheck whether metadata or property terms mentioned in a question (e.g.WriteResolve Business Object
Check whether metadata or property terms mentioned in a question (e.g. 'size', 'region', 'category') actually belong to one already-identified designated business OBJECT (see listCustomObjects), by matching them against that object's own declared metadata schema (the fields customers send on metadata events for that object, e.g. 'type', 'isShared' - the same schema accountMetadataSchema/visitorMetadataSchema expose for accounts/visitors). Returns status 'confirmed' when at least one term matches, or 'noMatch' when none do - including when the object has no declared metadata schema at all. USE FOR: Before calling objectAnalyticsActiveCount, objectAnalyticsBreakdown, or objectEventBreakdown with metadata terms drawn from the user's question, once you have a specific candidate object in mind (its name is unambiguous, or you already narrowed it down via listCustomObjects) but are not certain those terms are actually part of its schema. EXAMPLES: - The user asked to break down 'reports' by 'type' - confirm 'type' is part of the reportId object's schema before querying - Does the 'venue' object have a 'region' field? NOT FOR: Figuring out WHICH object a question is about when more than one could plausibly apply - use listCustomObjects to see what's available and pick (or ask the user to pick) a candidate first, then call this tool to confirm its terms. Simply listing the objects that exist - use listCustomObjects directly. Ranking or counting objects, or computing any metric - use objectAnalyticsActiveCount, objectAnalyticsBreakdown, or objectEventBreakdown once the object and terms are confirmed. RETURNS: - status: 'confirmed' (at least one term matched) or 'noMatch' (none did). - field, kind, group/metadataKind (historical objects only): the object identifier that was checked, echoed back exactly as it should be passed to objectAnalyticsActiveCount, objectAnalyticsBreakdown, or objectEventBreakdown. - matchedTerms: which input terms matched the object's declared metadata schema (exact, case-insensitive). - metadataSchema: type/cardinality/sample values for each matched term (keyed by its normalized field name), when the customer has sent metadata events for it - use these to know its value type and possible values when filtering or breaking down by it. - unmatchedTerms: input terms that matched nothing. Even when status is 'confirmed', a non-empty unmatchedTerms means part of the question wasn't understood - do not silently drop it; surface it or ask the user what they meant by it. - suggestions: for each unmatched term that has one, declared field names it's a substring of or contains (e.g. 'type' suggesting 'reportType') - keyed by the original term. Offer these to the user as a correction ('did you mean X?') rather than guessing silently or giving up. Absent when no unmatched term has a substring match - that does not rule out a misspelling; call listBusinessObjectMetadata to see every declared field and check for one yourself.
Inputs
objectPropertyobjectrequired- The candidate business object to check the terms against, e.g. from listCustomObjects. field (required) is the object's event property name, e.g. 'reportId'. kind (optional, default 'event') is 'event' or 'historical'. group and metadataKind are required ONLY when kind='historical' (metadataKind is 'visitor', 'account', or 'parentAccount').
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
termsarrayrequired- The metadata field names or keywords mentioned in the user's question (e.g. ['size', 'region', 'category']), checked against the given object. Case-insensitive.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
pendomcp_viewGuideView a Pendo guide as a preview in the chat: renders the guide's steps and shows an Open in Pendo button that links to the guide in Pendo.WriteView Guide
View a Pendo guide as a preview in the chat: renders the guide's steps and shows an Open in Pendo button that links to the guide in Pendo. USE FOR: Previewing a specific Pendo guide's steps and content in context, with a link to open it in Pendo. Offer it once, unprompted, after answering about a single guide, and call it only after the user accepts. EXAMPLES: - View guide abc123 - Show me the steps of this guide NOT FOR: Listing guides, guide analytics, or creating a guide from scratch. WORKFLOW: If the client cannot render the preview card, report the guide name, step count, and editUrl; never echo dom, buildingBlocks, or content. RETURNS: - Renders the guide's steps as a preview with an Open in Pendo button that links to the guide. - steps[].content: a step's code block HTML, for the preview widget only.
Inputs
guideIdstringrequired- The id of the guide to preview.
subIdstringrequired- Subscription ID that owns the data. Required for all queries.
userQuerystring- Optional short summary (under 20 words) of the Pendo task this call addresses, written in your own words, for usage analytics. Example: "Compare weekly active visitors for the Billing app".
No tools match.