Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

list_vehicles

Retrieve vehicle records from Shopmonkey's automotive shop management system. Filter results by customer ID or location to access specific vehicle information.

Instructions

List vehicles from Shopmonkey. Filter by customer ID or location.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdNoFilter vehicles by customer 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 function 'list_vehicles' that executes the logic to fetch vehicles from the Shopmonkey API.
    async list_vehicles(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.limit !== undefined) params.limit = String(args.limit);
      if (args.page !== undefined) params.page = String(args.page);
      applyDefaultLocation(params);
    
      const data = await shopmonkeyRequest<Vehicle[]>('GET', '/vehicle', undefined, params);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The MCP tool definition for 'list_vehicles', including its name, description, and input schema.
    export const definitions: Tool[] = [
      {
        name: 'list_vehicles',
        description: 'List vehicles from Shopmonkey. Filter by customer ID or location.',
        inputSchema: {
          type: 'object' as const,
          properties: {
            customerId: { type: 'string', description: 'Filter vehicles by customer 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)' },
          },
        },
      },
Behavior3/5

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

Identifies external system (Shopmonkey) and filtering capability. With no annotations, carries burden for safety disclosure but omits read-only status, pagination behavior details, and default return behavior when filters are omitted.

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?

Two efficient sentences with zero redundancy. Front-loaded action verb and clear scope.

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 list operation with well-documented parameters. However, lacks output description (no output schema exists) and omits pagination behavior explanation despite schema including limit/page parameters.

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%, establishing baseline 3. Description mentions the two primary filter parameters (customer ID, location) but adds no semantic depth beyond schema descriptions (e.g., parameter formats, relationships to other tools).

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 (List) + resource (vehicles) + source system (Shopmonkey), distinguishing it from sibling get_vehicle. Could explicitly clarify 'multiple' vs 'single' retrieval.

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?

Mentions filtering by customer ID or location, implying use cases. However, fails to explicitly contrast with get_vehicle (single retrieval) or state when to use one over the other.

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