Skip to main content
Glama

lookup_carrier

Read-onlyIdempotent

Look up a single carrier's current profile by USDOT number. Paid — you pay only when a call returns records; an exact-key miss is free.

Returns every carrier_status (Active, Inactive, Pending) — check the carrier_status field, don't assume Active.

insurance_cancel_pending is true when an insurance cancellation is on file and not yet effective as of record_as_of (rare: dozens of carriers, not thousands). Compare soonest_cancel_effective_date with today: the data is a monthly snapshot, so the cancellation may already have taken effect. days_to_cancel_effective counts from record_as_of, not today.

Carries no contact information (legal_name, dba_name, addresses, phone, email — removed 2026-09-19, see schemas.CarrierProfile). The one legitimate use those fields served — confirming a carrier's claimed identity against records, e.g. to catch a carrier-identity-theft ("double brokering") attempt — is available instead via claimed_name (matched against legal_name OR dba_name) and claimed_street/ claimed_city/claimed_state/claimed_zip (matched against physical_address; supply any subset). Returns name_match/ physical_address_match as a boolean per claim actually supplied, null for a claim not supplied — never the value on file itself.

Paid via x402: 0.01 USDC per call (on Solana, Base or Polygon), or prepaid API-key credit. Billed only when the call returns records; a miss is free.

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": {
      "usdot_number": "<usdot_number>"
    },
    "name": "lookup_carrier"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimed_zipNoOptional: claimed ZIP code.
claimed_cityNoOptional: claimed city, used with the other claimed_* address fields.
claimed_nameNoOptional: the legal or DBA name the carrier claims; returns name_match true/false, never the name on file.
usdot_numberYesCarrier USDOT number (digits only), the canonical FMCSA carrier identifier.
claimed_stateNoOptional: claimed two-letter US state code.
claimed_streetNoOptional: claimed street address; compared with the physical address on file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / claimed_city / description
      Added value: +"Optional: claimed city, used with the other claimed_* address fields."
    • addedInput schema / properties / claimed_name / description
      Added value: +"Optional: the legal or DBA name the carrier claims; returns name_match true/false, never the name on file."
    • addedInput schema / properties / claimed_state / description
      Added value: +"Optional: claimed two-letter US state code."
    • addedInput schema / properties / claimed_street / description
      Added value: +"Optional: claimed street address; compared with the physical address on file."
    • addedInput schema / properties / claimed_zip / description
      Added value: +"Optional: claimed ZIP code."
    • addedInput schema / properties / usdot_number / description
      Added value: +"Carrier USDOT number (digits only), the canonical FMCSA carrier identifier."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: pay-per-result billing (0.01 USDC via x402, free on miss), that all carrier_status values are returned, that insurance_cancel_pending is rare and days_to_cancel_effective counts from record_as_of rather than today, and that contact fields were removed. These are real disclosures, though the usage-guideline content also inflates the text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the paragraphs are logically ordered (purpose, caveats, parameters, billing). But the pay-per-hit rule and x402 pricing are stated twice in near-identical wording, and the identity-theft digression runs long for a lookup tool, so the description is bulkier than the six parameters warrant.

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?

With no output schema, the description carries the burden of describing returns; it covers carrier_status, the insurance cancellation fields, and the match booleans plus their null semantics, and points to schemas.CarrierProfile for the rest. It still never enumerates what a 'current profile' actually contains (authority, fleet size, etc.), so an agent cannot fully predict the payload shape.

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 one above it by explaining that claimed_name is matched against legal_name OR dba_name while the address fields compare against physical_address, that any subset may be supplied, and that match booleans are null (not false) for claims not supplied. The repetition that the value on file is never returned reinforces rather than replaces the annotation-free schema docs.

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 ('Look up a single carrier's current profile') and pins the key ('by USDOT number'), which implicitly separates it from MC-number or name-based siblings such as find_carrier_by_mc and search_carriers. An agent knows exactly what it retrieves without opening the schema.

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?

Gives clear context for the claimed_* parameters: supplying any subset of claimed_name/claimed_street/claimed_city/claimed_state/claimed_zip enables identity verification, and it names the concrete use case (catching carrier-identity-theft / double brokering). It does not explicitly say when to prefer this tool over check_carrier_identity, screen_carrier_identity, or confirm_identity_link, so routing between overlapping identity siblings is left partly to inference.

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.