Skip to main content
Glama

Motor Carrier Lookup

MotorCarrierLookup
Read-only

Motor Carrier Lookup: Motor Carrier Lookup returns the FMCSA record of a trucking or bus company from its USDOT number or its MC, MX or FF docket number. It covers USDOT status, entity and operation type, addresses, dockets, fleet and driver counts, MCS-150 date, safety rating, out-of-service orders, operating authority status and insurance on file. Paid plans add contact details, cargo classes, equipment, mileage, crash rate, insurance policies, authority history and pass/fail compliance checks with your own thresholds. (Cost: 1 credit) REST: GET https://api.apiverve.com/v1/motorcarrierlookup, params in the query string, key in the x-api-key header. Docs: https://apiverve.com/md/marketplace/motorcarrierlookup.md

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

Input Schema

NameRequiredDescriptionDefault
mcNoMC number without the prefix, for example 135797
dotNoUSDOT number, for example 80806. Use dot, docket or mc
checksNoAdd pass/fail compliance checks against the thresholds below
docketNoDocket number with its prefix: MC, MX or FF, for example MC135797
historyNoAdd authority history and revocations
minBipdNoCompliance threshold: minimum BI&PD insurance on file in US dollars
minCargoNoCompliance threshold: minimum cargo insurance in US dollars; 0 skips the check
maxMcs150MonthsNoCompliance threshold: the MCS-150 must be updated within this many months
minAuthorityDaysNoCompliance threshold: minimum days since operating authority was first granted

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / data / properties / crashes
      Added value: +{
      +  "description": "Reportable crashes in FMCSA SMS (about the last 24 months). Null when SMS has no record for the carrier (premium)",
      +  "properties": {
      +    "fatal": {
      +      "description": "Crashes with at least one fatality (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "from": {
      +      "description": "Earliest crash report date in the SMS file (premium)",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "injury": {
      +      "description": "Crashes with at least one injury (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "to": {
      +      "description": "Latest crash report date in the SMS file (premium)",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "total": {
      +      "description": "Reportable crashes (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "towAway": {
      +      "description": "Crashes where a vehicle was towed away (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data / properties / dataAsOf / properties / inspections
      Added value: +{
      +  "description": "SMS inspections and crashes collected at; null before the first collection",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data / properties / inspections
      Added value: +{
      +  "description": "Roadside inspections over the last 24 months from FMCSA SMS. Null when SMS has no record for the carrier (premium)",
      +  "properties": {
      +    "driver": {
      +      "description": "Driver inspections (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "driverOutOfService": {
      +      "description": "Driver inspections that ended in an out-of-service order (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "driverOutOfServiceRate": {
      +      "description": "Driver out-of-service rate, percent; null with no driver inspections (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "nationalAverage": {
      +      "description": "The same rates across every carrier in SMS, for comparison (premium)",
      +      "properties": {
      +        "driverOutOfServiceRate": {
      +          "description": "National driver out-of-service rate, percent (premium)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "vehicleOutOfServiceRate": {
      +          "description": "National vehicle out-of-service rate, percent (premium)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "total": {
      +      "description": "Inspections of any level (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "vehicle": {
      +      "description": "Vehicle inspections (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "vehicleOutOfService": {
      +      "description": "Vehicle inspections that ended in an out-of-service order (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "vehicleOutOfServiceRate": {
      +      "description": "Vehicle out-of-service rate, percent; null with no vehicle inspections (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "windowMonths": {
      +      "description": "Months of inspections counted (24) (premium)",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / data / properties / safety / properties / recordableCrashRate / description
      Previous value: -"Recordable crash rate from the latest review (premium)"New value: +"Recordable crash rate from the latest compliance review. FMCSA fills it only after a review, so it is null or 0 for most carriers; use crashes for recent crash counts (premium)"
  2. Changed1 schema field changed
    • changedOutput schema / properties / data / properties / safety / properties / reviewType / description
      Previous value: -"Type of the latest review, for example compliance_review"New value: +"Type of the latest review: compliance_review, safety_review, joint_review, or other for legacy codes"
  3. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context: a cost of 1 credit, paid-plan gating of certain fields, and the REST/header auth convention. It does not warn that zero parameters are required, leaving the agent unaware that an identifierless call may be invalid.

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-loaded with purpose and coverage before the cost and REST details, and every clause conveys substantive information. The final REST/docs sentence is operationally useful rather than filler, though the coverage list is dense enough to be a single long enumeration.

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?

An output schema exists, so return values need not be explained, and the description covers data fields, cost, plan tiers, and transport details well. The one material omission is that no parameter is required, yet the description never states that at least one of mc, dot, or docket must be supplied.

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 schema already documents all nine parameters including the compliance thresholds. The description reinforces which identifier forms are accepted (USDOT, MC, MX, FF) but adds no meaning to checks, history, minBipd, minCargo, or maxMcs150Months beyond what the schema states, so baseline 3 is correct.

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: returns the FMCSA record for a trucking or bus company from a USDOT, MC, MX, or FF number. The enumerated coverage (status, entity type, addresses, dockets, fleet counts, safety rating, insurance) makes it unmistakable and clearly distinct from the sibling lookup tools, which target entirely different domains.

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 description clearly establishes the input context (carrier identifier lookup) and notes that deeper data requires paid plans, which functions as a usage caveat. It never explicitly states when not to use it or what to do if no identifier is available, so it stops short of full routing guidance.

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.