Skip to main content
Glama

checkOut

Destructive

Check a person out, as an administrator of the location. Returns the closed check-in. Pass checkInId of a check-in from getCheckIns with status checkedIn, or locationRef with the six-digit code the person checked in with. Call getLocations to list locations, or getLocation to fetch one by locationId. Never invent UUIDs; only use values from prior tool responses.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "checkOut"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoConfirmation code of the check-in, or a member's personal code. Required when the check-in was created with one.
checkInIdNoThe ID of the check-in.
locationRefNoUUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.

Output Schema

NameRequiredDescriptionDefault
checkInYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, destructive operation, and the description adds that the check-in becomes closed ('Returns the closed check-in'), so the agent knows the mutation's effect. It does not state whether the checkout is reversible or what happens if the check-in is not in checkedIn status, but with destructiveHint already declared the remaining gap is modest.

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 action and return value, followed by parameter sourcing and a safety warning; no filler sentences. The getLocations/getLocation sentence is somewhat tangential but does support the locationRef path.

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?

An output schema exists, so return values need no explanation, and the description covers the admin role requirement, parameter provenance, and the anti-hallucination rule. What is missing is failure behavior — e.g. an invalid or already-checked-out check-in — for a destructive, non-open-world mutation.

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 the baseline is 3; the description does add real value by explaining where checkInId values come from (getCheckIns with status checkedIn). However it omits the `code` parameter entirely and attributes the six-digit code to locationRef, which muddies rather than clarifies the three-way resolution path.

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 ('Check a person out, as an administrator of the location') and immediately says what the result is ('Returns the closed check-in'). This is clearly distinguishable from the sibling checkIn tool, which performs the inverse operation.

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?

Gives concrete routing: use checkInId from getCheckIns filtered to status checkedIn, or resolve via code/locationRef, and points to getLocations/getLocation for location lookups. The only weakness is that it says 'locationRef with the six-digit code', which blurs the code-vs-locationRef distinction the schema makes.

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