Skip to main content
Glama

updateCheckIn

Destructive

Change when a person checked in or out, as an administrator of the location; omitted dates keep their current values. Returns the updated check-in. Both dates must be in the past and the check-out after the check-in. checkOutDate is accepted only for a check-in with status checkedOut: this does not check anyone in or out, use checkIn or checkOut for that. Get checkInId from getCheckIns. Never invent UUIDs; only use values from prior tool responses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "checkInId": "<checkInId>",
      "checkIn": "<checkIn>"
    },
    "name": "updateCheckIn"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkInYesCheck-in dates to change. Fields left out keep their values.
checkInIdYesThe ID of the check-in.

Output Schema

NameRequiredDescriptionDefault
checkInYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations cover the safety profile (destructiveHint=true, readOnlyHint=false), and the description adds genuinely new behavior: an administrator role is required, omitted fields are preserved rather than cleared, past-only and ordering validation applies, and checkOutDate is rejected unless the record is already checked out. What it does not address is the irreversible overwrite of the prior timestamps that destructiveHint flags, which keeps it short of a 5.

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?

Four sentences, front-loaded with the action and scoping, followed by constraints, alternative routing, and ID provenance in a logical order. Minor redundancy: the date validity rules duplicate the schema descriptions, and 'Returns the updated check-in' is already implied by the declared output schema.

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 two-parameter nested mutation with an output schema present, the description covers the missing pieces an agent would otherwise lack: authorization level, partial-update behavior, status gating, validation ordering, and ID sourcing. Return values need not be explained because an output schema exists.

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 coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: partial-update semantics for the nested checkIn object, the status condition that gates checkOutDate, and the rule that checkInId must come from a prior tool response rather than being fabricated. The date-format and past-only rules are largely restated from the schema descriptions.

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 opens with a specific verb and resource ('Change when a person checked in or out') and immediately scopes it to an administrator acting on a location. It explicitly disclaims the adjacent write operations ('this does not check anyone in or out, use checkIn or checkOut'), so an agent can separate it from those siblings without reading either 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?

It gives explicit when-not guidance (use checkIn/checkOut to change status), a stated precondition (administrator of the location), the status gating for checkOutDate, and provenance rules for the ID ('Get checkInId from getCheckIns. Never invent UUIDs; only use values from prior tool responses'). Nothing about selecting this tool is left to inference.

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