Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

list_services

Retrieve and filter service records from Shopmonkey work orders using order ID, location, or pagination parameters to manage automotive repair shop operations.

Instructions

List services on work orders in Shopmonkey.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderIdNoFilter services by work order ID
locationIdNoFilter by location ID. Defaults to SHOPMONKEY_LOCATION_ID env var if set.
limitNoMaximum number of results to return (default: 25)
pageNoPage number for pagination (default: 1)

Implementation Reference

  • The handler implementation for the list_services tool, which prepares request parameters and fetches data from the Shopmonkey API.
    async list_services(args) {
      const params: Record<string, string> = {};
      if (args.orderId !== undefined) params.orderId = String(args.orderId);
      if (args.locationId !== undefined) params.locationId = String(args.locationId);
      if (args.limit !== undefined) params.limit = String(args.limit);
      if (args.page !== undefined) params.page = String(args.page);
      applyDefaultLocation(params);
    
      const data = await shopmonkeyRequest<Service[]>('GET', '/service', undefined, params);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The tool definition and input schema for list_services.
    {
      name: 'list_services',
      description: 'List services on work orders in Shopmonkey.',
      inputSchema: {
        type: 'object' as const,
        properties: {
          orderId: { type: 'string', description: 'Filter services by work order ID' },
          locationId: { type: 'string', description: 'Filter by location ID. Defaults to SHOPMONKEY_LOCATION_ID env var if set.' },
          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?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It fails to state that this is a read-only/safe operation, does not describe what happens when filters are omitted (likely returns all accessible services), and provides no information about the return format or pagination behavior despite the presence of limit/page parameters.

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 single sentence is appropriately sized and front-loaded with the core action, containing no redundant words. However, brevity here comes at the cost of necessary behavioral and contextual details.

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 lack of annotations, no output schema, and the potential confusion with canned services, the description is insufficient. It fails to describe return values, safety characteristics, or the relationship between services and work orders that would help an agent invoke the tool correctly.

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?

With 100% schema description coverage, the schema adequately documents all four parameters (orderId, locationId, limit, page). The description adds no semantic meaning beyond the schema, which warrants the baseline score of 3 for high-coverage schemas.

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?

The description uses a specific verb ('List') and resource ('services'), and scopes it to 'work orders in Shopmonkey' which distinguishes it from the sibling 'list_canned_services'. However, it misses the opportunity to explicitly clarify the difference between actual work order services vs. canned service templates.

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 provides no guidance on when to use this tool versus alternatives (e.g., 'get_canned_service' for templates or 'get_order' for order details), nor does it mention that all parameters are optional or suggest when filtering by orderId is appropriate.

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