Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

create_customer

Add new customers to Shopmonkey by entering their contact details and address information for shop management.

Instructions

Create a new customer in Shopmonkey.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstNameNoCustomer first name
lastNameNoCustomer last name
emailNoCustomer email address
phoneNoCustomer phone number
addressNoStreet address
cityNoCity
stateNoState
zipNoZIP code

Implementation Reference

  • The handler function that executes the POST request to create a customer.
    async create_customer(args) {
      const body = pickFields(args, ALLOWED_FIELDS);
      const data = await shopmonkeyRequest<Customer>('POST', '/customer', body);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • Definition and input schema for the create_customer tool.
    name: 'create_customer',
    description: 'Create a new customer in Shopmonkey.',
    inputSchema: {
      type: 'object' as const,
      properties: {
        firstName: { type: 'string', description: 'Customer first name' },
        lastName: { type: 'string', description: 'Customer last name' },
        email: { type: 'string', description: 'Customer email address' },
        phone: { type: 'string', description: 'Customer phone number' },
        address: { type: 'string', description: 'Street address' },
        city: { type: 'string', description: 'City' },
        state: { type: 'string', description: 'State' },
        zip: { type: 'string', description: 'ZIP code' },
      },
    },
Behavior2/5

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

No annotations provided, yet description offers minimal behavioral disclosure beyond 'Create'. Fails to specify idempotency behavior, duplicate handling (email uniqueness?), return values (ID vs full object), or side effects. Carries insufficient burden for a mutation tool without safety annotations.

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?

Extremely concise at six words. While efficient per-word, the single-sentence structure is insufficiently sized for the tool's complexity (8 parameters, no output schema, mutation operation). No wasted words, but content underweight for contextual needs.

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?

Critical gaps given no output schema and mutation nature: no description of success return value, no clarification on required fields (schema marks 0/8 as required, which requires explanation), no error conditions, and no behavioral context. Incomplete for an 8-parameter creation tool.

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%, with each of the 8 parameters (firstName, lastName, email, phone, address, city, state, zip) documented. The description adds no semantic meaning beyond schema, meeting baseline expectations when schema is comprehensive.

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

Purpose4/5

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

States specific verb 'Create', resource 'customer', and system 'Shopmonkey'. Distinguishes from sibling 'update_customer' and 'get_customer' by action type, but lacks scope details (e.g., whether duplicates are allowed) or differentiation guidance between create vs update operations.

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 guidance on when to use this versus 'update_customer' or prerequisites such as checking for existing customers. Does not address the unusual schema constraint that zero parameters are required, leaving ambiguity about minimum data needed to create a valid customer.

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/AbbottDevelopments/shopmonkey-mcp-server'

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