Skip to main content
Glama
chartmogul

ChartMogul MCP Server

Official
by chartmogul

create_customer

Add new customers to ChartMogul by providing required identifiers and optional details like contact information, location data, and custom attributes for subscription analytics.

Instructions

[ChartMogul API] Create new customer. REQUIRED: data_source_uuid (string: ds_ prefix), external_id (string: your system ID). OPTIONAL: company (string), country (string: ISO-3166 alpha-2 like "US", "DE"), state (string: US states ISO-3166-2 like "US-CA", "US-NY"), city (string), zip (string), lead_created_at (string: ISO 8601 datetime in past), free_trial_started_at (string: ISO 8601), attributes (object with tags array and custom array), owner (string: email), primary_contact (object with first_name, last_name, email, title, phone, linked_in, twitter, notes), website_url (string). Custom attributes format: array of objects with type/key/value/source. Custom types: String (max 255 chars), Integer, Decimal, Timestamp (ISO 8601), Boolean. All fields in data dict. Returns created customer object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the creation action, specifies required and optional fields, details data formats (e.g., ISO standards, custom attribute types), and mentions the return value ('Returns created customer object'). However, it lacks information on error handling, rate limits, or authentication requirements, which are important for a mutation tool.

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?

The description is front-loaded with the core purpose and required parameters, followed by optional details in a structured list. It is appropriately sized for the complexity, but could be slightly more concise by avoiding repetition (e.g., 'All fields in data dict' is somewhat redundant given the context). Overall, it efficiently conveys necessary information without excessive verbosity.

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?

Given the tool's complexity (mutation with many nested fields), no annotations, and no output schema, the description is largely complete. It covers purpose, parameters, data formats, and return value. However, it lacks details on error cases, side effects, or integration context (e.g., how this fits with sibling tools), leaving minor gaps in full contextual understanding.

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

Parameters5/5

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

The schema description coverage is 0%, with only one generic parameter ('data'), so the description fully compensates by detailing all nested fields within 'data'. It clearly distinguishes required vs. optional parameters, provides format specifications (e.g., 'ISO-3166 alpha-2', 'ISO 8601'), and explains custom attribute structures, adding substantial meaning beyond the minimal input schema.

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 description clearly states the specific action ('Create new customer') and resource ('customer'), distinguishing it from sibling tools like 'update_customer' or 'list_customers'. It explicitly identifies the API context ('ChartMogul API'), making the purpose unambiguous and distinct.

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 by specifying required and optional parameters, but does not explicitly state when to use this tool versus alternatives like 'update_customer' or 'create_contact'. No guidance is provided on prerequisites or exclusions, leaving usage context partially inferred rather than clearly defined.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chartmogul/chartmogul-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server