Skip to main content
Glama

HamroLink Business OS MCP Server

fleet.query

Read-only

READ-ONLY query engine for fleet vehicles, fuel spend summaries, part serial history, garage spare parts stock, and document/license expiries.

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": {
      "queryType": "<queryType>"
    },
    "name": "fleet.query"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysAheadNoExpiry lookahead days (default 30)
queryTypeYesQuery type
timeRangeNoTime range filter
truckQueryNoOptional truck plate or identifier
serialNumberNoComponent serial number (for part_serial)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description reinforces read-only status and adds the data domains it covers, but it does not disclose return shape, pagination, limits, or per-query behavior.

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?

The description is a single front-loaded sentence that leads with the most important constraint, READ-ONLY, and then enumerates the covered resources. There is no redundant wording or unnecessary preamble.

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?

Given complete schema coverage and annotations covering safety, the description provides enough context to select and invoke the tool correctly across its main data domains. It stops short of explaining output shape or explicitly mapping each domain to a queryType value, which would be helpful for a multi-mode query 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 description coverage is 100%, so the input schema already documents queryType, timeRange, daysAhead, truckQuery, and serialNumber. The description adds useful domain context for what the query engine covers, but it does not explain parameter syntax, required queryType semantics, or how filters interact.

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?

The description states a specific verb and resource type: a READ-ONLY query engine for fleet vehicles, fuel spend, part serials, garage stock, and document/licence expiries. It clearly distinguishes this read-only query tool from sibling fleet tools such as create_repair, log_fuel, and manage_part.

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

Usage Guidelines4/5

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

The 'READ-ONLY query engine' framing gives clear context for when to use this tool: read-only fleet data retrieval. It does not explicitly name alternatives or state when not to use it, but the read-only contrast with the sibling mutation tools is strong enough for correct selection.

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.