Skip to main content
Glama

checkIn

Destructive

Check a person in at a location, as an administrator of that location. Returns the check-in. Pass checkInId for a scheduled booking, event ticket or visit (from getCheckIns with status scheduled); or locationRef with the six-digit code the person was given; or locationRef with customerRef to check a member in on their active subscription without a code. customerRef is the id of a getCustomers result of type user that is a member of that location. With customerRef, add a past checkInDate to record an arrival that already happened, and a past checkOutDate when the member has left. Call getLocations to list locations, or getLocation to fetch one by locationId. Call getCustomers to list valid customerRef values. 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": "checkIn"
  }
}

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.
checkInDateNoISO timestamp of a past arrival to record for the member in customerRef, such as a visit nobody checked them in for. Without checkOutDate the member stays checked in until they check out.
customerRefNoID of a member to check in on their subscription without a code. Only administrators of the location can check a member in this way.
locationRefNoUUID of the location the code was issued in. Required when the check-in is resolved by its code or a customer ref.
checkOutDateNoISO timestamp of when the member left, which creates the check-in as checked out. Requires checkInDate and must be in the past.

Output Schema

NameRequiredDescriptionDefault
checkInYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and destructiveHint=true, so the agent knows this is a state-changing call; the description adds the real behavioral layer — administrator-of-location authorization, the fact that a past checkInDate without checkOutDate leaves the member checked in, and the provenance rule for IDs. It does not address idempotency or what happens if the person is already checked in, which is the one gap given a destructive mutation.

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, then ordered by resolution path, then prerequisites. The mid-section sentences are long run-ons packing conditional clauses, but none are filler.

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 six-parameter optional-everything tool with an output schema, the definition covers all three call shapes, permissions, and past-date recording semantics, so an agent can construct a valid call. Missing is the failure/edge behavior (duplicate check-in, code not found) that would make it airtight.

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 field is already documented individually and the baseline of 3 applies. The description does add cross-parameter meaning the schema cannot express — which combinations constitute a valid invocation — but that value is modest against a fully annotated 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 ("Check a person in at a location"), scopes it to acting as a location administrator, and declares the return value. The three resolution modes (scheduled checkInId, six-digit code, member customerRef) make it unmistakable against siblings like checkOut, getCheckIns, and updateCheckIn.

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 branch conditions: checkInId for scheduled bookings/event tickets/visits, locationRef+code for code-given entry, locationRef+customerRef for subscription members with no code. It also names the discovery tools to call first (getLocations, getLocation, getCustomers) and forbids inventing UUIDs, so an agent knows both when to use this and what prerequisites to satisfy.

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