Skip to main content
Glama

Samuelz® Communications

Kontakt und User ausdrücklich verknüpfen

link_business_contact_user

Use only for an explicitly selected same-person contact/member mapping, not to start duty or grant access. Copy contactId and expectedRevision from get_operator_duty_setup; userId identifies the exact existing active member or null explicitly unlinks. confirmed=true attests this specific user selection. Explicitly link an existing exact tenant CRM contact to an existing active member, or unlink with userId=null. Requires separate crm:link_identity consent plus current CRM-write and People-manage authority and tenant access policy. Read exact contact revision via get_operator_duty_setup. Never infers identity, creates users, grants rights or sends notifications. Confirm only the user-selected same-person mapping. JSON POST /api/v1/tenant/write/link_business_contact_user.

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": {
      "contactId": "<contactId>",
      "userId": "<userId>",
      "expectedRevision": "<expectedRevision>",
      "confirmed": "<confirmed>"
    },
    "name": "link_business_contact_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesExact existing active member who is the same person; null explicitly removes this contact-user link. No new user or rights are created.
confirmedYesExactly true only for this explicit user-selected same-person mapping or unlink, not inferred identity.
contactIdYesExact existing tenant CRM contact selected by the user and returned by get_operator_duty_setup.
expectedRevisionYesExact current contact-link revision from get_operator_duty_setup. A changed contact requires reread.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / confirmed / description
      Added value: +"Exactly true only for this explicit user-selected same-person mapping or unlink, not inferred identity."
    • addedInput schema / properties / contactId / description
      Added value: +"Exact existing tenant CRM contact selected by the user and returned by get_operator_duty_setup."
    • addedInput schema / properties / expectedRevision / description
      Added value: +"Exact current contact-link revision from get_operator_duty_setup. A changed contact requires reread."
    • addedInput schema / properties / userId / description
      Added value: +"Exact existing active member who is the same person; null explicitly removes this contact-user link. No new user or rights are created."
  2. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnly=false, openWorld=false, idempotent=false and destructive=false; the description goes further by naming the required consent scope (crm:link_identity) plus CRM-write and People-manage authority and tenant access policy, and by disclosing optimistic concurrency via expectedRevision. It also rules out side effects (no user creation, no rights grant, no notifications). The one gap is tension around destructive=false while userId=null 'removes this contact-user link' — the description never clarifies whether unlink destroys anything or is simply reversible, leaving the annotation's safety claim uncorroborated.

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-loads the scoping restriction and keeps every sentence substantive, but it is noticeably repetitive: the link/unlink behavior is stated in the opening clause, again mid-paragraph ('Explicitly link an existing exact tenant CRM contact…'), and the 'never infers identity' theme recurs in both prose and the confirmed parameter text. Tighter phrasing could remove one full sentence without losing information.

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?

Covers the high-risk aspects of a mutation tool thoroughly — preconditions, consent, revision staleness, and negative side effects — which matters since there are no annotations carrying the safety burden. It is silent on the response, however: with no output schema, the description never says what comes back (e.g. a new link revision), which an agent would need for a follow-up write.

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 100%, so the baseline is 3; the description still adds provenance the schema cannot give — contactId and expectedRevision must be copied from get_operator_duty_setup, and a changed contact requires a reread. It also explains confirmed=true as an attestation of this specific user selection and userId=null as the explicit unlink switch, reinforcing the field semantics with operational meaning.

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 pair: linking an exact existing tenant CRM contact to an exact existing active member, or unlinking via userId=null. It also draws the boundary against siblings ('not to start duty or grant access') and names get_operator_duty_setup as the source of the read-side data, so an agent can distinguish it from duty/consent tools without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Opens with an explicit 'Use only for…' restriction covering the qualifying case (explicitly user-selected same-person mapping) and the excluded cases (starting duty, granting access, inferring identity, creating users). It names the prerequisite call (get_operator_duty_setup) for obtaining contactId and expectedRevision, and states the authority/consent conditions that must hold before invoking.

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