Skip to main content
Glama

Carrier risk score

get_risk
Read-onlyIdempotent

Get a 0-100 risk score for a carrier by USDOT number or MC/FF/MX docket number, with reason codes (e.g. insurance_lapsed, authority_under_90_days, shared_phone, multiple_contact_changes). Levels: low 0-24, elevated 25-49, high 50-74, severe 75-100. Hard failures (revoked, inactive or missing authority, out-of-service, lapsed or missing insurance, inactive USDOT number, not allowed to operate, Unsatisfactory safety rating) are listed in gates and keep the score at 50 or more, so a carrier that fails one is never low. With mc, the authority status is that docket's own. Also returns an overall verdict (PASS, REVIEW or FAIL) with verdict_reasons, and receipt_id. Informational signal for human review, not a safety rating. Pass exactly one of dot or mc. Costs 1 lookup.

Input Schema

NameRequiredDescriptionDefault
mcNoMC, FF or MX docket number, e.g. "MC123456" or "123456"
dotNoUSDOT number, 1-8 digits, e.g. "1234567"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/openWorld), the description discloses score band boundaries, the gate mechanism and its floor of 50, per-docket authority status with mc, the PASS/REVIEW/FAIL verdict with verdict_reasons, receipt_id, and a cost of 1 lookup. That is unusually rich behavioral disclosure for a read-only tool.

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?

Purpose and lookup keys are front-loaded, and the dense middle (bands, gates, verdict) is all information an agent needs. It is a single long run-on paragraph, and the sourcing constraints and cost note could be separated for scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-param read-only lookup with no output schema, the description covers return shape (score, reason codes, gates, verdict, verdict_reasons, receipt_id), edge behavior with mc, and cost. An agent can call this correctly and interpret the result without further information.

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, but the description adds a constraint the schema does not enforce: "Pass exactly one of dot or mc" rules out passing both or neither, which the schema (additionalProperties: false, no oneOf) permits. The mc-specific note about authority status being that docket's own is also genuine added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get a 0-100 risk score for a carrier") plus the lookup keys, which clearly separates it from lookup_carrier or search_carriers by output type. It never names a sibling or explicitly says how it differs from a plain carrier lookup, so it stops short of a 5.

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?

"Informational signal for human review, not a safety rating" and "Pass exactly one of dot or mc" give real invocation context, but there is no explicit when-to-use-versus-alternative guidance and no mention of when a plain lookup would be preferable. Usage is implied by the output type rather than stated.

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.

Resources