MCP tools reference
This page documents every tool available on the Trebellar MCP server. You won’t normally call these directly — your assistant chooses which tool(s) to call and with which parameters based on your question — but this reference is useful for understanding exactly what data is available and how it’s scoped.
New to the MCP server? Start with MCP Server for how to connect a client before working through the tools below.
Shared concepts
A few parameters are shared across most tools.
Scoping to assets
Almost every tool accepts a fromAssetIds array of asset IDs (buildings, floors,
or spaces — see list_assets). Leaving it empty, or omitting it
entirely, refers to your entire portfolio.
Some tools additionally accept an assetLocationGroup, for referring to a named
grouping instead of listing individual asset IDs:
When both fromAssetIds and assetLocationGroup are provided, the two sets of
buildings are combined.
Selected business days
The prediction tools accept an optional selectedBusinessDays object that controls
which days of the week are included in the calculation. It’s a union of three shapes:
Omitting selectedBusinessDays entirely uses each asset’s own configured business days
(equivalent to anchor).
Timeframes
timeframe is always a two-element array of ISO dates (YYYY-MM-DD), e.g.
["2026-01-01", "2026-12-31"].
Portfolio & assets
get_portfolio_overview
Returns a comprehensive overview of your organization’s real estate portfolio: buildings with their properties, the location group hierarchy, people groups, cost categories, and other org-level context.
Call this first to understand the shape of your portfolio before querying specific assets or data — it takes no parameters.
list_assets
Lists the asset hierarchy: Building → Floor → Space.
The result is a compact, line-oriented listing rather than nested JSON:
B/F/S mark a building, floor, or space respectively. Space rows include
aggregated counts of descendant leaf assets (desks, sensors, and other/unknown device
types) when present.
get_asset_details
Returns detailed information for one or more assets: all properties (location, capacity, lease info, status) plus immediate children — floors for a building, spaces for a floor.
Use this after list_assets or get_portfolio_overview to drill into specific
buildings, floors, or spaces.
Attendance
get_monthly_building_attendance
Returns monthly attendance data for one or more buildings over the past year: total visits, unique visitors, and average daily attendance per month.
This tool links a chart UI resource — see Interactive results. In a client that supports MCP Apps, the result renders as a bar chart; other clients fall back to the underlying monthly figures.
Predictions
The four tools below all forecast attendance rates, and share the assetType,
fromAssetIds, timeframe, and selectedBusinessDays parameters described in
Shared concepts above.
predictions_Predicted_Daily_Attendance_Rates
Forecasted daily attendance rates for assets of the given type, one value per day over the timeframe, with additional context (weekday, week, month, etc.) alongside each value.
predictions_Predicted_Daily_Attendance_Rates_by_People_Group
The same forecast as above, scoped to a single people group.
predictions_Predicted_Daily_Aggregate_Attendance_Rates
Aggregates forecasted daily attendance rates across a set of grouping fields, rather than returning one row per asset per day. For example, to get the monthly aggregate attendance rate per asset, group by both the asset and the month.
Available aggFields values: field__interval__day, field__interval__week,
field__interval__weekday, field__interval__month, field__interval__year,
field__asset__id, field__asset_ds__floor_id, field__asset_ds__structure_id,
field__asset_ds__space_id.
predictions_Daily_Attendance_Rates_by_People_Group_aggregate
The same aggregation as above, additionally grouped by people group.
aggFields accepts the same values as
predictions_Predicted_Daily_Aggregate_Attendance_Rates
plus field__pg__id, to aggregate by people group.
Attrition
attrition_People_Attrition
Returns headcount attrition metrics for people associated with buildings, over one or more periods of a timeframe.
Each returned row covers one period (identified by periodStart) and reports:
transferredOut/transferredIn are counted per (building, people group) pair, so
at building level they include moves between people groups within the same building —
not only people entering or leaving the building itself. When surfacing these gross
counts, make that distinction clear, or prefer netTransfers/netGrowth when the
question is about overall movement or headcount change.
Aggregated rows (aggregateAssets: true) omit the gross transfer counts and report
netTransfers only.