Skip to main content
Glama

Sergio by Serviche

Change a client's status

set_client_status
Idempotent

Sets or clears one status on a client, as the card's Manage menu does: deactivate (hides them from the clients list by default) or unsubscribe (do-not-contact; on:true needs a short reason and stops every campaign and lead follow-up on that channel). on:false clears it (or re-subscribes). scope all or marketing and channel sms or email narrow an unsubscribe. These are the client's own statuses, not anyone's access to Sergio. Pass the same idempotency_key when retrying.

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": {
      "client_id": "<client_id>",
      "action": "<action>",
      "on": "<on>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "set_client_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYes
scopeNo
actionYes
reasonNo
channelNo
client_idYes
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "deactivate",
      -  "block_booking",
      -  "block_access",
      -  "unsubscribe"
      -]New value: +[
      +  "deactivate",
      +  "unsubscribe"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say not-read-only, not-destructive, idempotent. The description adds real behavioral weight beyond that: the visible side effect of deactivation (hidden from the clients list by default), the downstream blast radius of unsubscribe (stops every campaign and lead follow-up on that channel), a prerequisite (on:true needs a short reason), and reversibility via on:false. Retry semantics are stated explicitly, consistent with idempotentHint=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?

Purpose is front-loaded in the first clause, then the two actions, then modifiers, then the retry note — a sensible ordering. The prose is dense with parentheticals and slightly run-on, but nearly every sentence carries operational meaning and nothing is repeated from the annotations.

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 mutating, side-effecting tool with no output schema and sparse schema descriptions, the definition covers what changes, what is suppressed, reversibility, prerequisites, and idempotency. It stops short of stating permission requirements or what the call returns, which are the only notable omissions for a status-changing operation.

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 schema coverage at only 14%, the description carries most of the parameter burden and mostly succeeds: it defines the on flag's polarity, the two action values, that scope (all/marketing) and channel (sms/email) only narrow an unsubscribe, and that reason is needed for the on:true path. One gap remains — it doesn't clarify whether reason is required for deactivate as well, and client_id is left entirely to the 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 ('sets or clears one status on a client') and enumerates the exact status values it handles (deactivate, unsubscribe), plus an explicit disambiguation: 'These are the client's own statuses, not anyone's access to Sergio.' An agent can distinguish this from access/relationship tools without opening the schema.

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 clear conditions for each action: deactivate hides the client from the clients list by default, unsubscribe is do-not-contact and halts campaigns and lead follow-ups on that channel, on:false clears or re-subscribes. It also anchors the mental model to 'the card's Manage menu.' It does not name a specific sibling tool as the alternative for the other direction, but the action-level guidance is explicit.

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