Skip to main content
Glama

Sergio by Serviche

Mark a cleaner preferred, blocked or backup for a client

save_client_staff_relationship
Idempotent

Marks one cleaner as preferred, blocked or backup for a client, as the contact card's relationship chips do. Give staff_id (read entity staff_profiles) or a staff_name; a name that matches exactly one person is keyed by that person's id, so a rename replaces the same row. strength 1-10 (default 7 for preferred, 5 otherwise) and reason are optional. Nothing is sent. Pass the same idempotency_key when retrying; it is one row per person, so a repeat updates the same row.

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_type": "<relationship_type>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "save_client_staff_relationship"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
staff_idNo
strengthNo
client_idYes
staff_nameNo
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_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Adds real context beyond the annotations: 'Nothing is sent' (no notification side effect) is not implied by openWorldHint=false, and the upsert semantics ('one row per person, so a repeat updates the same row') plus exact-name resolution ('a name that matches exactly one person is keyed by that person's id, so a rename replaces the same row') meaningfully refine the idempotentHint. It stops short of saying what happens on a name that matches zero or multiple people, and doesn't note whether blocking conflicts with an existing preferred row.

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 the action and value space, then parameter guidance, then retry semantics — a sensible order with no filler sentences. It is a single dense paragraph with some run-on stacking ('strength 1-10 ... and reason are optional. Nothing is sent.'), which slightly hurts scannability but nothing is wasted.

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 mutation tool with no output schema, no nested objects, and four undocumented parameters, the description supplies the identity-resolution rules, defaults, and idempotency behavior an agent needs to call it safely. The remaining holes — meaning of strength, ambiguity resolution for staff_name, and whether the write is reversible — are real but narrow.

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 coverage is only 14%, so the description must carry the load, and it does partially: it supplies the strength defaults (7 for preferred, 5 otherwise) that the schema omits entirely, and explains the staff_id/staff_name dual-identity and idempotency_key reuse. But it never says what 'strength' semantically means or how it interacts with relationship_type, and client_id gets no mention; with a 7-parameter tool at 14% coverage, that leaves a substantive 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 (marks), a single resource (one cleaner's relationship to a client), and the exact value space (preferred, blocked, backup), plus an anchor to the UI concept ('the contact card's relationship chips'). An agent can identify this as the write tool for relationship status 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 Guidelines3/5

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

Gives operational guidance on choosing staff_id vs staff_name and on reusing idempotency_key on retries, and clarifies that a repeat call updates rather than duplicates. However, it never states when to use this instead of the closely named siblings (remove_client_staff_relationship, record_client_relationship, dismiss_client_relationship), so the create-vs-remove-vs-record choice 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