Skip to main content
Glama

Sergio by Serviche

Log a client check-in

log_client_checkin
Idempotent

Logs a check-in attempt on a contact, as the contact card's Log a check-in does: outcome reached (with sentiment positive, negative or neutral), no_answer, voicemail, callback_due or skipped; optional channel (call, sms, email, in_person, other) and note. Pass bookingId (read a booking) to attribute the check-in to a visit's assigned staff; staffOverrideIds names people explicitly. Nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the same check-in.

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": {
      "clientId": "<clientId>",
      "outcome": "<outcome>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "log_client_checkin"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
callIdNo
channelNo
outcomeYes
clientIdYes
bookingIdNo
sentimentNo
conversationIdNo
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.
staffOverrideIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / channel / enum
      Previous value: -[
      -  "call",
      -  "sms",
      -  "email",
      -  "in_person",
      -  "portal",
      -  "other"
      -]New value: +[
      +  "call",
      +  "sms",
      +  "email",
      +  "in_person",
      +  "other"
      +]
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, idempotent, closed-world behavior, so the bar is lower, and the description still adds real context: "Nothing is sent" reassures the agent no message goes to the contact, and the retry rule spells out that a repeat returns the same check-in rather than creating a duplicate. What it does not cover is what the successful response contains or whether logging is rejected on inactive clients.

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?

The most useful facts are front-loaded: what is logged, the outcome vocabulary, then the optional attribution and retry behavior. It is dense but nearly every clause adds information; the "as the contact card's Log a check-in does" aside is helpful framing rather than filler, though the run-on list style makes it slightly harder to scan.

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?

For a mutation tool with ten parameters and no output schema, the description covers the safety story and the key attribution options but leaves gaps: the return value is never characterized, and the role of callId and conversationId in linking the check-in is unexplained. Annotations absorb the safety-profile burden, which keeps this adequate rather than deficient.

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 only 10% (essentially just idempotency_key), so the description has to carry the load. It does explain outcome values and the positive/negative/neutral sentiment pairing, the channel vocabulary, note, and the meaning of bookingId and staffOverrideIds, but it says nothing about clientId, callId or conversationId, leaving three of ten parameters with no explanation anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Logs a check-in attempt on a contact") and anchors it to a known UI action ("the contact card's Log a check-in"), then enumerates the possible outcomes. It is unambiguous about what the tool does, but it never distinguishes itself from nearby siblings such as log_call or record_checkin_outcome, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the description explains that bookingId attributes the check-in to a visit's assigned staff and that staffOverrideIds names people explicitly, which hints at when those options apply. There is no explicit statement of when to prefer this over log_call or record_checkin_outcome, and no prerequisites or exclusions are given.

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