Skip to main content
Glama

rowfeed/usdot-lookup

rowfeed--usdot-lookup
Destructive

This tool calls the Actor "rowfeed/usdot-lookup" and retrieves its output results. Actor description: Look up trucking companies by USDOT number, MC number or name in the FMCSA carrier registry, or get newly registered carriers as leads: status, authority, fleet size, drivers, cargo, safety rating and address.

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": "rowfeed--usdot-lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
statesNoTwo-letter state codes of the carrier's address, e.g. TX, FL. Used for name searches and new carriers. Empty = all states. Example values: ["TX","FL"]
onlyNewNoFor a daily schedule: carriers earlier runs delivered are left out (and not charged).
queriesNoA USDOT number (e.g. 3524673), an MC/MX/FF number (e.g. MC1234567) or words in the company name (e.g. logistics). Leave empty to get newly registered carriers instead.
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
activeOnlyNoFor name searches and new carriers: leave out inactive USDOT numbers. Example values: true
maxResultsNoEmpty = 100 per name, or 5,000 new carriers.
newWithinDaysNoUsed when no number or name is given: every carrier that got a USDOT number in this many days. Example values: 7

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed32 schema fields changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / description
      Previous value: -"JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema."New value: +"JSON Schema for rows in the dataset at `storages.datasets.default.id`: the field names and types the Actor declares. It describes the row shape and is not part of the response, which does not include the rows either. Its top-level field names work in the `fields` selection of `get-dataset-items`."
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / annual_miles / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / authority_status / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / buses / type
      Previous value: -[
      -  "null",
      -  "number"
      -]New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / cargo / items
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / cargo / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / cdl_drivers / type
      Previous value: -[
      -  "null",
      -  "number"
      -]New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / city / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / classification / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / country / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / dba_name / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / drivers / type
      Previous value: -[
      -  "null",
      -  "number"
      -]New value: +[
      +  "integer",
      +  "null"
      +]
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / error
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / errorMessage
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / hazmat / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / holder / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / last_update_mcs150 / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / mc_number / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / miles_year / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / power_units / type
      Previous value: -"number"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / registered / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / safer_url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / safety_rating / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / safety_rating_date / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / scraped_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / search / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / state / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / status / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / trucks / type
      Previous value: -"number"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / usdot_number / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / zip / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -"null"New value: +[
      +  "null",
      +  "string"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +"null"
  4. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -"null"New value: +[
      +  "null",
      +  "string"
      +]
  5. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +"null"
  6. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -"null"New value: +[
      +  "null",
      +  "string"
      +]
  7. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +"null"
  8. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -"null"New value: +[
      +  "null",
      +  "string"
      +]
  9. Changed1 schema field changed
    • changedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema / properties / business_type / type
      Previous value: -[
      -  "null",
      -  "string"
      -]New value: +"null"
  10. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the description's contribution is mainly clarifying that the tool "calls the Actor" and "retrieves its output results" — i.e. a remote run whose output is fetched. It does not disclose that runs consume paid actor credits/charges (the schema hints at billing via "and not charged"), nor does it reconcile the lookup-style purpose with the destructive annotation. Useful but thin beyond what annotations supply.

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?

Two sentences, front-loaded with the purpose, with the substantive content compactly packed into the second. The opening clause about calling the Actor and retrieving output is wrapper boilerplate that adds little, but it is short and does not bury the useful information.

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 7-parameter, entirely optional, multi-mode tool with an output schema (so return shape needs no explanation), the description covers the search modes and the empty-input leads mode adequately. The notable remaining gap is cost/billing and run-lifecycle behavior, which matters given the destructive/openWorld annotations.

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% and every one of the 7 optional parameters carries its own explanation, including the empty-queries mode switch and waitSecs polling. The description adds no parameter-level meaning beyond restating the three accepted query formats, so the 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?

The description names a concrete verb and resource — "Look up trucking companies ... in the FMCSA carrier registry" — and enumerates the three lookup keys (USDOT number, MC number, name) plus the distinct fallback mode of "newly registered carriers as leads." It also lists the returned carrier attributes (status, authority, fleet size, drivers, cargo, safety rating, address), which makes it unmistakable against unrelated sibling lookups like dns-lookup or business-entity-search.

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 only implied inside the tool: the actor blurb and the queries parameter note that leaving the query empty switches to newly-registered-leads mode. There is no explicit statement of when to choose this tool over a sibling such as business-entity-search, nor any stated prerequisites or limits on what kinds of numbers are accepted beyond the schema examples.

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.