Skip to main content
Glama
hlebtkachenko

POHODA MCP Server

pohoda_list_movements

Retrieve and filter movement records from POHODA accounting software by date range. This read-only export returns JSON data for inventory tracking and analysis.

Instructions

List movement records from POHODA. Read-only export. Supports filtering by date range. Returns JSON array of movement records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateFromNoFilter from date (DD.MM.YYYY or YYYY-MM-DD)
dateTillNoFilter till date (DD.MM.YYYY or YYYY-MM-DD)

Implementation Reference

  • The implementation of the `pohoda_list_movements` tool, including its registration, parameter schema, and the handler function that builds the XML request, calls the POHODA client, and processes the response.
    server.tool(
      "pohoda_list_movements",
      "List movement records from POHODA. Read-only export. Supports filtering by date range. Returns JSON array of movement records.",
      {
        dateFrom: z.string().optional().describe("Filter from date (DD.MM.YYYY or YYYY-MM-DD)"),
        dateTill: z.string().optional().describe("Filter till date (DD.MM.YYYY or YYYY-MM-DD)"),
      },
      async (params) => {
        try {
          const xml = buildExportRequest(
            { ico: client.ico },
            "lst:listMovementRequest",
            NS.lst,
            "lst:requestMovement",
            (req) => applyFilter(req, params)
          );
          const response = await client.sendXml(xml);
          const parsed = parseResponse(response);
          const data = extractListData(parsed);
          return jsonResult("Movements", data, Array.isArray(data) ? data.length : 0);
        } catch (e) {
          return err((e as Error).message);
        }
      }
    );

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/hlebtkachenko/pohoda-mcp'

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