Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

list_appointments

Retrieve and filter scheduled appointments from Shopmonkey's automotive shop management system by customer, location, date range, or pagination parameters.

Instructions

List appointments from Shopmonkey. Supports filtering and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdNoFilter appointments by customer ID
locationIdNoFilter by location ID. Defaults to SHOPMONKEY_LOCATION_ID env var if set.
startDateNoFilter by start date (ISO 8601 format)
endDateNoFilter by end date (ISO 8601 format)
limitNoMaximum number of results to return (default: 25)
pageNoPage number for pagination (default: 1)

Implementation Reference

  • The actual implementation handler for list_appointments.
    async list_appointments(args) {
      const params: Record<string, string> = {};
      if (args.customerId !== undefined) params.customerId = String(args.customerId);
      if (args.locationId !== undefined) params.locationId = String(args.locationId);
      if (args.startDate !== undefined) params.startDate = String(args.startDate);
      if (args.endDate !== undefined) params.endDate = String(args.endDate);
      if (args.limit !== undefined) params.limit = String(args.limit);
      if (args.page !== undefined) params.page = String(args.page);
      applyDefaultLocation(params);
    
      const data = await shopmonkeyRequest<Appointment[]>('GET', '/appointment', undefined, params);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The tool schema definition for list_appointments.
    {
      name: 'list_appointments',
      description: 'List appointments from Shopmonkey. Supports filtering and pagination.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          customerId: { type: 'string', description: 'Filter appointments by customer ID' },
          locationId: { type: 'string', description: 'Filter by location ID. Defaults to SHOPMONKEY_LOCATION_ID env var if set.' },
          startDate: { type: 'string', description: 'Filter by start date (ISO 8601 format)' },
          endDate: { type: 'string', description: 'Filter by end date (ISO 8601 format)' },
          limit: { type: 'number', description: 'Maximum number of results to return (default: 25)' },
          page: { type: 'number', description: 'Page number for pagination (default: 1)' },
        },
      },
    },
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only vaguely references filtering and pagination without explaining what happens when no filters are applied, what the default result set looks like, authentication requirements, or rate limits.

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?

The two-sentence structure is appropriately front-loaded with the primary action. It wastes no words, though its brevity borders on under-specification rather than efficient conciseness given the lack of supporting annotations or output schema.

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?

Given the absence of annotations and an output schema, the description should provide richer context about return values, result structure, or default behaviors. As written, it is insufficiently complete for a 6-parameter tool with no other behavioral metadata.

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%, establishing a baseline of 3. The description mentions 'filtering and pagination' which conceptually maps to the parameters but adds no specific semantic details—such as date format specifics or that locationId defaults to an environment variable—that aren't already explicit in the schema definitions.

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

Purpose3/5

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

The description states the basic action (list) and resource (appointments) clearly, including the system context (Shopmonkey). However, it fails to differentiate from the sibling tool 'get_appointment', which presumably retrieves a single record by ID versus this tool's bulk listing capability.

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?

The description mentions 'Supports filtering and pagination', which loosely implies when filtering is needed, but provides no explicit guidance on when to use this tool versus 'get_appointment' or other alternatives. No prerequisites or exclusions are stated.

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