Skip to main content
Glama

Link Contact to Deal

link_contact_to_deal

Attach an existing contact (from list_contacts) to a property, client, prospect, or location, with an optional role (e.g. "Tenant Rep", "Attorney"). Use create_contact first if the person isn't in the address book yet. If the contact is already linked, this updates its role. Requires your participation in the record, and the contact must be one you own or that is shared with you. Changes a record — confirm the contact and record with the user first. Unlinking is not available through this integration; remove the link in Propensa directly.

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": {
      "record_type": "<record_type>",
      "record_id": "<record_id>",
      "contact_id": "<contact_id>"
    },
    "name": "link_contact_to_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoThe contact's role on this record, e.g. "Tenant Rep", "Attorney", "Decision Maker".
record_idYesThe record id to attach the contact to.
contact_idYesThe contact to attach — resolve one with list_contacts. Must be a contact you own or that is shared with you.
record_typeYes"property" = a listing, "client" = a represented party, "prospect" = a deal under a property (landlord-rep), "location" = a deal under a client (tenant-rep).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=false. The description adds real behavior the annotations don't: an existing link is upserted into a role change, the caller must participate in the record, the contact must be owned or shared, and unlinking is impossible here. The pre-conditions and irreversibility of removal are exactly what an agent needs before writing.

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 core action, then prerequisites, then caveats, in a logical order with no filler sentences. It loses a point for repeating the role examples already present in the schema, a small redundancy in an otherwise tight definition.

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 4-parameter mutation tool with no output schema, the description covers prerequisites, idempotent-update semantics, confirmation guidance, and the unavailable unlink path. It stops short of saying what the call returns or how to verify the link succeeded, which would matter given there is no output schema.

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 description coverage is 100%, so record_type semantics and role examples are already documented there, and the description largely restates them ("with an optional role (e.g. 'Tenant Rep', 'Attorney')"). The only added meaning is the ownership/sharing constraint on contact_id, which the schema also states. With the schema doing the heavy lifting, the baseline 3 is appropriate.

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 opens with a specific verb+resource: "Attach an existing contact ... to a property, client, prospect, or location." It explicitly names siblings it depends on (list_contacts to resolve, create_contact when absent), so an agent can distinguish it from create_contact, update_contact, or tag_contact without opening a 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?

It gives an explicit decision path: resolve via list_contacts, create_contact first if the person isn't in the address book, and if the contact is already linked this becomes an update. It also rules out the inverse operation ("Unlinking is not available through this integration") and tells the agent to confirm with the user before mutating.

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