Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Add companies to a list

add_companies_to_list
Idempotent

Add companies by number to a monitored watchlist so you get alerts on changes. Saves them to the account's default list when no list is specified, and updates existing entries.

Instructions

Add companies to one of the account's lists by company number (monitored lists then alert on changes). Without list_id the companies go on the account's default list, "My watchlist", which is created if the account has none; that costs one extra API request. Companies already on another of the account's lists use none of the plan's company cap; supplying a reference, note or tags for a company already on the list updates it. Returns list_id, added, updated, already_on_list, not_found and over_limit (numbers that did not fit the plan's cap), with companies_used and companies_limit. Available on the Free API plan and above. The number of companies across all lists is capped by plan.

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

Input Schema

NameRequiredDescriptionDefault
list_idNoList id from get_lists or create_list. Leave out to use the default list ("My watchlist").
companiesYesCompanies to add (1–1,000 per call).

Output Schema

NameRequiredDescriptionDefault
addedNo
list_idNo
messageNo
updatedNo
not_foundNo
over_limitNo
companies_usedNo
already_on_listNo
companies_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true) by disclosing side effects the agent could not infer: implicit creation of the default list with an extra API request, upsert semantics for rows already on the list, and that companies on other lists consume none of the plan's cap. It also states plan eligibility and the cap/limit accounting, which is exactly the context an agent needs before mutating a quota-bound resource.

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?

Front-loads the action and the default-list rule, then layers cap, upsert, and return-value details in short parenthetical sentences. It is dense but nearly every clause earns its place; the closing sentence about plan caps partially repeats the over_limit explanation, costing a little tightness.

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 2-parameter mutation tool with a rich schema, full description coverage, and an output schema, the description covers the remaining risk areas: implicit list creation, request cost, upsert behavior, quota accounting, and plan availability. Nothing an agent needs to call this correctly is missing, even though return values are already covered by the output schema.

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 is 3, but the description adds real meaning on top: the consequence of omitting list_id (default list, created if absent, extra request) and how over_limit companies_used/companies_limit relate to plan caps. It does not elaborate on note/tags/custom_ref beyond what the schema already says, which is appropriate given the schema's own descriptions.

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?

States a specific verb and resource ('Add companies to one of the account's lists by company number') plus the scope (per-account lists, monitored-list alerting behavior). The default-list fallback and the auto-creation of 'My watchlist' further pin down exactly what the call will do, so an agent can distinguish it from create_list or get_list_companies without opening a sibling 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?

Gives clear usage context: omit list_id to target the default list, that path costs one extra API request, and that adding a company already present with a reference/note/tags performs an update rather than a duplicate. It does not explicitly name alternatives for creating a list or fetching existing members, so it falls short of a full when-to-use/when-not spec.

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