Skip to main content
Glama

Logistics: List trips

logistics_list_trips
Read-only

List the workspace's trips (рейси) — one truck run executing a freight order — newest first. Read-only. Filter by 'status' (any of Planned, Loading, EnRoute, Unloading, Done, Problem, Cancelled), 'freight_order_id', 'driver_id' (a driver PROFILE id), 'vehicle_id', 'carrier_id', a departure-date window ('date_from'/'date_to'), or 'q' (matches the trip number, TTN number and the route points). Returns {items, total, has_more}.

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": "logistics_list_trips"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
limitNo
offsetNo
statusNo
date_toNoISO date (YYYY-MM-DD) or datetime.
date_fromNoISO date (YYYY-MM-DD) or datetime.
driver_idNo
carrier_idNo
vehicle_idNo
freight_order_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so 'Read-only' in the description is redundant. What it genuinely adds is above the annotation baseline: deterministic ordering ('newest first'), the return envelope {items, total, has_more}, and the note that driver_id takes a driver PROFILE id rather than a user id — a real correctness guard.

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?

A single dense paragraph, front-loaded with the verb, resource and ordering, followed by the read-only note and the filter catalogue. Every clause carries information; the day-to-day cost is that the filter list runs long in one sentence, but nothing is genuinely wasted.

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?

For a 10-parameter, all-optional filter tool with no output schema, the definition covers purpose, ordering, filter meaning and the return shape, which is what an agent needs to call it correctly. Only pagination defaults and authorization requirements are left to the schema and annotations.

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 description coverage is only 20%, so the description has to compensate, and it largely does: it enumerates the status enum values, explains what 'q' matches (trip number, TTN number, route points), covers the date_from/date_to window, and disambiguates driver_id. Gaps remain for limit/offset pagination semantics and for what the id parameters concretely reference beyond driver_id.

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?

The description gives a specific verb and resource ('List the workspace's trips') and defines the domain entity inline ('one truck run executing a freight order'), plus default ordering ('newest first'). Scope is qualified as 'workspace's', which implicitly separates it from the sibling logistics_list_my_trips, but the contrast is never stated outright.

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?

Usage is implied rather than prescribed: the list of filters tells an agent what the tool is for, and the 'workspace's' wording hints at the my-trips alternative. There is no explicit when-to-use/when-not statement and no named alternative such as logistics_list_my_trips or logistics_get_trip for single-record lookups.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources