Skip to main content
Glama

X3 Compliance

Check a driver qualification file (49 CFR 391.51)

dq_file_check
Read-onlyIdempotent

Check a driver qualification file: application, pre-employment MVR and safety performance history within 30 days of hire, road test or equivalent, annual MVR and review, medical certificate, CDLIS medical status or National Registry note, Clearinghouse queries. Says what is missing, late, expiring or overdue, whether the driver is qualified to drive today, and retention dates. Dates are YYYY-MM-DD.

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": {
      "file": "<file>"
    },
    "name": "dq_file_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfNoCheck as of YYYY-MM-DD (default today)
fileYes{ driver, hireDate, cdl, application?, preEmploymentMvr?, safetyPerformanceHistory?, roadTest?: {date, kind}, annualMvr?: [dates], annualReview?: [dates], medicalCert?: {issued, expires}, cdlisMedicalMvr?, nationalRegistryNote?, clearinghousePreEmployment?, clearinghouseAnnual?: [dates], terminatedOn? }

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, idempotentHint, and openWorldHint=false, so the safety profile is fully covered and the description need not repeat it. The description adds genuinely new behavioral information: it reports missing/late/expiring/overdue items, a today-qualified verdict, and retention dates, which is important because no output schema exists. It does not state how absent or malformed file fields are handled, keeping it below a 5.

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?

It leads with verb and resource, then a single dense enumeration of checked items, then the reported outcomes, then the date format — a sensible front-loaded order with no filler sentences. The enumeration is long but every listed item corresponds to a real field or compliance rule, so little could be cut without losing semantic coverage.

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 read-only checker taking one complex nested object with no output schema, the description carries the needed weight: it explains what inputs are inspected and what the response will report. The only minor gap is that edge behavior for partially populated files (e.g., a missing CDL block for a non-CDL driver) is not described.

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; the description earns above that by attaching compliance meaning to the nested field names — e.g., 'safety performance history within 30 days of hire', 'annual MVR and review', and the CDLIS/National Registry/Clearinghouse distinctions — which the bare field list does not convey. It also restates the YYYY-MM-DD date convention that governs asOf and the nested date fields.

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 uses a specific verb ('Check') on a specific resource ('a driver qualification file') and then enumerates exactly what is examined: application, pre-employment MVR, safety performance history, road test, annual MVR/review, medical certificate, CDLIS/National Registry, Clearinghouse queries. It also states the verdict produced ('whether the driver is qualified to drive today') and the regulatory basis in the title (49 CFR 391.51). Nothing about the purpose needs inference.

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 domain scope is clear enough that an agent knows to call this for DQ-file compliance checks rather than the sibling HOS or random-testing tools, since the enumerated document list is unique to Part 391 files. There are no explicit exclusions or named alternatives (e.g., pointing hours-of-service questions to hos_check), so it falls short of a 5.

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.