Skip to main content
Glama

create_company_from_domain

Destructive

Save a company for this user by website domain. Pass website (a domain or URL); if no company record exists for the domain it is created, named by its domain, then the company is added to the user's saved companies (a company the user had removed is saved again). After the call returns, a background job sends each saved company that lacks basic firmographic data, and was not looked up before, to an external company data provider, then fills the company's empty fields and its placeholder name; this lookup charges no credits, and the returned record does not include that data yet. Optional listNames adds the company to those company lists, creating a list when its name does not exist yet (these additions do not start the user's "Company added to list" automations); optional source labels how it was acquired. Optional watcherType is written to the company record that every FuseAI account with this company shares, replacing any stored value; it only labels the record and starts no signal monitoring. Optional websites saves several companies the same way, without adding them to lists or returning them. Returns { data, outcome } where data is the company record (data._id is the company id) and outcome.isNewCompany is true when the company record was created by this call and false when it already existed; outcome.lists (when listNames given) is an array of { listName, listId, isNewList, isNewCompanyAddition }. Use it whenever the company must show up in the user's CRM.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_company_from_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNo
websiteNo
websitesNo
listNamesNo
watcherTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses substantial behavior: a background enrichment job against an external provider, that the job costs no credits, that the returned record does not yet contain the enriched data, that list additions skip 'Company added to list' automations, and that watcherType is written to a record shared across all accounts and overwrites any stored value. These are exactly the side effects an agent needs before calling a destructive, open-world tool.

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 core action and its side effects are front-loaded, and the return shape is placed at the end where it belongs. It is dense and somewhat run-on, with several clauses chained by semicolons, but no sentence 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 five-parameter mutation with no output schema and no parameter documentation, the description covers the action, all side effects, the async enrichment caveat, and the exact { data, outcome } return shape including isNewCompany and the lists array. Nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: website vs websites (the latter saves several without lists or return), listNames with auto-creation of missing lists, source as an acquisition label, and watcherType as a label-only field that starts no monitoring. Every one of the five parameters gains meaning not present in the schema.

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?

The description opens with a specific verb and resource ('Save a company for this user by website domain') and explains the create-if-missing semantics precisely. It does not name the obvious sibling upsert_company_by_domain, so an agent must infer the distinction, which keeps it just short of a 5.

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 gives a clear selection rule: 'Use it whenever the company must show up in the user's CRM.' That is a real when-to-use statement, but there are no explicit when-not conditions and no named alternative for the upsert-style case.

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.