Skip to main content
Glama

Create customer

create_customer

Adds a customer

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_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoCompany.
emailYesThe email address is the unique identifier for the customer.
vatIDNoVAT number.
deniedNoDetermines if the customer can log in. Defaults to 0
houseNoNoHouse number. Some places have no house numbers.
memberOfNoName of customer group.
givenNameNoFirst name.
telephoneNoPhone.
familyNameNoLast name.
postalCodeNoZip code. Not all countries have zip codes.
addressRegionNoCounty / Province / State. Not required for most countries and often omitted to make the checkout form shorter.
knowsLanguageNoLanguage in ISO 639-1. Choose from: cs, da, de, el, en, es, fi, fr, it, ja, ko, nl, no, pl, pt, ro, ru, sv, tr, zh (traditional Chinese).
streetAddressNoStreet.
addressCountryNoCountry (ISO_3166-1).
addressLocalityNoCity / Town.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers none of it: nothing about required fields, what happens when the unique email already exists, permission requirements, or whether the customer is immediately active or denied.

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

Conciseness2/5

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

Three words contain no waste, but this is under-specification rather than conciseness. There is nothing to front-load because essentially no information is present.

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

Completeness1/5

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

A 15-parameter create/mutation operation with no annotations and no output schema needs the description to explain required fields, duplicate-email behavior, and side effects. "Adds a customer" leaves an agent unable to call it safely.

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 100% across all 15 properties, so the schema already explains email uniqueness, the denied default, ISO codes, and the language enum. The description adds no meaning beyond that, which is a baseline 3 given complete schema coverage.

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?

"Adds a customer" restates the tool name and title almost verbatim. It names a verb and resource but gives no scope, no notion of what a customer record contains, and nothing to separate it from create_product or create_page.

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?

No when-to-use guidance, no prerequisites, no mention of when to use update_customer or get_customer instead. An agent must infer that this is the creation path for new customers from the name alone.

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