Skip to main content
Glama
Webfleet MCP Server

Webfleet MCP Server

by WYRE-AI

webfleet_object_kpis

Read-onlyIdempotent

Retrieve read-only trip, eco, OptiDrive, speeding, driving-event, and order KPIs per vehicle for a required date range to analyze fleet performance and reporting.

Instructions

KPIs (trip, eco, OptiDrive, speeding, driving events, orders) per object. Read-only: WEBFLEET.connect getObjectKPIs (limit 10 requests/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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kpinames": "<kpinames>"
    },
    "name": "webfleet_object_kpis"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoWhole day (1-31). Requires year and month.
yearNoWhole calendar year. Alternative to range_pattern and rangefrom_string/rangeto_string.
levelNoAggregation: day, month, or range (one KPI for the whole range; default).
monthNoWhole month (1-12). Requires year.
kpinamesYesKPI groups to return (sent comma-separated).
objectnoNoObject (vehicle/asset) number, unique within the account, case-sensitive. Alternative to objectuid.
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.
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.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the backing endpoint (getObjectKPIs), a concrete rate limit of 10 requests/minute, that over-limit calls are refused locally rather than remotely, and that identical calls within the interval hit a short cache. Those are exactly the operational facts an agent needs to avoid wasted or failing calls.

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?

Two sentences, no filler. Purpose and scope come first, then the operational constraints (read-only, endpoint, rate limit, cache, date requirement) are packed into a single front-loaded parenthetical.

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 an 11-parameter tool with complex relative-date semantics and no output schema, the description covers the safety and rate-limit profile well. It stops short of saying anything about the shape or granularity of returned KPI values, which is the remaining gap given no output schema exists.

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 baseline is 3, but the description adds a genuinely non-redundant constraint: a date range is required even though the schema marks only kpinames as required. That corrects a real ambiguity an agent would otherwise hit when constructing a call.

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?

Names a specific resource (KPIs) and enumerates the concrete KPI groups (trip, eco, OptiDrive, speeding, driving events, orders) scoped 'per object'. The 'per object' scoping implicitly separates it from webfleet_driver_kpis, but no sibling is named explicitly, so an agent must infer the object-vs-driver distinction.

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

Usage Guidelines3/5

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

States a hard prerequisite ('Requires a date range') but gives no guidance on when to pick this over webfleet_trip_summary, webfleet_speeding_events, or webfleet_driver_kpis, which cover overlapping data. Usage is implied by the KPI group list rather than explained.

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