Skip to main content
Glama

search_carriers

Read-onlyIdempotent

Filtered carrier search. Paid — you pay only when a call returns records; a zero-row result is free, same as an exact-key miss.

safety_tier filters on safety_tier_derived: 1 = inspected with zero BASIC alerts, up to 6 = all five BASICs alerted. Carriers with no tier (never inspected, or not in SMS) never match a tier filter.

Defaults to Active carriers only — pass include_inactive=true to also see Inactive/Pending. Capped at 100 rows per response regardless of the requested limit; never a full-table dump. Carries no contact information (legal_name, dba_name, addresses, phone, email — removed 2026-09-19, see schemas.CarrierProfile) — a filterable, multi-result endpoint returning personal contact details for whoever matched a filter was the sharpest version of that risk in this product; use lookup_carrier's claimed_name/claimed_street/etc. if you need to confirm a specific carrier's claimed identity.

Paid via x402: 0.02 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

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return; default 20, capped at 100.
stateNoTwo-letter US state code of the carrier's physical address, e.g. TX.
cargo_typeNoCargo type the carrier is authorized to haul, e.g. General Freight.
safety_tierNoDerived safety tier filter; 1 means inspected with zero alerts. See get_catalog for allowed values.
authority_statusNoAuthority status filter, e.g. Active. See get_catalog for allowed values.
include_inactiveNoInclude Inactive and Pending carriers; default false returns Active only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / authority_status / description
      Added value: +"Authority status filter, e.g. Active. See get_catalog for allowed values."
    • addedInput schema / properties / cargo_type / description
      Added value: +"Cargo type the carrier is authorized to haul, e.g. General Freight."
    • addedInput schema / properties / include_inactive / description
      Added value: +"Include Inactive and Pending carriers; default false returns Active only."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum rows to return; default 20, capped at 100."
    • addedInput schema / properties / safety_tier / description
      Added value: +"Derived safety tier filter; 1 means inspected with zero alerts. See get_catalog for allowed values."
    • addedInput schema / properties / state / description
      Added value: +"Two-letter US state code of the carrier's physical address, e.g. TX."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description adds substantial context beyond them: x402 pricing (0.02 USDC per call, zero-row results free), a hard 100-row response cap with no full-table dumps, and the deliberate removal of contact fields. It also discloses a non-obvious matching rule — carriers with no tier never match a tier filter.

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 correctly front-loaded, but the definition is padded: pricing is stated twice (opening paragraph and closing sentence), and the meta-commentary about 'the sharpest version of that risk in this product' plus the legal-change date is narrative rather than operational. The useful constraints are buried mid-paragraph.

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 does the heavy lifting on returns by stating the 100-row cap, the absence of contact fields, and the Active-only default. It never says what a returned record actually contains, so a caller must discover the field set empirically — the main remaining gap for a 6-parameter search endpoint.

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 adds real meaning on top by explaining that safety_tier filters against safety_tier_derived (1 = inspected with zero BASIC alerts, up to 6 = all five alerted) and that include_inactive widens the default Active-only scope. It stops short of documenting state/cargo_type/authority_status syntax beyond the schema.

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?

Opens with a specific verb+resource ("Filtered carrier search") and immediately frames it as a multi-result filterable endpoint, contrasting it with lookup_carrier's single-carrier identity confirmation. An agent can distinguish it from the sibling 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 an explicit alternative and the condition that selects it: use lookup_carrier's claimed_name/claimed_street/claimed_* when confirming a specific carrier's claimed identity. It also states the default scope (Active only) and how to widen it. No other exclusions or prerequisites are mentioned, so it falls short of full when/when-not coverage.

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.