Skip to main content
Glama

Sergio by Serviche

Remove a cleaner's relationship from a client

remove_client_staff_relationship
Idempotent

Removes a preferred, blocked or backup staff relationship from a client, as the chip's Remove does. relationship_id comes from the staff relationships read (read the client's relationships). Nothing is sent. 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>",
      "relationship_id": "<relationship_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "remove_client_staff_relationship"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
relationship_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the description's job is to add context — and it does, via 'Nothing is sent' (no downstream notification triggered) and 'Pass the same idempotency_key when retrying' (operational idempotency practice). 'Nothing is sent' is slightly vague about what is not sent, and the description never says whether removal can be undone or what happens if the relationship_id is unknown.

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 short sentences, front-loaded with the action and scope, then the id prerequisite, then side-effect and retry notes. Minimal waste; the 'as the chip's Remove does' clause is the only mildly UI-dependent 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 3-required-param mutation with annotations and no output schema, the description covers the prerequisite read, the side-effect stance, and the retry contract. Remaining gaps (behavior on missing/unknown relationship_id, reversibility, response shape) are modest given the annotation coverage.

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 only 33% (only idempotency_key is documented inline), so the description must compensate — and it does for relationship_id by naming its source read, which the schema does not. client_id is left entirely implicit, and no format/enum guidance is added for either UUID, so it stops short of fully covering the gap.

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 ('Removes') and a precisely scoped resource: a 'preferred, blocked or backup staff relationship' tied to a client. This distinguishes it from save_client_staff_relationship (which writes a relationship) and dismiss_client_relationship without requiring the agent to open 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 Guidelines4/5

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

Gives a concrete prerequisite — obtain relationship_id from the staff relationships read (i.e., read the client's relationships first) — plus the UI analogue 'the chip's Remove' and retry guidance. It does not, however, name a when-not condition or explicitly contrast with sibling operations like dismiss_client_relationship or save_client_staff_relationship.

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