Skip to main content
Glama

Create a customer

create_customer

Creates a customer record with name, email, locale, country, metadata, and external ID for payment and subscription workflows; test keys only.

Instructions

Create a customer.

Test keys only: refused with a live key.

Input Schema

NameRequiredDescriptionDefault
nameNo
emailNo
localeNo
countryNoISO 3166-1 alpha-2.
metadataNoYour own key–value pairs (≤ 50 keys, values ≤ 500 characters). On an update they are merged in; an empty value removes its key.
external_idNoYour own id for this buyer (unique).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.3/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so mutation semantics are covered. The description adds genuinely new information — the tool refuses live keys — but omits important behaviors such as duplicate-email handling and the consequence of non-idempotency (retries creating duplicate customers).

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

Conciseness3/5

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

It is short and front-loaded, and the test-key sentence earns its place. But the brevity reads as under-specification rather than discipline — the body omits essentials for a six-parameter creation tool with a nested metadata object.

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

Completeness2/5

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

With six params, a nested metadata object, no output schema and no required fields, the description should explain what the created customer response contains, what happens on duplicate email/external_id, and the retry hazard implied by idempotentHint=false. It covers none of this, leaving the caller to guess on a non-idempotent write in an open-world system.

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

Parameters2/5

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

Schema description coverage is only 50%: country, metadata and external_id are documented in the schema, but name, email and locale carry no explanation anywhere. The description compensates for none of this, so an agent gets no guidance on formats, constraints, or that external_id uniqueness can cause rejections.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is effectively a restatement of the tool title 'Create a customer' with no additional specificity about scope, resulting object, or differentiation from the many sibling create_* tools (create_subscription, create_invoice, etc.). An agent learns nothing about the tool beyond its name.

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

Usage Guidelines2/5

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

'Test keys only: refused with a live key' is an environment constraint rather than usage guidance — it does not say when to create a customer versus calling retrieve_customer/list_customers, nor what prerequisites exist (all six params are optional, and no required field is named). The one useful constraint is stated, but no alternatives or exclusions are given.

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