Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Link Similar Organizations

link_similar_organizations
Idempotent

Saves similar-companies lookup results as lookalikes for an organization, linking each company by domain with its similarity score and skipping entries without domains.

Instructions

Save the results of a similar-companies lookup as lookalikes of one organization.

Call it after a similar-companies search (this server runs none itself) to keep what it found: each company is found or created by its domain and linked to the organization with its similarity score. A company new to this workspace is saved as discovered and stays out of the default organization views until promote_organization; one already held is linked and otherwise left as it is. A company with no domain is skipped. Linking the same results again changes nothing. Read the lookalikes with list_similar_organizations.

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": {
      "organization_id": "<organization_id>",
      "companies": "<companies>"
    },
    "name": "link_similar_organizations"
  }
}

Input Schema

NameRequiredDescriptionDefault
companiesYesThe lookup's results, one object per company.
organization_idYesThe organization the lookalikes resemble.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, but the description goes well beyond them. It says that each company is found or created by domain, that new companies are saved as 'discovered' and hidden from default views until promote_organization, that existing companies are linked and otherwise untouched, that domainless companies are skipped, and that re-linking is a no-op. These are exactly the side-effect and visibility details an agent needs before a mutation.

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 description is front-loaded with the action, then prerequisites, then per-item behavior, then the read-back pointer, which is a sensible order. It is a bit longer than strictly needed, and some wording such as 'one already held is linked and otherwise left as it is' could be tightened, but nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with full schema coverage, an output schema, and non-destructive idempotent annotations, this covers what is missing from the structured data: where the input comes from, create-vs-link behavior, skip rules, and the follow-up read. Nothing an agent needs in order to invoke it correctly is absent.

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 description coverage is 100%, so the schema already documents organization_id and the nested company fields, which puts the baseline at 3. The description adds real meaning on top: the domain is the identity key for find-or-create and companies without one are skipped, and each company carries its similarity score into the link. It does not, however, discuss the optional fields such as name fallback or revenue/employee ranges.

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 opening sentence names a specific verb and resource: saving the results of a similar-companies lookup as lookalikes of one organization. It is clearly distinct from list_similar_organizations (reading lookalikes) and promote_organization (promoting discovered companies), so an agent can separate it from its siblings 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 Guidelines4/5

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

It states the prerequisite explicitly: 'Call it after a similar-companies search (this server runs none itself)', which tells the agent the tool will not go and fetch data on its own. It also points to promote_organization for visibility and to list_similar_organizations for reading the result. There is no explicit when-not-to-use statement beyond these pointers.

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