Skip to main content
Glama

rr_list_items

List inventory items with filtering options to manage stock levels, identify items needing review, and support purchase order decisions for e-commerce sellers.

Instructions

List inventory items

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vendor_idNo
searchNo
needs_reviewNo
limitNo
offsetNo

Implementation Reference

  • The CallToolRequestSchema handler genericly dispatches tool calls, including 'rr_list_items', to the `callApi` helper.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      const { name, arguments: args } = request.params;
      try {
        const result = await callApi(name, (args as Record<string, unknown>) || {});
        return {
          content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
        };
      } catch (error) {
        const message = error instanceof Error ? error.message : String(error);
        return {
          content: [{ type: 'text', text: `Error: ${message}` }],
          isError: true,
        };
      }
    });
  • Definition and input schema for the 'rr_list_items' tool.
    { name: 'rr_list_items', description: 'List inventory items', inputSchema: { type: 'object' as const, properties: { vendor_id: { type: 'string' }, search: { type: 'string' }, needs_review: { type: 'boolean' }, limit: { type: 'number' }, offset: { type: 'number' } } } },

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/ReplenishRadar/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server