Skip to main content
Glama

find_and_book_appointment

Find the next available dock slot for a load type and book it in one step. Combines appointment search and creation to save time.

Instructions

Find the next available slot for a load type and book it in one step.

Calls the first-available-appointment endpoint to get open slots across all docks and load types, filters to the requested loadTypeId (and optionally a preferred dock), then creates the appointment automatically. Use this instead of manually chaining get_first_available_appointment + create_appointment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loadTypeIdYesLoad type ID to book
warehouseIdYesWarehouse ID
dockIdNoPreferred dock ID; if omitted, uses first available dock for this load type
carrierIdNoCarrier ID
referenceNumberNoReference number
notesNoAppointment notes
Behavior4/5

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

No annotations provided, so description carries the burden. It explains internal steps: calls endpoint, filters by loadTypeId, and creates appointment automatically. Could mention what happens if no slot found, but overall sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first states purpose, second gives workflow details. Front-loaded and no extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, yet description omits what the tool returns or what happens in case of failure. For a combined operation, return value and error handling are important missing details.

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%, and the schema already provides descriptions for all parameters including dockId behavior. The description does not add new information beyond contextualizing the parameters together.

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 finds and books an appointment in one step, using a specific verb and resource. It distinguishes itself from sibling tools like get_first_available_appointment and create_appointment by combining them.

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

Usage Guidelines4/5

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

Explicitly advises using this tool instead of manually chaining get_first_available_appointment and create_appointment. Mentions optional dock preference but does not cover when not to use or exclusion scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pollamin/opendock-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server