Skip to main content
Glama

Automate a Recurring Lane

automate_lane

Set up a RECURRING weekly shipment (standing order): describe the lane once, and after the account owner approves by email, Warp re-quotes it fresh every week and books the best option automatically while the price stays at or under the owner's ceiling. Over-ceiling weeks book nothing and notify the owner. THIS TOOL ONLY PROPOSES — nothing books now, and nothing ever books without the owner's one-time email approval. Auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bookYesBooking payload used each run — same shape as the book tool's pickup/delivery addresses and contacts (patch.pickup, patch.delivery). quote_id and reference are set automatically each run
labelNoHuman-readable lane label for the owner's emails, e.g. 'Ontario CA → Dallas TX, 6 pallets'
quoteYesLane payload re-quoted each run — same fields as the quote tools (add length_in/width_in/height_in and commodity for firm LTL pricing). pickup_date is set automatically each week
weekdayYesPickup day each week: 0=Sunday … 6=Saturday
criteriaNoHow to pick the winning option each week (default lowest_price)
end_dateNoOptional YYYY-MM-DD; the automation retires itself after the last pickup on or before this date
ceiling_usdYesMax auto-booked price per shipment in USD; above this the week books nothing and the owner is emailed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate readOnlyHint=false, destructiveHint=false, but the description adds significant behavioral detail: it only proposes now, books later automatically only with owner approval, and over-ceiling weeks book nothing and notify. It also states the recurring nature and the ceiling constraint. No contradictions with annotations.

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?

The description is dense but well-structured, front-loading the core purpose and then explaining the approval and ceiling mechanics. Some redundancy exists ('nothing books now' and 'nothing ever books without approval'), but it remains efficient. It is appropriately sized for the complexity of the tool.

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?

For a tool with 7 parameters, nested objects, and no output schema, the description covers the overall workflow and key constraints (approval, ceiling, recurrence). It does not explain the quote/book payload structure, but the schema already does. The description adequately complements the schema for an agent to understand the tool's purpose and invocation flow.

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 each parameter is already documented in the schema. The description does not elaborate on parameter-specific details but does reference the ceiling concept. Since the schema covers parameter meaning thoroughly, the description adds marginal value beyond schema, so baseline 3 is appropriate.

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 clearly states the tool sets up a recurring weekly shipment automation, with specific behavior: re-quoting and auto-booking under a ceiling, after owner approval. It explicitly differentiates itself from immediate booking tools by stating 'THIS TOOL ONLY PROPOSES — nothing books now'. The verb 'set up' and resource 'recurring lane' are precise, and the description distinguishes it from siblings like book or batch_book.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use: for standing orders needing weekly re-quoting and auto-booking, and clarifies it does not perform immediate booking. It notes the approval requirement and over-ceiling behavior. Although it does not name specific alternative tools, the context makes it clear this is for automation versus one-off bookings, and the 'Auth required' note adds operational context.

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.