Skip to main content
Glama

State CDL fees and first Class A cost

get_state_cdl_costs
Read-onlyIdempotent

Retrieve state-specific CDL fees, official pages, and Class A school prices, then estimate first Class A CDL costs using default or custom school pricing and optional hazmat fees.

Instructions

A state's published CDL fees (learner's permit, license, tests, endorsements, renewal) with their official pages, published Class A school prices, and an estimate of what a first Class A CDL costs, summed the same way as the site's cost estimator.

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": {
      "state": "<state>"
    },
    "name": "get_state_cdl_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesTwo-letter state code (TX, DC) or state name (Texas, New York).
hazmatNoAdd the TSA security threat assessment fee for the hazmat endorsement.
school_price_usdNoPrice of your CDL school in dollars; leave out to use the state's (or the national) median.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is a safe, read-only, idempotent, open-world lookup, so the description adds useful value on top: it discloses what data comes back (itemized fees with official page citations, school prices, and a derived estimate) and the calculation basis for the estimate. It stops short of noting source freshness, coverage gaps for states without published data, or what happens when no school prices exist.

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?

A single front-loaded sentence that immediately names the resource, then enumerates the returned components. Dense but every clause carries information; minor cost is the stacked parenthetical list, which makes it slightly long for one sentence.

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?

With no output schema, the description carries the burden of describing return content, and it does: fees, official pages, school prices, and the computed estimate. Combined with annotations and a fully documented three-parameter schema, an agent has everything needed to call it correctly.

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 all three parameters (state, hazmat, school_price_usd) are already documented, including the median fallback for school_price_usd. The description adds no per-parameter meaning beyond the schema; it only frames the overall result composition. 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 specific verb and resource: it returns a state's published CDL fees (itemized: learner's permit, license, tests, endorsements, renewal), the official source pages, Class A school prices, and a computed first-CDL cost. That is far more specific than the tool name, and no sibling in the catalog (medical card rules, school finder, clinics) covers this ground, so the agent can tell them apart readily.

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: an agent can infer the tool is for looking up a state's CDL cost breakdown, and the mention of 'summed the same way as the site's cost estimator' signals the estimate's basis. There is no explicit when-to-use versus when-not guidance, no prerequisites, and no alternative named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.