Skip to main content
Glama

Create prospect

create_prospect

Add a prospect (a person to email) to the workspace. Requires an email address; the address is validated and duplicates within the workspace are rejected with HTTP 409. Optionally enrol the new prospect into a campaign with campaign_id. Returns the prospect id, normalized email and company_id (null for addresses on public mail providers such as gmail.com unless company_name is given).

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": {
      "email": "<email>"
    },
    "name": "create_prospect"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesEmail address of the prospect (required).
timezoneNoIANA time zone of the prospect, e.g. Europe/Warsaw. Used for send windows.
last_nameNoLast name.
first_nameNoFirst name.
campaign_idNoOptional campaign id. When given, the prospect is created AND enrolled into that campaign in one call; an unknown or unusable campaign rejects the whole call with HTTP 400 before anything is created.
company_nameNoCompany name as the operator knows it. Takes precedence over the email domain when grouping prospects into companies; omit to group by domain.
custom_fieldsNoCustom fields as a flat map of name -> value (strings, numbers or booleans; nested objects are rejected). Used by {{snippets}} in email templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (which only declare non-read-only, non-idempotent, non-destructive), the description discloses email validation, duplicate rejection with HTTP 409, and the atomic all-or-nothing behaviour when campaign_id is unknown (HTTP 400, nothing created). It also documents the returned fields, which the annotations cannot express.

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?

Three sentences, front-loaded with the core action and requirements, with failure modes and return values following in a logical order. Slightly dense in the final sentence with the company_id parenthetical, but nothing is wasted.

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 7-parameter mutation tool with no output schema, the description covers the required input, the optional enrolment side effect, error conditions, and the shape of the response. An agent can call this correctly without consulting anything else.

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 already 100%, so the baseline is 3; the description still adds meaning by explaining that company_name takes precedence over the email domain for company grouping and that company_id comes back null for public mail providers. That is genuine semantics beyond the schema, though most other fields are restated rather than enriched.

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 ('Add a prospect ... to the workspace') and defines the resource inline ('a person to email'), so it is clearly distinct from campaign or mailbox creation. It does not explicitly contrast itself with related siblings such as enrol_prospects or update_prospect, which keeps it 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 Guidelines3/5

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

Usage context is implied rather than stated: this is the creation path, and campaign_id is the shortcut for create-plus-enrol. There is no explicit 'use this instead of X when Y', and no mention of when an agent should prefer enrol_prospects or update_prospect instead.

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.