Skip to main content
Glama

link_external_record

DestructiveIdempotent

Link a CallPilotAI record (contact, lead, account, campaign) to a record in a connected system — e.g. a TenderAIze tender or dossier. The link is visible from both sides and can be removed again without touching either record. CallPilotAI stays the leading system: this creates a reference, not a copy.

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": {
      "entity": "<entity>",
      "entity_id": "<entity_id>",
      "system": "<system>",
      "external_id": "<external_id>"
    },
    "name": "link_external_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesWhich kind of record: lead|contact|account|campaign|user|asbest_project|raumbuchung_booking
systemYesThe other system, e.g. 'tenderaize', 'odoo', 'pipedrive'.
entity_idYesID of the record
external_idYesThe id over there.
external_urlNoDeep link into the leading system. This is what makes a reference useful: the CRM shows the pointer, the specialist system keeps the logic. No deadline is computed and no rule is run on a reference — that is the whole point of one.
external_kindNoWhat it is over there: pachtvertrag, flaeche, vorgang, vergabe, dossier … Free text, because every specialist system has its own words.
external_labelNoWhat it is called over there — so a human recognises it without opening the other system.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / entity_id / description
      Added value: +"ID of the record"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is partly covered. The description adds real context beyond them: the link is bidirectional, is reversible without modifying either underlying record, and creates a reference rather than a copy. It does not explain what an existing duplicate link does or what permissions are required, which is the remaining gap.

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?

Three short sentences, front-loaded with the action and scope before the conceptual framing. Every sentence carries information; the only mild redundancy is restating removability alongside the 'reference, not a copy' point.

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 7-parameter mutation with no output schema, the description covers the important semantics: bidirectionality, leading-system authority, and reversibility. It leaves unaddressed what the response contains and what happens on a repeated or conflicting link, which an agent would want to know before invoking.

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 the schema already documents all seven parameters, including external_url, external_kind and external_label. The description only echoes the concept of a reference and lists a subset of entity kinds (omitting user, asbest_project, raumbuchung_booking that the schema enumerates), so it adds little beyond the structured fields.

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?

Names a specific verb (link) and resource (a CallPilotAI record) with concrete entity examples and a concrete counterpart example (TenderAIze tender/dossier). The clause 'creates a reference, not a copy' positively distinguishes this from tools that import or duplicate data, and the 'can be removed again' phrasing signals its counterpart operation.

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?

The description implies when the tool applies (establishing cross-system references where CallPilotAI stays authoritative), but never states conditions or exclusions, and never names the alternative operations (read_external_record, unlink_external_record, list_external_links) that a caller would pick between. Guidance is inferable rather than explicit.

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.