Skip to main content
Glama

import_companies_to_list

Destructive

Save companies you already have (read off a web page you scraped, from text the user pasted, or from your search results) into a company list: a new one (newListTitle) or an existing company list (existingListId). mode DEMOGRAPHICS enriches them in the background, first reading the website of a company that came without one off its page on the source (Profile URL); it fills in company details, never emails or phone numbers, and costs 1 credit per company that matches and nothing for the rest, so call it only once the user has agreed to that cost. mode RAW saves them without enrichment, free; a domain that is not the company's own website is left empty in either mode. Give each company's LinkedIn page (Company LinkedIn URL) whenever the source shows it: it is kept on the company (one matched to a known company keeps that company's page), and a company watcher uses that page when the company has no website. Answers at once with the list (listId, listName) and a rough estimatedMinutes: the list fills in the background and the user gets a notification when it is complete. Each company newly added to the list starts the user's automations that run when a company is added to a list. More companies than one call takes go in further calls, with existingListId set to the listId the first call answered. A value with no field of its own (a deal stage, a rival, a score) goes in the row's customColumns as a name/value pair: each name becomes a column on the list, or fills the list's own column of that name when every value fits it (a number, a date, a yes/no, or one of its options) and it is neither a smart nor a link column; an existing list takes columns only when the user created it. Never put such a value in another field. A company already on the list is saved again. When the row matches a known company by its website, the company keeps its row and its other columns, and the columns the call fills take the row's values (an empty value clears one); otherwise the row replaces it, and its other columns, smart ones included, are lost. Mode DEMOGRAPHICS matches and charges it again.

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": {
      "mode": "<mode>",
      "rows": "<rows>"
    },
    "name": "import_companies_to_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesDEMOGRAPHICS matches each company to a known company and fills in its profile, charging 1 credit for every company it matches. RAW saves the companies without enrichment, free. In either mode a domain that is not the company's own website is left empty.
rowsYesOne object per company, at most 1000 per call, and at most 20 different column names across them.
listTypeNoAlways 'companyList'.companyList
sourceUrlNoThe page the rows were scraped from, when they were. It keeps that site's own links out of the websites the lookup finds.
newListTitleNoCreate a new list with this name. Give exactly one of newListTitle and existingListId.
existingListIdNoAdd to this existing list, by its 24-hex id. It must be a list of the same type. Give exactly one of newListTitle and existingListId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, and the description adds substantive context beyond them: enrichment runs in the background with 1 credit per matched company, the response is immediate with listId/listName and an estimatedMinutes, automations fire on newly added companies, and re-importing an existing company overwrites its other columns, including smart ones, while empty values clear cells. That last point is the key destructive consequence and is disclosed explicitly. It does not quantify notification timing or failure modes.

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

Conciseness3/5

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

The content is valuable but delivered as a dense run-on wall of clauses rather than front-loaded bullets; the mode/cost rule and the destructive overwrite rule are buried mid-paragraph. Nothing is truly expendable, yet the packing hurts scannability for an agent deciding whether to call.

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

Completeness3/5

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

For a 6-parameter destructive bulk import with no output schema, the description covers cost, enrichment behavior, chunking, column mapping, and overwrite semantics. Gaps remain: it never states permission/plan requirements, what happens when only one of newListTitle/existingListId is invalid, or the behavior of an existing list not created by the user beyond the customColumns restriction.

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 would be 3; the description goes further by explaining semantics the schema only implies, such as matching a customColumns name to an existing list column ignoring case and spacing, refusing to fill smart or link columns, and why sourceUrl exists (it keeps that site's links out of discovered websites). It also clarifies that Profile URL is the source page, not the domain, reinforcing the schema's distinction.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (import/save) and resource (companies into a company list), and distinguishes the two destinations via newListTitle vs existingListId. It is clearer than the terse sibling names suggest, though it never explicitly contrasts itself with save_companies_to_list or bulk_save_companies_to_list, so an agent must infer the difference from names alone.

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?

Gives real conditions: call DEMOGRAPHICS only after the user agrees to credit cost, use RAW for free saving, use further calls with existingListId when there are more rows than one call takes, and put values with no field of their own into customColumns rather than another field. It stops short of naming a sibling alternative for the non-import paths (e.g. searching or pushing to CRM).

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.