Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

get_inventory_part

Retrieve detailed information about a specific inventory part using its ID to access stock details, specifications, and availability data within Shopmonkey's shop management system.

Instructions

Get detailed information about a single inventory part by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe inventory part ID

Implementation Reference

  • The handler implementation for get_inventory_part, which performs a GET request to the Shopmonkey API for a specific part ID.
    async get_inventory_part(args) {
      if (!args.id) return { content: [{ type: 'text', text: 'Error: id is required' }], isError: true };
      const data = await shopmonkeyRequest<InventoryPart>('GET', `/inventory/part/${sanitizePathParam(String(args.id))}`);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • The MCP tool definition (schema) for get_inventory_part.
    {
      name: 'get_inventory_part',
      description: 'Get detailed information about a single inventory part by its ID.',
      inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'The inventory part ID' } }, required: ['id'] },
    },
Behavior2/5

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

No annotations provided, so description carries full burden. States 'Get' implying read-only safety, but lacks disclosure of error behavior (e.g., 404 if ID not found), return structure, or what 'detailed information' encompasses.

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 11-word sentence with no redundancy. Front-loaded with action verb, every word earns its place.

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 low-complexity single-parameter tool, though absence of output schema and annotations leaves gaps around return value structure and error states that a complete description should ideally address.

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 coverage (parameter 'id' fully documented), baseline is appropriately met. Description reinforces the ID parameter with 'by its ID', but adds no syntax specifics, format constraints, or examples beyond the schema.

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?

Clear verb (Get), resource (inventory part), and scope (single item by ID). The phrase 'by its ID' distinguishes this from the sibling 'list_inventory_parts', though it does not explicitly reference sibling tools.

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 provided on when to use this tool versus siblings like 'search_parts' or 'list_inventory_parts'. Agents must infer that ID-based lookup is the intended use case.

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