Skip to main content
Glama

Smaregi MCP by usefulapi

Create customer

smaregi_create_customer

WRITE: create a customer (member). customerCode, firstName and lastName are required; the contract's own required-column settings may demand more. Not idempotent: calling twice with a different code creates two customers. POST /customers.

Input Schema

NameRequiredDescriptionDefault
sexNoSex: 0 = unknown, 1 = male, 2 = female.
noteNoNote.
rankNoMember rank.
note2NoSecond note.
statusNoMember status: 0 = active, 1 = suspended, 2 = card lost, 3 = withdrawn, 4 = merged.
addressNoAddress.
storeIdNoStore id the customer belongs to.
lastKanaNoLast name, kana.
lastNameYesLast name.
postCodeNoPostal code.
birthDateNoBirth date, yyyy-mm-dd.
entryDateNoEnrollment (membership start) date, yyyy-mm-dd; some contracts require it when creating a customer.
faxNumberNoFax number.
firstKanaNoFirst name, kana.
firstNameYesFirst name.
customerNoNoCustomer / member number.
companyNameNoCompany name.
mailAddressNoE-mail address.
phoneNumberNoPhone number.
customerCodeYesCustomer code (unique per contract).
mobileNumberNoMobile number.
departmentNameNoDepartment name.
mailReceiveFlagNoWhether the customer accepts guidance mail: 0 = refuse, 1 = allow (default).
pointExpireDateNoPoint expiry date, yyyy-mm-dd; some contracts require it when creating a customer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, but the description adds the concrete consequence of non-idempotency: two calls with different codes create two customers. It also mentions the POST /customers endpoint and contract-specific required-column behavior. It does not describe permissions or response shape, but that is less critical given the annotations.

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?

The description is front-loaded with WRITE, states the required fields, gives the non-idempotency consequence, and ends with the endpoint. Every sentence adds distinct operational value with no filler.

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 24-parameter creation tool with no output schema, the definition covers the essentials: operation type, required parameters, non-idempotency, contract-dependent requirements, and endpoint. It stops short of describing the expected response or authentication prerequisites, but the annotations and schema fill most remaining gaps.

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 description coverage is 100%, so most parameter meaning is already documented. The description adds useful semantics beyond the schema by naming the three required parameters and warning that contract-level required-column settings may demand additional fields beyond the schema's required list.

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 states a specific verb and resource -- create a customer (member) -- and distinguishes it from sibling operations such as update_customer and list_customers. An agent can immediately tell that this is the creation path, not a read or update path.

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?

It gives clear usage context: it is a WRITE operation, customerCode/firstName/lastName are required, and the contract may require additional columns. It also warns that calling twice with a different code creates two customers, which is important selection guidance. However, it does not explicitly state when to use update_customer 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.