{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/docs/mcp/use-cases/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#use-cases\" aria-label=\"use cases permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"use-cases\"></div>Use Cases</h1>\n<h2 style=\"position:relative;\"><a href=\"#ai-powered-exception-management\" aria-label=\"ai powered exception management permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"ai-powered-exception-management\"></div>AI-Powered Exception Management</h2>\n<p><strong>Trigger:</strong> A shipment is flagged as delayed.</p>\n<p>The agent:</p>\n<ol>\n<li>\nCalls \n<code class=\"language-text\">get_shipment_summary</code>\n — a single compound tool call that returns a full snapshot of the shipment, its stops, and its carrier assignment (replacing 5 separate API calls)\n</li>\n<li>\nChecks \n<code class=\"language-text\">get_shipment_state_info</code>\n to confirm which actions are permitted given the current status\n</li>\n<li>\nCreates a note via \n<code class=\"language-text\">create_shipment_note</code>\n to log the exception\n</li>\n<li>\nCoordinates next steps with the carrier\n</li>\n</ol>\n<p><strong>Outcome:</strong> The issue is surfaced and actioned proactively with zero human touches required.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#building-an-internal-logistics-agent\" aria-label=\"building an internal logistics agent permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"building-an-internal-logistics-agent\"></div>Building an Internal Logistics Agent</h2>\n<p><strong>Trigger:</strong> An ops team wants a \"logistics assistant\" in their daily tooling.</p>\n<p>Steps:</p>\n<ol>\n<li>\nGet a Shipwell API token from \n<strong>Settings → API Management</strong>\n</li>\n<li>\nAdd one config block to Claude Desktop or Cursor (see \n<a href=\"/docs/mcp/quickstart/\">Quickstart</a>\n)\n</li>\n<li>\nThe agent auto-discovers all 90+ tools via MCP — no API docs needed, no custom integration work\n</li>\n</ol>\n<p><strong>Outcome:</strong> A working logistics agent is live in under an hour.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#safe-ai-automation-with-dry-run-validation\" aria-label=\"safe ai automation with dry run validation permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"safe-ai-automation-with-dry-run-validation\"></div>Safe AI Automation with Dry-Run Validation</h2>\n<p><strong>Trigger:</strong> A team wants AI to execute carrier assignments autonomously but needs confidence before enabling live writes.</p>\n<p>Steps:</p>\n<ol>\n<li>\nEnable \n<code class=\"language-text\">SHIPWELL_MCP_DRYRUN=true</code>\n in your MCP server config\n</li>\n<li>\nThe agent runs in full simulation mode\n</li>\n<li>\nReview the risk reports — every action is rated \n<code class=\"language-text\">low</code>\n, \n<code class=\"language-text\">medium</code>\n, \n<code class=\"language-text\">high</code>\n, or \n<code class=\"language-text\">critical</code>\n</li>\n<li>\nEnable live writes when the team is satisfied with the agent's behavior\n</li>\n</ol>\n<p><strong>Outcome:</strong> Full confidence in AI behavior before any real freight data is touched. See <a href=\"/docs/mcp/safety/\">Safety &#x26; Write Access</a> for more on dry-run mode.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#rate-shopping--contract-lane-optimization\" aria-label=\"rate shopping  contract lane optimization permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"rate-shopping--contract-lane-optimization\"></div>Rate Shopping &#x26; Contract Lane Optimization</h2>\n<p><strong>Trigger:</strong> \"What's the best rate for this lane?\"</p>\n<p>The agent calls <code class=\"language-text\">plan_shipment_options</code> — a compound tool that pulls active contracts and calculates estimated charges in a single call.</p>\n<p><strong>Outcome:</strong> Instant rate comparison across all contracts with no manual TMS navigation. See <a href=\"/docs/mcp/compound-tools/\">Compound Tools</a> for details.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#search-and-filter-shipments\" aria-label=\"search and filter shipments permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"search-and-filter-shipments\"></div>Search and Filter Shipments</h2>\n<p><strong>Trigger:</strong> An operator needs to find specific shipments across a large history without logging into the TMS.</p>\n<p>Ask your AI assistant to search using natural language:</p>\n<ul>\n<li>\n\"Show me all FTL shipments picked up in Texas this week.\"\n</li>\n<li>\n\"Find any shipments with BOL number 12345.\"\n</li>\n<li>\n\"List all in-transit shipments delivering to California.\"\n</li>\n<li>\n\"Pull a CSV export of all delivered shipments from last month.\"\n</li>\n</ul>\n<p><strong>Outcome:</strong> Shipments found in seconds using plain language — no filters to configure, no reports to run.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#track-freight-in-real-time\" aria-label=\"track freight in real time permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"track-freight-in-real-time\"></div>Track Freight in Real Time</h2>\n<p><strong>Trigger:</strong> An operator needs a live status update on a shipment without digging through the TMS.</p>\n<p>Ask your AI assistant for tracking data and location history:</p>\n<ul>\n<li>\n\"Get the current tracking status for shipment SHP-12345.\"\n</li>\n<li>\n\"Where is my shipment right now? It was picked up yesterday from Dallas.\"\n</li>\n<li>\n\"Show me the full location history for this shipment.\"\n</li>\n</ul>\n<p><strong>Outcome:</strong> Live tracking data surfaced instantly in conversation, without navigating the TMS UI.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#look-up-carrier-information\" aria-label=\"look up carrier information permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"look-up-carrier-information\"></div>Look Up Carrier Information</h2>\n<p><strong>Trigger:</strong> A team needs carrier details — credentials, equipment types, or current assignments — quickly.</p>\n<p>Ask your AI assistant to query carrier data:</p>\n<ul>\n<li>\n\"Find carrier J.B. Hunt and show me their SCAC and MC number.\"\n</li>\n<li>\n\"What carriers do we have relationships with that handle REEFER equipment?\"\n</li>\n<li>\n\"Who is the assigned carrier for shipment SHP-99999?\"\n</li>\n</ul>\n<p><strong>Outcome:</strong> Carrier information retrieved on demand without searching through carrier management screens.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#review-invoices-and-settlements\" aria-label=\"review invoices and settlements permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"review-invoices-and-settlements\"></div>Review Invoices and Settlements</h2>\n<p><strong>Trigger:</strong> An AP or finance team needs to audit the invoice pipeline by status, carrier, or amount.</p>\n<p>Ask your AI assistant to query invoices:</p>\n<ul>\n<li>\n\"List all APPROVED invoices from last month.\"\n</li>\n<li>\n\"Show me invoices from carrier XYZ that are still in RECEIVED status.\"\n</li>\n<li>\n\"How many invoices are overdue based on their due date?\"\n</li>\n<li>\n\"Find all invoices over $5,000 that have not been paid yet.\"\n</li>\n</ul>\n<p><strong>Outcome:</strong> Invoice pipeline visibility in plain language — no manual filtering or report exports required.</p>\n<hr>\n<h2 style=\"position:relative;\"><a href=\"#manage-addresses-and-dock-schedules\" aria-label=\"manage addresses and dock schedules permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"manage-addresses-and-dock-schedules\"></div>Manage Addresses and Dock Schedules</h2>\n<p><strong>Trigger:</strong> An ops team needs facility details, dock availability, or appointment information without switching tools.</p>\n<p>Ask your AI assistant to query facility and dock data:</p>\n<ul>\n<li>\n\"What are the dock hours for our Chicago warehouse?\"\n</li>\n<li>\n\"Find the address book entry for our Dallas distribution center.\"\n</li>\n<li>\n\"What appointments are scheduled at our Memphis facility tomorrow?\"\n</li>\n<li>\n\"Check if our shipment is compatible with the dock requirements at facility X.\"\n</li>\n</ul>\n<p><strong>Outcome:</strong> Facility and scheduling information surfaced in conversation, reducing context-switching for ops teams.</p>","headings":[{"value":"Use Cases","depth":1},{"value":"AI-Powered Exception Management","depth":2},{"value":"Building an Internal Logistics Agent","depth":2},{"value":"Safe AI Automation with Dry-Run Validation","depth":2},{"value":"Rate Shopping & Contract Lane Optimization","depth":2},{"value":"Search and Filter Shipments","depth":2},{"value":"Track Freight in Real Time","depth":2},{"value":"Look Up Carrier Information","depth":2},{"value":"Review Invoices and Settlements","depth":2},{"value":"Manage Addresses and Dock Schedules","depth":2}]},"contentItem":{"data":{"lastModified":"2026-05-14T19:02:55.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":true,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"b22a3439-6199-5fa3-8438-b29f33c1a485__redocly content/docs/mcp/use-cases/","seo":{"title":"Use Cases","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"docs/mcp/use-cases.md","pageBaseUrl":"/docs/mcp/use-cases","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Use Cases","id":"use-cases"},{"depth":2,"value":"AI-Powered Exception Management","id":"ai-powered-exception-management"},{"depth":2,"value":"Building an Internal Logistics Agent","id":"building-an-internal-logistics-agent"},{"depth":2,"value":"Safe AI Automation with Dry-Run Validation","id":"safe-ai-automation-with-dry-run-validation"},{"depth":2,"value":"Rate Shopping & Contract Lane Optimization","id":"rate-shopping--contract-lane-optimization"},{"depth":2,"value":"Search and Filter Shipments","id":"search-and-filter-shipments"},{"depth":2,"value":"Track Freight in Real Time","id":"track-freight-in-real-time"},{"depth":2,"value":"Look Up Carrier Information","id":"look-up-carrier-information"},{"depth":2,"value":"Review Invoices and Settlements","id":"review-invoices-and-settlements"},{"depth":2,"value":"Manage Addresses and Dock Schedules","id":"manage-addresses-and-dock-schedules"}]},"data":{"title":""},"catalogInfo":null,"link":"/docs/mcp/use-cases/","sidebarName":"developerPortal","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}