Samsara MCP — Tools Reference

Samsara MCP tools and the 44-query read-only GA catalog, with example prompts.

📘

GA catalog. Samsara MCP provides the Samsara Assistant plus deterministic access to 44 approved, read-only queries. The query catalog is loaded on demand rather than placing 44 separate tools in your client's tool list.

For connection instructions and regional endpoints, see the main MCP guide.

How the tool surface works

Samsara MCP exposes five tools. Your organization may see the Assistant surface, the deterministic query surface, or both, depending on its configuration.

ToolWhat it does
samsara_assistant(question)Sends one self-contained natural-language question to the Samsara Assistant and returns a synthesized prose answer.
read_reference_card()Returns a compact catalog of the query IDs available to your organization.
describe_query(query_id)Returns a query's purpose, required variables, examples, and output columns.
run_query(query_id, variables)Runs one approved read-only query. Your organization is supplied automatically from your credentials.
report_agent_experience(...)Records feedback when an agent encounters missing data, unclear tools, or other friction.

The deterministic surface uses three tools—read_reference_card, describe_query, and run_query—instead of registering one MCP tool for each query. This keeps the client's tool list compact as the catalog grows.

Samsara Assistant

Use samsara_assistant for questions that benefit from the Samsara Assistant selecting and combining the right Samsara capabilities.

You can ask:

  • "Which drivers have at least four hours of drive time remaining?"
  • "Which vehicles have active faults that need attention?"
  • "Summarize our highest-impact safety behaviors this week."

Each call is single-turn and stateless. Include the relevant vehicle, driver, tag, time range, units, and earlier findings directly in the question. The Assistant does not receive prior conversation turns or results from your client's other tools. Do not include an organization ID; Samsara supplies it from your authenticated connection.

The answer is synthesized prose. Use the deterministic query surface when your workflow needs a specific query, known fields, or structured rows.

Deterministic query catalog

The GA catalog includes the 44 query IDs below through run_query. Call read_reference_card to retrieve the catalog currently available to your organization, and use describe_query before the first call when you need the exact variables or output fields.

Core entities and resolution

Query IDWhat it provides
query://global_searchResolves drivers, vehicles, assets, and trailers by name or identifier.
query://drivers/listDriver roster, tags, current vehicle, and available location context.
query://tags/listOrganization tag hierarchy and entity counts.
query://tags/descendantsExpands tags to include their descendant tags for scoped queries.
query://locations/placesSaved places and geofence metadata.
query://locations/resolveResolves a place name or address to coordinates.

Fleet, vehicles, and equipment

Query IDWhat it provides
query://assets/listFleet roster, identifiers, status, location, assignment, and tags.
query://assets/list_extendedAdditional asset, driver, tag, vehicle, and trailer context.
query://assets/engine_gaugesEngine readings such as fuel level, RPM, and supported tire data.
query://assets/maintenanceFleet-wide check-engine-light and diagnostic trouble-code status.
query://assets/trip_historyTrips and stops for one vehicle over a time range.
query://assets/fault_historyFault occurrence history for one vehicle.
query://assets/preventive_maintenanceUpcoming preventive-maintenance items and due information.
query://assets/utilizationUtilization, dormancy, and overutilization metrics.

Example questions:

  • "Which vehicles have active diagnostic trouble codes?"
  • "Show trips and stops for Unit 118 yesterday."
  • "Which assets were under 30% utilization last month?"

Safety

Query IDWhat it provides
query://safety/eventsIndividual safety events with driver, vehicle, behavior, severity, and available media links.
query://safety/event_detailsFull details for one safety event.
query://safety/event_trendsSafety-event counts over time.
query://safety/speeding_trips_vehicleSpeeding trips for one vehicle.
query://safety/speeding_trips_driverSpeeding trips for one driver.
query://safety/scores/driverDriver safety scores and ranking.
query://safety/scores/vehicleVehicle safety scores.
query://safety/fleet_summaryFleet-wide safety, behavior, and speeding summary.
query://safety/behavior_statsBehavior frequency and safety-score impact.

