Skip to main content
Glama
RhombusSystems

Rhombus MCP Server

Official

report-tool

Generate aggregated counts and time-series summaries for occupancy, people, line crossings, and custom events. Use for analytics and trends over intervals from minutes to years.

Instructions

Scope: This tool returns aggregated counts and time-series summaries over specified intervals and scopes. Use events-tool when you need raw, event-level data (individual events with timestamps). Use this tool for high-level reports, analytics, and trends—especially over periods of a day or more.


People / occupancy counting strategy

When asked to count people on a camera or at a location, follow this strategy:

  1. Always call GET_OCCUPANCY_ENABLED_CAMERAS first to discover which cameras have occupancy counting enabled.

  2. If the target camera IS in the list, call GET_OCCUPANCY_COUNT_REPORT for that device. The response will automatically include a faceCountEnrichment field with the number of unique individuals identified by face recognition in the same time range. Present both data sources: occupancy estimate and unique face count.

  3. If the target camera is NOT in the list, tell the user that camera does not have occupancy counting enabled, and list the cameras that do. You can still call GET_SUMMARY_COUNT_REPORT with PEOPLE type — its response will also include faceCountEnrichment with unique face data as a fallback. If the PEOPLE count returns zero, the response will also include the list of occupancy-enabled cameras and a hint.

  4. When both occupancy data and face recognition data are available, synthesize both in your answer (e.g., "Occupancy estimates ~15 people. Face recognition identified 9 unique individuals during this period.").

PEOPLE type (in GET_SUMMARY_COUNT_REPORT): Not a unique person count; it counts people-detection events. Requires people detection to be enabled on the camera. Use for high-level activity trends, not for deduplicated head counts.


Summary and occupancy

  • GET_SUMMARY_COUNT_REPORT: Aggregated counts (people, faces, motion, vehicles, etc.) over time at device, location, or org scope. Interval: minutely, hourly, daily, weekly, monthly, yearly. When called with PEOPLE type at DEVICE scope, the response is automatically enriched with face recognition data.

  • GET_OCCUPANCY_ENABLED_CAMERAS: List of cameras with occupancy reporting enabled. Always call this first before any people/occupancy counting request to verify camera support.

  • GET_OCCUPANCY_COUNT_REPORT: Occupancy count time series for a specific device over a time range. Response is automatically enriched with face recognition data. If the device does not support occupancy, the response will include a hint and the list of cameras that do.


Line crossing

  • GET_LINE_CROSSING_ENABLED_CAMERAS: Cameras at a location with line crossing enabled, plus their configs. Call first to see which cameras support threshold crossing reports.

  • GET_THRESHOLD_CROSSING_COUNT_REPORT: Ingress/egress counts for line crossings over time. Supports human and vehicle detection; bucket size: quarter hour, hour, day, week. Response includes computed metrics: average entries/exits per hour, hour with most entries/exits, busiest hour (with breakdown).


Custom LLM events

  • FIND_PROMPT_CONFIGURATIONS: All custom event prompt configurations (e.g. "black dog sightings", "delivery truck arrivals", "parking availability %"). Each has prompt text, UUID, and promptType (COUNT, PERCENT, BOOLEAN). Call first to discover available custom events.

  • GET_CUSTOM_LLM_REPORT: This is the PRIMARY way to get custom event reports. Aggregated time-series for one custom event by prompt UUID. Automatically selects the correct API based on promptType: COUNT (numeric counts), PERCENT (percentages), BOOLEAN (true/false). Intervals: minutely, quarter-hourly, hourly, daily, weekly, monthly. Always use this for custom event reports, trends, and analytics. Use FIND_PROMPT_CONFIGURATIONS first to get the promptUuid and promptType.

  • GET_CUSTOM_EVENTS_REPORT: Raw individual event values only (not aggregated). Use only when you need per-event granularity, not for reports or trends.


Audit and diagnostics

  • GET_AUDIT_FEED: Audit log of all user/admin actions in the org over a time range. Returns who did what and when (principalName, targetName, action, displayText).

  • GET_DIAGNOSTIC_FEED: Device diagnostic events over a time range.

  • GET_THRESHOLD_CROSSING_EVENTS: Individual line-crossing events (not aggregated counts).

  • GET_PEOPLE_COUNT_EVENTS: Most recent people count readings for specified devices.

Output filtering (all tools):

  • includeFields (string[]): Dot-notation paths to keep in the response (e.g. "vehicleEvents.vehicleLicensePlate"). Omit to return all fields.

  • filterBy (array): Predicates to filter array items. Each entry: {field, op, value} where op is one of = != > >= < <= contains. All conditions are ANDed. Example: [{field:"vehicleLicensePlate", op:"=", value:"ABC123"}] WARNING: some tool responses exceed 400k characters — use these params to request only the data you need.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestTypeYes
