Skip to main content
Glama

vaultix_get_order

Retrieve order details by ID to view transaction information, including expanded item data when needed.

Instructions

Retrieve an order by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesOrder ID
expandNoExpand items

Implementation Reference

  • Tool registration in the exported tools array, including name, description, and input schema for validation.
    { name: 'vaultix_get_order', description: 'Retrieve an order by ID', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Order ID' }, expand: { type: 'string', enum: ['items'], description: 'Expand items' }, }, required: ['id'], }, },
  • Handler implementation within the handleToolCall switch statement. Retrieves the order by making a GET request to `/orders/{id}` with optional expand query parameter using the VaultixClient.
    case 'vaultix_get_order': return client.get(`/orders/${args.id}`, { expand: args.expand })
  • src/index.ts:44-46 (registration)
    MCP server registration of all tools via ListToolsRequestHandler, providing the imported tools array which includes vaultix_get_order.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools } })
  • Tool call dispatcher in MCP server that invokes the specific handleToolCall function for the requested tool name.
    try { const result = await handleToolCall(client, name, args || {}) return {

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/VautlixDevelopment/mcpVaultix'

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