Example questions:

  • "Show severe safety events from the last seven days."
  • "Which drivers had the most severe speeding trips this month?"
  • "Which behaviors had the greatest impact on our fleet safety score?"

Safety-event media links are permission-scoped and time-limited. Location-based filtering of safety events is not currently supported; filter by driver, vehicle, tag, behavior, severity, and time where available.

Compliance and inspections

Query IDWhat it provides
query://compliance/hos/statusCurrent duty status and remaining HOS clocks.
query://compliance/hos/violationsHOS violation intervals and types.
query://compliance/hos/daily_duty_timeDaily duty-time totals by driver.
query://compliance/hos/log_entriesRegulated duty-status intervals.
query://compliance/hos/eld_eventsUnified ELD event timeline.
query://compliance/hos/violation_explanationRule-grounded explanation of one HOS violation.
query://dvir/list_v2Unified list of Driver Vehicle Inspection Reports.
query://dvir/detailsDetails for one inspection, including available resolution information and media.
query://dvir/defects/listIndividual DVIR defects and resolution state.

Example questions:

  • "Which drivers have at least four hours of drive time remaining?"
  • "Show HOS violations for the night-shift tag last week."
  • "List unresolved DVIR defects from yesterday."

Routes and dispatch

Query IDWhat it provides
query://dispatch/nearby_assets_currentAssets currently near a location, with distance and estimated travel time.
query://dispatch/nearby_assets_historicalAssets near a location during a bounded past time window.
query://dispatch/travel_timeRoad distance and estimated travel time between two points.
query://routes/listRoute definitions and schedules.
query://routes/jobsDispatched route instances and their jobs or stops.
query://routes/detailsFull details for one route, including stops, driver, and vehicle where available.

Example questions:

  • "Which available vehicles are closest to the Dallas warehouse?"
  • "How long will it take Unit 118 to reach the customer site?"
  • "Show today's dispatched routes and stops."

Fuel and efficiency

Query IDWhat it provides
query://sustainability/fuel_efficiency/by_vehicleVehicle fuel efficiency, consumption, distance, and idle percentage.
query://sustainability/fuel_purchases/purchasesFuel-card purchase transactions.

Example questions:

  • "Which vehicles had the lowest fuel efficiency last month?"
  • "Show fuel purchases over $300 this week."

Trailers, dwell, and detention

Query IDWhat it provides
query://assets/dwell_summarySite-level trailer and asset dwell summaries.
query://assets/detentionTrailer detention records and available billing context.
query://assets/cargo_trailers_near_geofenceTrailers with a selected cargo status inside or near a place.
query://trailers/risk/brake_faultsTrailer ABS, ATIS, and EBS fault status.

Example questions:

  • "Which trailers have been sitting at customer yards for more than 48 hours?"
  • "Where are our available empty trailers near the Baton Rouge yard?"
  • "Which trailers have active brake-system faults?"

Usage notes

  • Read-only. The GA catalog cannot change Samsara data or settings. If another connector creates a work order or ticket, that action is governed by the other system.
  • Permissions. Results follow the signed-in user's current Samsara organization, dashboard role, and tag scope.
  • Data availability. Results depend on the products, devices, permissions, and data configured for the organization. Some queries return no rows when the corresponding product or data source is not in use.
  • Bound the request. Include specific IDs, tags, and time ranges. Historical and fleet-wide queries may enforce result or time-window limits.
  • Refresh after updates. Reconnect or refresh your MCP client to pick up changes to the tool surface and catalog.
  • Feedback. When a request fails, share the smallest relevant, sanitized conversation transcript with your Samsara contact. Never share passwords, tokens, cookies, authorization headers, or SSO data.

For the complete machine-readable catalog, call read_reference_card() from your connected client.


Did this page help you?