Skip to main content
Glama
Webfleet MCP Server

Webfleet MCP Server

by WYRE-AI

webfleet_trips

Read-onlyIdempotent

Retrieves trip records for vehicles or drivers by date range or incremental trip ID, enabling continuous replication and trip reporting within WEBFLEET.

Instructions

List trips. Use tripid for continuous replication (records newer than that id, at most 10000 per call) or a date range, which applies to the trip end time. A range of more than 1 month requires objectno, and the range may not exceed 1 year. Poll at most every 15 minutes. Read-only: WEBFLEET.connect showTripReportExtern (limit 1 request/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range unless tripid is given.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "webfleet_trips"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoWhole day (1-31). Requires year and month.
yearNoWhole calendar year. Alternative to range_pattern and rangefrom_string/rangeto_string.
monthNoWhole month (1-12). Requires year.
tripidNoHighest tripid already processed (continuous replication): returns newer records only. Passed through as given; the server never pages.
drivernoNoDriver number, unique within the account, case-sensitive. Alternative to driveruid.
objectnoNoObject (vehicle/asset) number, unique within the account, case-sensitive. Alternative to objectuid.
driveruidNoUnique, unchangeable driver identifier. Alternative to driverno.
objectuidNoUnique, unchangeable object identifier. Alternative to objectno.
columnfilterNoComma-separated result column names to return (case-sensitive). Reduces response size; unknown names are ignored by Webfleet.
range_patternNoRelative date range: d0 today, d-1..d-6 days ago, w0 current week, w-1..w-3 weeks ago, wf0..wf-3 floating 7-day weeks, m0 current month, m-1..m-3 months ago, ud user-defined (needs rangefrom_string and rangeto_string).
rangeto_stringNoEnd of the date range. Use with rangefrom_string. ISO 8601, e.g. 2026-11-01T00:00:00Z.
drivergroupnameNoDriver group name (case-sensitive).
objectgroupnameNoObject group name (case-sensitive).
rangefrom_stringNoStart of the date range. Use with rangeto_string; range_pattern=ud is sent with them. ISO 8601, e.g. 2026-11-01T00:00:00Z.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the 10000-record cap per call, that the server never pages, a 1 request/minute limit with local refusal of over-limit calls, and that identical calls inside the interval are served from a short cache. These are exactly the operational traits an agent needs to avoid retry loops and bad pagination assumptions.

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

Conciseness5/5

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

Front-loads the core action, then the replication-vs-range choice, then constraints and rate limits in descending priority. Dense but every sentence conveys a constraint or a mode of use; nothing is redundant.

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

Completeness4/5

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

For a 14-parameter read tool with no output schema, the description covers the critical constraints, quota behavior, and replication pattern. It does not describe the shape of returned trip records (fields, ordering), which would help since columnfilter implies a substantial result set, but this is a minor gap.

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 100%, so the baseline is 3, but the description adds meaning the schema does not: the date range binds to trip end time, and a range longer than 1 month requires objectno. Those cross-parameter constraints are genuinely additive, though individual parameter syntax is left entirely to the schema.

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

Purpose4/5

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

Opens with a specific verb+resource ('List trips') and names the underlying API (showTripReportExtern), so the agent knows exactly what data is returned. It does not differentiate itself from plausible siblings such as webfleet_trip_summary or webfleet_tracks, leaving that inference to the agent.

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?

Explicitly states the two selection modes — tripid for continuous replication versus a date range applied to trip end time — and the precondition that a date range is required unless tripid is given. It also gives operational guidance (poll at most every 15 minutes) and the constraint that ranges over 1 month need objectno with a 1-year cap.

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