Skip to main content
Glama

list_channels

Retrieve all connected sales channels from ShipBob's fulfillment platform to manage inventory and orders across multiple marketplaces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that lists all sales channels by calling shipbobClient.getChannels() and returns formatted JSON or error.
    handler: async () => { try { const channels = await shipbobClient.getChannels(); return { content: [{ type: "text", text: JSON.stringify(channels, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Error listing channels: ${error.message}` }], isError: true }; } }
  • src/server.js:57-57 (registration)
    Registers the channelTools array (including list_channels tool) to the MCP server.
    registerTools(channelTools);
  • Input schema for list_channels tool (empty, no parameters required).
    schema: {},
  • Tool definition and export as part of channelTools array, which is later registered.
    { name: "list_channels", description: "List all sales channels in your ShipBob account", schema: {}, handler: async () => { try { const channels = await shipbobClient.getChannels(); return { content: [{ type: "text", text: JSON.stringify(channels, null, 2) }] }; } catch (error) { return { content: [{ type: "text", text: `Error listing channels: ${error.message}` }], isError: true }; } } },

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/mattcoatsworth/shipbob-mcp-server'

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