Skip to main content
Glama

create_smart_column_tool

Destructive

Adds an AI 'smart column' that researches/scores each row of a list from a prompt (standard and deep_research search the web), or (engine writer) writes a message for each row. Campaigns that use the list read these values when they prepare each contact's next message: a step with a {Column: } token holds each contact until their row is filled and then inserts the value as written, with no review step, and AI-written steps use the values as context. Starts a background job and returns a jobId; poll get_smart_column_job_status_tool. Costs credits for each row computed: 20 (standard), 100 (deep_research) or 10 (writer), and is refused when the balance cannot cover every target row. Each non-empty value also triggers the user's 'Smart column updated' automations. Provide listId, prompt, columnName and runOn (first_1|first_10|first_100|first_1000|all). columnName must be new: a name already on the list or a reserved column name is refused, so it never changes an existing column. Optional filters (the same row filters as get_prospect_list_rows_tool) and sort ({ sortBy, sortOrder }) pick and order the target rows, runOn takes the first 1, 10, 100, 1,000 or all of them, and only those rows are computed and charged; if none match, the call is refused unless allowEmpty is true, which keeps the empty column and charges nothing. providerIds (deep_research only; ids from get_provider_key_catalog) narrows which outside data providers the research may call, at no extra credits. When deep_research calls a provider the user saved their own API key for, it uses that key, so that provider bills the user's own account.

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": {
      "listId": "<listId>",
      "prompt": "<prompt>",
      "columnName": "<columnName>",
      "runOn": "<runOn>"
    },
    "name": "create_smart_column_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
runOnYes
engineNoHow each row is filled. standard (the default): a quick web lookup finds the row's value. deep_research: in-depth research across many sources, slower. writer: writes a message for each row, such as an email opener, a LinkedIn note or a subject line, from the row's other columns, the team's Knowledge Hub and, when the team's People Brain is on, what it knows about the contact and their company, in the user's writing style and with no web research; the prompt says what to write. A row the writer cannot fill is left failed, never given a placeholder.standard
listIdYes
promptYes
filtersNo
allowEmptyNo
columnNameYes
providerIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructive/openWorld annotations it discloses the async job model and jobId return, per-row credit pricing (20/100/10), balance-based refusal, duplicate/reserved column name refusal, empty-match refusal unless allowEmpty, the side effect of triggering 'Smart column updated' automations, and that BYO provider keys bill the user's own account. These are exactly the operational and cost facts an agent needs before an irreversible, credit-spending call.

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?

Purpose and the campaign-coupling impact are front-loaded, followed by job/credit/refusal rules, which is a sensible ordering. The prose is dense and clause-heavy — several rules are packed into single long sentences — but nearly every statement carries unique operational information rather than restating the name or schema.

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 9-parameter, nested-object, side-effecting tool with no output schema, the description covers invocation, async continuation, cost, failure modes, and side effects. Nothing an agent needs to call it correctly or predict the consequences is missing.

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?

With only 11% schema description coverage, the description carries the burden and does so: it explains runOn's enumeration semantics ('only those rows are computed and charged'), sort's role in target ordering, columnName's uniqueness constraint, allowEmpty's refusal-bypass behavior, and providerIds' deep_research-only scope. It leaves the prompt parameter's content expectations mostly implicit, and the enormous filters object is delegated by reference rather than described.

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 first sentence states a specific verb and resource ('Adds an AI smart column') and immediately distinguishes the three engine behaviors (standard/deep_research web research vs writer message drafting). It also clarifies the downstream effect on campaigns via the {Column: <columnName>} token, so an agent understands what the tool produces and who consumes it.

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 explicitly points to the follow-up tool ('poll get_smart_column_job_status_tool'), names the source of filter semantics ('the same row filters as get_prospect_list_rows_tool'), and names the source for providerIds ('ids from get_provider_key_catalog'). It does not explicitly contrast against rerun_smart_column_tool, though the 'columnName must be new … never changes an existing column' constraint implicitly routes existing-column work elsewhere.

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.