Skip to main content
Glama

Import leads

campaignstack_import_leads

Import parsed CSV lead rows into private workspace leads with CSV provenance, optionally attaching successful rows to one lead list. Max 100 rows per call; per-row failures are returned without aborting the whole import.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYesCSV rows already parsed into fields. Max 100 per call.
leadListIdNoOptional set lead-list to attach imported rows to.
workspaceIdNoWorkspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.
importedFromNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
itemsNo
failedNo
resultsNo
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Workspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach."New value: +"Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly=false, destructive=false, openWorld=false, idempotent=false). The description adds genuinely useful traits beyond them: a hard 100-row-per-call limit and non-aborting per-row failure handling, which materially affects how an agent batches and interprets results.

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?

Two tight sentences with the core action and the notable constraint both front-loaded. No filler, though the row-cap and failure semantics could be slightly more separated for scanability.

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

Completeness4/5

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

An output schema exists, so return-value explanation is unnecessary, and the description covers the key behavioral surprises (batch cap, partial-failure results, list attachment). For a non-idempotent mutation with no required destructive warnings, this is largely complete.

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

Parameters3/5

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

Schema description coverage is 75%, so most parameters are documented structurally (workspaceId, importedFrom, rows). The description adds meaning to leadListId ('optionally attaching successful rows to one lead list'), but does not elaborate on row field semantics or the workspaceId resolution logic. Baseline 3 fits.

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 and resource: 'Import parsed CSV lead rows into private workspace leads.' The 'parsed CSV lead rows' phrasing implicitly distinguishes it from the sibling campaignstack_import_external_leads, though it never names that alternative. An agent can tell what it does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies usage (importing already-parsed CSV rows, with an optional lead-list attachment) but gives no explicit when-to-use vs when-not guidance, nor does it point to campaignstack_import_external_leads for the non-CSV path. The 100-row cap and per-row failure semantics give operational context but not routing.

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.

Resources