- Docs
- Techvia TMS overview
- Use Techvia TMS with your AI
- MCP tools, scopes and limits
MCP tools, scopes and limits
https://tms-api.techvia.software/mcp is a Model Context Protocol server
(Streamable HTTP, stateless). An AI assistant connected to it can find and read your loads, customers, carriers and fleet, create and change loads
(assign a carrier, record arrivals, add notes), create and update customers, carriers and facilities, and work with quotes, with the same key, scopes, limits and rules as the REST API. Make a key for it (Get a key) with only
the scopes it needs, and send it in the Authorization header.
To let an assistant manage loads, give the key loads.read, loads.write, directory.read and (to create customers,
carriers or facilities) directory.write; add loads.rates or billing.read only for rates and carrier cost. In the app,
Settings > Connect your AI shows these steps with your workspace’s own URL.
| Tool | Same as | Scope |
|---|---|---|
search_loads |
GET /api/public/v1/loads |
loads.read |
get_load |
GET /api/public/v1/loads/{id} |
loads.read |
update_load_status |
PATCH /api/public/v1/loads/{id}/status |
loads.write |
create_load |
POST /api/public/v1/loads |
loads.write (rate, otherCharges: also loads.rates) |
update_load |
PATCH /api/public/v1/loads/{id} |
loads.write (rate, addCharges, removeChargeIds: also loads.rates) |
add_load_note |
POST /api/public/v1/loads/{id}/notes |
loads.write |
record_stop_arrival, record_stop_departure |
PUT /api/public/v1/loads/{id}/stops/{stopId}/arrival, .../departure |
loads.write |
assign_load, unassign_load |
PUT /api/public/v1/loads/{id}/assignment, DELETE .../assignment |
loads.write (carrierCost: also loads.rates) |
list_quotes, get_quote |
GET /api/public/v1/quotes, .../{id} |
loads.rates |
create_quote, set_quote_status, convert_quote_to_load |
POST /api/public/v1/quotes, PATCH .../{id}/status, POST .../{id}/convert |
loads.rates |
list_load_documents, get_document_link |
GET /api/public/v1/loads/{id}/documents, GET /api/public/v1/documents/{id}/link |
loads.read (RateCon, CarrierInvoice: also loads.rates) |
list_customers, get_customer |
GET /api/public/v1/customers, .../{id} |
directory.read |
list_carriers, get_carrier |
GET /api/public/v1/carriers, .../{id} |
directory.read |
list_drivers, get_driver |
GET /api/public/v1/drivers, .../{id} |
directory.read |
list_trucks, get_truck |
GET /api/public/v1/trucks, .../{id} |
directory.read |
list_trailers, get_trailer |
GET /api/public/v1/trailers, .../{id} |
directory.read |
list_dispatchers |
GET /api/public/v1/dispatchers |
directory.read |
search_facilities |
GET /api/public/v1/facilities |
directory.read |
create_customer, update_customer |
POST /api/public/v1/customers, PATCH .../{id} |
directory.write |
create_carrier, update_carrier |
POST /api/public/v1/carriers, PATCH .../{id} |
directory.write |
create_facility, update_facility |
POST /api/public/v1/facilities, PATCH .../{id} |
directory.write |
Arguments have the names of the REST query parameters and body fields, and a tool returns the same JSON as its REST
twin (rates only with billing.read or loads.rates). update_load also takes customerId, dispatcherId,
carrierId, carrierCost and otherCharges only to refuse them, as REST does. The tool descriptions tell the assistant
to show scheduledLocal, not the UTC time. The assistant sees only the tools your key’s scopes allow. The read tools are
marked read-only. No write tool is marked destructive. update_load_status, record_stop_arrival,
record_stop_departure, assign_load, unassign_load and the update_* directory tools are marked idempotent (repeating them changes nothing);
update_load is not (its rowVersion refuses a repeat). create_load, add_load_note, the create_* directory
tools and the quote write tools (create_quote, set_quote_status, convert_quote_to_load) are not marked idempotent;
the creates take a client_request_id (Idempotency) that makes a retry safe.
What to know
Section titled “What to know”- Your data goes to your AI vendor. When you ask an assistant about your loads, the data a tool returns is sent to that assistant’s vendor (Anthropic, OpenAI, Cursor and so on) under your own account with them, on their terms. Techvia does not send it anywhere else. Give the key only the scopes the assistant needs.
- Errors of a tool call come back as tool errors (the assistant reads them), not HTTP errors: a missing scope
names the scope; the workspace limit and the monthly quota say which one and how long to wait; an argument that
cannot be read names the argument and what it must be; a validation failure lists the fields with the same messages
as the REST
422; “No load with this id in your workspace” is the REST404; “Conflict: …” is the REST409; a duplicate is “Conflict: <sentence>” followed by “Details:” and the REST fields as JSON (code,canOverride,existingId,candidates), and its override needs a newclient_request_id; an unknown tool name is “Unknown tool”. A tool error never repeats a value you sent. An unknown JSON-RPC method is the protocol error-32601“Method not found.”, whatever was sent. - HTTP errors come before any tool runs: a missing, wrong or revoked key is
401; the per-key and per-IP limits are429withRetry-After; a body that is notContent-Type: application/json(UTF-8) is415; anOriginthat is not allowed is403(below); a body that is not one JSON-RPC message (unreadable JSON, or a batch array) is400; a body over 256 KB is413. These protocol-level answers come from the MCP library and may quote part of what was sent. - Limits and quota are shared with your REST calls (Rate limits and quota): one tool call is one request. A tool error raised before the tool did any work (arguments that cannot be read, a validation failure, a missing scope or a limit) uses no quota; once the tool started (it looked up the load), the unit is used whatever the answer.
- Shared IP. Hosted assistants (for example Claude connectors) call from their vendor’s shared servers. The per-IP limit (3000 per minute) is far above one customer’s use, but everyone calling from that vendor shares it.
- Browser-based clients are not supported yet. Clients that call from a server or a command line (Claude
connectors, Claude Code, Cursor, n8n) send no
Originheader and are accepted. A request from a web page carries anOriginheader and is refused (403); the server sends no CORS headers for/mcp. - Loads created and changed, notes, stop times and status changes made over MCP show in the load’s timeline and History as “API key: <key name>”, like REST.