occupancyCountRequestYesRequired for requestType === 'get-occupancy-count-report', null for other request types.
summaryCountRequestYesRequired for requestType === 'get-summary-count-report', null for other request types.
occupancyEnabledCamerasRequestYesRequired for requestType === 'get-occupancy-enabled-cameras', null for other request types.
lineCrossingEnabledCamerasRequestYesRequired for requestType === 'get-line-crossing-enabled-cameras', null for other request types.
thresholdCrossingCountRequestYesRequired for requestType === 'get-threshold-crossing-count-report', null for other request types.
findPromptConfigurationsRequestYesRequired for requestType === 'find-prompt-configurations', null for other request types.
customLLMReportRequestYesRequired for requestType === 'get-custom-llm-report', null for other request types.
auditFeedRequestYesRequired for requestType === 'get-audit-feed', null for other request types.
diagnosticFeedRequestYesRequired for requestType === 'get-diagnostic-feed', null for other request types.
thresholdCrossingEventsRequestYesRequired for requestType === 'get-threshold-crossing-events', null for other request types.
customEventsReportRequestYesRequired for requestType === 'get-custom-events-report', null for other request types.
peopleCountEventsRequestYesRequired for requestType === 'get-people-count-events', null for other request types.
includeFieldsYesDot-notation field paths to include in the response (e.g. "vehicleEvents.vehicleLicensePlate"). Pass null to return all fields. WARNING: some responses can exceed 400k characters — use includeFields to request only the data you need. For high-volume tools this may be required to get a complete answer.
filterByYesFilter array items in the response by field values. All conditions are ANDed. Example: [{field: "vehicleLicensePlate", op: "=", value: "ABC123"}, {field: "confidence", op: ">", value: 0.8}] Use alongside includeFields to get only the specific records and fields you need.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
errorMsgNo
summaryCountReportNoReport data for various high level organization metrics like people counts, bandwidth counts, face counts, etc.
occupancyCountReportNo
occupancyEnabledCamerasReportNoList of cameras that have occupancy reporting enabled
lineCrossingEnabledCamerasReportNoCameras at a location that have line crossing enabled with their configurations
thresholdCrossingCountReportNoThreshold crossing count report showing ingress and egress counts over time with calculated metrics
promptConfigurationsReportNoList of custom event prompt configurations
customLLMReportNoCustom LLM report showing event data over time - supports COUNT, PERCENT, and BOOLEAN prompt types
auditFeedReportNoAudit feed showing user actions
diagnosticFeedReportNoDiagnostic feed showing device events
thresholdCrossingEventsReportNoIndividual threshold crossing events
customEventsReportNoCustom events report time series
peopleCountEventsReportNoMost recent people count events
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It details response enrichment (faceCountEnrichment), fallback behavior, auto-selection of API based on promptType, and output filtering warnings (responses may exceed 400k characters). However, it does not mention rate limits, permissions, or whether operations are read-only, though these are less critical for a report tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (Scope, People/occupancy counting strategy, Summary and occupancy, Line crossing, Custom LLM events, Audit and diagnostics, Output filtering). It is front-loaded with the core purpose and key distinction. While comprehensive, some repetition (e.g., faceCountEnrichment mentioned multiple times) slightly reduces conciseness, but every section earns its place with actionable guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (12 sub-tools) and that an output schema exists, the description is remarkably complete. It covers all sub-tool use cases, provides lookup strategies for cameras and prompts, explains fallback behavior, and warns about large responses with output filtering options. It also instructs the agent on error handling (e.g., telling user when camera lacks occupancy). No gaps identified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 93%, so baseline is 3. The description adds significant context beyond the schema: it explains when each requestType is appropriate, how parameters relate to sub-requests (e.g., 'Required for requestType ===...'), and provides usage warnings for includeFields and filterBy. This adds practical meaning that helps the agent construct correct requests.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns aggregated counts and time-series summaries. It explicitly contrasts with events-tool (raw event-level data), providing a specific verb and resource distinction. The scope is well-defined: high-level reports, analytics, trends over periods of a day or more.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use and when-not-to-use guidance, including a direct comparison with events-tool for raw data. It also gives step-by-step strategies for people counting (always call GET_OCCUPANCY_ENABLED_CAMERAS first), line crossing, and custom events, with fallback instructions and alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RhombusSystems/rhombus-node-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server