Skip to main content
Glama

Sergio by Serviche

Record a post-service check-in outcome

record_checkin_outcome
Idempotent

Records how a post-service check-in went, as the check-in task card's outcome buttons do: reached_happy or reached_concern (a note is required for reached_concern and callback_due), no_answer, voicemail or callback_due; sentiment overrides the default on a reached outcome. task_id is the check-in task (read tasks). This files the client's words against the visit's assigned cleaners (a concern can start the Complaint flow), and the answer's warnings say what could not happen. Nothing is sent. Pass the same idempotency_key when retrying; a same task+outcome+day writes once.

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

Input Schema

NameRequiredDescriptionDefault
noteNo
outcomeYes
task_idYes
sentimentNo
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.
confirmCheckinIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond annotations: states that nothing is sent to the client, that the words are filed against the visit's assigned cleaners, that a concern can trigger the Complaint flow, and that response warnings report what could not happen. Also clarifies the idempotency window ('same task+outcome+day writes once'), which annotations only flag as idempotent=true.

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 purpose and outcome vocabulary, then prerequisites and side effects. Dense semicolon-chained clauses make it run-on in places, but nearly every clause carries distinct information; only the 'as the check-in task card's outcome buttons do' framing is slightly redundant.

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?

No output schema exists, but the description compensates by pointing to the answer's warnings and stating no external message is sent. For a write tool with idempotency and a downstream Complaint trigger, the remaining shortfall is the undocumented confirmCheckinId and the note length limit.

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?

With only 17% schema coverage the description must carry the load, and it does for most fields: conditional note requirement per outcome, sentiment overriding the default on reached outcomes, task_id meaning, and idempotency key reuse. It leaves confirmCheckinId completely unexplained, which is a real gap for a 6-param tool.

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?

Opens with a specific verb+resource ('Records how a post-service check-in went') and enumerates the exact outcome vocabulary, so an agent knows this is the check-in-outcome recorder rather than a generic call or campaign outcome tool. The parenthetical 'read tasks' anchor ties it to the check-in task object.

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?

Implies the precondition (task_id is the check-in task, obtainable via read tasks) and gives explicit retry guidance ('pass the same idempotency_key when retrying'). It does not name a specific alternative sibling or a when-not condition, but the conditional note requirement steers choice among outcomes.

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