Skip to main content
Glama

Sergio by Serviche

Say two contacts are related, or different people

record_client_relationship
Idempotent

Answers 'same person?' for two contacts, as the contact pane's shared-line chip and the card's Related people do: action related (different people who legitimately share a line: spouses, family, a household, an assistant, coworkers) with relation, or action not_duplicate (two different people who happen to share a line; duplicate suggestions for the pair stop everywhere). otherClientId is the other contact (read entity clients). Nothing is sent. Pass the same idempotency_key when retrying; the verdict is an upsert, so a repeat changes nothing.

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>",
      "otherClientId": "<otherClientId>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "record_client_relationship"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
relationNo
client_idYes
otherClientIdYes
dismissedReasonNo
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. Added

TDQS

A4.1/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, yet the description adds genuinely new behavior: 'Nothing is sent' (no message goes to the contacts) and 'duplicate suggestions for the pair stop everywhere' (a cross-surface side effect). The upsert/idempotency restatement is somewhat redundant with idempotentHint, and there is no mention of authorization or reversibility, but the side-effect disclosure is the kind of context annotations cannot carry.

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 purpose and the two action branches are front-loaded, and each sentence carries information (relations, side effect, no notification, retry guidance). It is dense but not padded; the only slight redundancy is restating idempotency that the annotation already declares.

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 write tool with an annotation set and no output schema, the description covers the verdict semantics, the suppression side effect, and the retry/idempotency contract. The notable gap is dismissedReason, whose role in the 'not_duplicate' path is left unexplained, so an agent cannot fully reason about all inputs.

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 17%, so the description must do heavy lifting. It adds meaning for action, relation (implying relation applies to the 'related' branch), otherClientId (the other contact, read from entity clients), and idempotency_key (reuse on retry). However, client_id is never explained and dismissedReason is not mentioned at all, leaving two of six parameters without semantic coverage.

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?

The description states a precise purpose — recording a verdict on whether two contacts are the same person — and enumerates both possible verdicts (related with a relation type, or not_duplicate) with the specific real-world situations each covers. It also anchors the concept to the product's own UI (shared-line chip, Related people), so an agent can distinguish it from sibling relationship tools like dismiss_client_relationship or remove_client_staff_relationship.

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?

It clearly explains when to choose each action: 'related' for different people who legitimately share a line (spouses, family, household, assistant, coworkers), 'not_duplicate' for different people who merely happen to share a line. It does not explicitly name a sibling alternative or state when NOT to use this tool versus dismiss/remove relationship tools, so the guidance is clear but not exhaustive.

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