Skip to main content
Glama
Webfleet MCP Server

Webfleet MCP Server

by WYRE-AI

webfleet_nearest_vehicles

Read-onlyIdempotent

Find vehicles near an address or coordinates and sort results by state or distance. Include routed distance and travel time for up to eight vehicles.

Instructions

List vehicles near an address or coordinates, sorted by object state and distance; the 8 nearest include routed distance and travel time. Read-only: WEBFLEET.connect showNearestVehicles (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 addrno or latitude + longitude.

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_nearest_vehicles"
  }
}

Input Schema

NameRequiredDescriptionDefault
addrnoNoAddress number (unique within the account). Alternative to latitude + longitude.
latitudeNoWGS84 latitude in micro-degrees (degrees x 1,000,000).
priorityNoSort: 1 = state, distance, number (default); 2 = distance, number.
longitudeNoWGS84 longitude in micro-degrees (degrees x 1,000,000).
maxdistanceNoMaximum straight-line distance from the location, in meters.
columnfilterNoComma-separated result column names to return (case-sensitive). Reduces response size; unknown names are ignored by Webfleet.
objectgroupnameNoObject group name (case-sensitive).

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 upstream endpoint (showNearestVehicles), a 10-requests/minute limit, that over-limit calls are refused locally rather than server-side, and that identical calls within the interval are served from a short cache. That cache/refusal behavior is exactly the kind of operational detail an agent cannot infer from readOnly/idempotent hints.

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?

Front-loads the core action, then the result-shape detail, then the operational constraints, in a compact two-sentence block. The rate-limit/cache sentence is dense but each clause carries actionable information; nothing reads as filler.

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?

With no output schema, the description correctly notes that the 8 nearest results carry routed distance and travel time, and it covers rate limits and input requirements. Minor gaps remain, e.g. what happens outside that top-8 window and whether maxdistance/pricriority have defaults, but nothing blocking for a 7-parameter read tool.

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

Parameters3/5

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

Schema coverage is 100%, so addrno, latitude/longitude, priority, maxdistance, and columnfilter are already documented in the schema, including the addrno-as-alternative phrasing. The description's only added parameter meaning is the implicit either/or requirement, which the schema largely states already; baseline 3 applies.

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?

States a specific verb and resource ('List vehicles') with a clear qualifier ('near an address or coordinates') and the ordering rule, which distinguishes it from the fleet-listing siblings like webfleet_objects_list or webfleet_vehicles_list without needing to open any schema.

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?

The description gives a hard precondition ('Requires addrno or latitude + longitude'), which is real usage guidance, but it never says when to prefer this over a plain vehicle list or when the location-based path is unnecessary. The alternative-selection reasoning is left implicit.

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