Skip to main content
Glama

link_source_record

Create or reactivate links between AnchorIDs and source records using confidence scores. Idempotent operation ensures stable identity resolution across customer systems.

Instructions

Create or reactivate a link between an AnchorID and a source record. Idempotent — calling twice returns the existing link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idYesUUID of the AnchorID to link to
source_record_idYesUUID of the source record to link
confidenceNoConfidence score for this link (0-1)
linked_byNoWho/what created this link (default: "api")
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses critical idempotency guarantee and 'reactivate' behavior (implying links can exist in deactivated states). Missing: return value structure, error conditions (e.g., invalid UUIDs), authorization requirements, and whether this operation triggers side effects like audit logging.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero waste. First sentence front-loads the core operation; second sentence provides the critical idempotency guarantee. Every word earns its place.

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?

Appropriate for a 4-parameter linking operation with complete schema coverage. Core behavior and safety properties (idempotency) are covered. Deducted one point for missing return value description and error scenarios, which are important for a mutation tool with no output schema or annotations.

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 has 100% description coverage, establishing baseline of 3. Description maps 'entity_id' to 'AnchorID' conceptually, adding minor semantic value, but does not expand on parameter formats, validation rules, or business logic constraints beyond the schema definitions.

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?

Clear specific action ('Create or reactivate') with explicit resources ('link between an AnchorID and a source record'). The 'reactivate' verb implicitly distinguishes from sibling tool 'unlink_source_record', indicating this handles both new and restored links.

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?

Provides implicit guidance through the idempotency note ('calling twice returns the existing link'), suggesting safe retry patterns. However, lacks explicit comparison to sibling 'unlink_source_record' or guidance on when to use versus other entity management tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nolenation04/anchord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server