Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

get_customer

Retrieve detailed customer information by ID to access shop management data for work orders, vehicles, and inventory within the Shopmonkey system.

Instructions

Get detailed information about a single customer by their ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe customer ID

Implementation Reference

  • The handler function for get_customer, which fetches customer details from Shopmonkey using the provided ID.
    async get_customer(args) {
      if (!args.id) return { content: [{ type: 'text', text: 'Error: id is required' }], isError: true };
      const data = await shopmonkeyRequest<Customer>('GET', `/customer/${sanitizePathParam(String(args.id))}`);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The tool definition for get_customer, including its input schema.
    {
      name: 'get_customer',
      description: 'Get detailed information about a single customer by their ID.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          id: { type: 'string', description: 'The customer ID' },
        },
        required: ['id'],
      },
    },
Behavior3/5

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

With no annotations provided, 'Get' implies a safe read-only operation, but the description omits error handling, authorization requirements, and what constitutes 'detailed' information.

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?

Single sentence, front-loaded with action verb, no redundancy. Every word earns its place in defining scope and resource.

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

Completeness3/5

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

Adequate for a simple single-parameter getter, but given the lack of output schema and annotations, the description should ideally specify error behavior or the structure of the 'detailed information' returned.

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 coverage is 100% and the parameter is already well-described. The description mentions 'by their ID' which aligns with the schema but adds no additional semantic clarity beyond the schema definition.

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 action (Get), resource (customer), and scope (single by ID). The 'single' qualifier distinguishes it from the sibling list_customers tool, though it doesn't explicitly name the alternative.

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?

Implies usage context (when you have a specific ID) through 'by their ID', but lacks explicit guidance on when to prefer list_customers or error scenarios like 'customer not found'.

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