Skip to main content
Glama

Set up location

set_up_location
DestructiveIdempotent

Configure an existing location in one call: scheduling settings, weekly hours, appointment types, and doors, applied together (a bad entry changes nothing). Every part is optional. Types and doors are matched by name: a name that already exists at the location is updated (and reactivated if it was inactive), a new one is created, and anything you leave out is untouched, so repeating the call is safe. Doors refer to types by name, so you don't need ids. It doesn't create the location itself (use create_location first). Prefer it for first-time setup or several changes at once; for a single change the focused tools are simpler: update_location_settings, set_weekly_hours, create_/update_appointment_type, create_/update_door. Returns the full setup and the booking-page checklist (bookingPage.problems is empty when carriers can book). Requires scope locations:write (Admin role).

Input Schema

NameRequiredDescriptionDefault
doorsNoDoors to create, or to update when the name already exists at the location.
settingsNoSame fields as update_location_settings. Omitted fields are unchanged.
locationIdYesLocation id, from list_locations.
weeklyHoursNoDays you leave out keep their hours; an empty windows list closes that day.
appointmentTypesNoTypes to create, or to update when the name already exists at the location.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / appointmentTypes / items / properties / loadType / description
      Previous value: -"FTL = full truckload, LTL = less than truckload."New value: +"FTL = full truckload, LTL = less than truckload, DROP_TRAILER = trailer left at the dock, OCEAN_CONTAINER = ocean/drayage container, INTERMODAL = rail container, FLATBED = open deck, PARCEL = small package."
    • changedInput schema / properties / appointmentTypes / items / properties / loadType / enum
      Previous value: -[
      -  "FTL",
      -  "LTL"
      -]New value: +[
      +  "FTL",
      +  "LTL",
      +  "DROP_TRAILER",
      +  "OCEAN_CONTAINER",
      +  "INTERMODAL",
      +  "FLATBED",
      +  "PARCEL"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / appointmentTypes / items / properties / name / maxLength
      Added value: +120
  3. Changed13 schema fields changed
    • addedInput schema / properties / appointmentTypes / description
      Added value: +"Types to create, or to update when the name already exists at the location."
    • changedInput schema / properties / appointmentTypes / items / properties / bufferAfterMinutes / description
      Previous value: -"Door kept free after each appointment of this type."New value: +"Minutes the door is kept free after each appointment of this type."
    • changedInput schema / properties / appointmentTypes / items / properties / bufferBeforeMinutes / description
      Previous value: -"Door kept free before each appointment of this type."New value: +"Minutes the door is kept free before each appointment of this type."
    • addedInput schema / properties / appointmentTypes / items / properties / direction / description
      Added value: +"INBOUND = receiving, OUTBOUND = shipping."
    • addedInput schema / properties / appointmentTypes / items / properties / durationMinutes / description
      Added value: +"How long the door is held for one appointment, in minutes."
    • addedInput schema / properties / appointmentTypes / items / properties / loadType / description
      Added value: +"FTL = full truckload, LTL = less than truckload."
    • changedInput schema / properties / appointmentTypes / items / properties / minimumNoticeMinutes / description
      Previous value: -"How far ahead a booking must be made."New value: +"How far ahead a booking must be made, in minutes (1440 = one day)."
    • addedInput schema / properties / appointmentTypes / items / properties / name / description
      Added value: +"What carriers pick when booking, e.g. \"Inbound FTL\"."
    • addedInput schema / properties / doors / description
      Added value: +"Doors to create, or to update when the name already exists at the location."
    • addedInput schema / properties / doors / items / properties / name / description
      Added value: +"Door name, e.g. \"Door 1\". Matches existing doors."
    • addedInput schema / properties / locationId / description
      Added value: +"Location id, from list_locations."
    • addedInput schema / properties / settings / description
      Added value: +"Same fields as update_location_settings. Omitted fields are unchanged."
    • changedInput schema / properties / settings / properties / dwellTrackingEnabled / description
      Previous value: -"Adds \"Mark arrived\" and dwell time."New value: +"Track dwell time: minutes from mark_arrived until the appointment is COMPLETED."
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: transactional atomicity ('a bad entry changes nothing'), upsert-by-name semantics with reactivation of inactive items, the rule that omitted items are untouched so the call is safe to repeat, and the scope requirement locations:write (Admin role). It also describes the return payload (full setup plus bookingPage.problems checklist), which the annotations cannot convey.

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?

Front-loaded with the core action and scope, then prerequisites, then alternatives, then return and auth — a sensible ordering. Some sentences are slightly redundant with structured data ('repeating the call is safe' overlaps idempotentHint=true), keeping it just short of maximally tight.

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?

For a 5-parameter nested-object tool with no output schema, the description covers prerequisite, alternatives, atomicity, merge semantics, authorization scope, and the shape of the return value. Nothing material an agent needs in order to call it correctly is missing.

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 description coverage is 100%, so the baseline is 3; the description still adds real value the schema does not state, namely that types and doors are matched by name, that existing names are updated and reactivated, and that doors reference types by name so ids are unnecessary. It does not detail the settings or weekly-hours parameters, but those are already well documented in-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?

States a specific verb and resource ('Configure an existing location') and enumerates exactly what the single call bundles: scheduling settings, weekly hours, appointment types, and doors. It explicitly separates itself from create_location and from the focused update tools, so an agent can identify it without opening a schema.

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?

Gives explicit routing rules in both directions: 'Prefer it for first-time setup or several changes at once; for a single change the focused tools are simpler: update_location_settings, set_weekly_hours, create_/update_appointment_type, create_/update_door.' It also states the prerequisite ('doesn't create the location itself (use create_location first)') and the required scope/role.

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.

Resources