Skip to main content
Glama

Add a contact

create_contact

Adds one contact to a product by email (or fills in an existing contact with that address). Marketing consent stays unknown; recording a real opt-in is a separate action requiring its source. Suppressed addresses are not added.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
tagsNoTag names.
emailYesEmail address.
productIdYesProduct id from list_products.
attributesNoCustom fields that already exist in Settings → Fields and events (unknown names are ignored), plus country and company.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), but the description adds real behavioral value beyond them: consent remains unknown, suppressed addresses are rejected, and an existing contact with the same address is filled in rather than duplicated. It does not mention permissions or what the call returns, but for an annotated mutation tool this is solid disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, zero filler, with the core create/upsert behavior front-loaded before the consent and suppression caveats.

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?

For a mutation tool with no output schema and a nested attributes object, the description covers the behavioral edge cases an agent most needs (consent state, suppression, upsert). Missing only return-value expectations and any permission requirements, which keeps it short of full completeness.

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 80% (4 of 5 properties documented, only 'name' bare), so the schema already carries most parameter meaning. The description adds only indirect parameter insight — that no consent parameter exists here and that opt-in needs a separate action — without clarifying any parameter's format or constraints.

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 ('Adds one contact to a product by email') and immediately distinguishes its behavior from a plain create by noting the upsert case ('or fills in an existing contact with that address'), which separates it from update_contact and search_contacts in the sibling list.

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 operational context and implicit exclusions: suppressed addresses are not added, and opt-in recording 'is a separate action requiring its source' (pointing away from set_contact_consent). It stops short of explicitly naming the alternative tools or stating when a caller should prefer update_contact over this tool.

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