Skip to main content
Glama
eliaskress

FlowCheck Financial API MCP Server

by eliaskress

flowcheck_get_cashflow

Analyze daily cash inflow and outflow patterns over time windows to identify financial trends and validate processes.

Instructions

Get daily inflow/outflow breakdown over a time window. Returns totals and per-day values. All amounts in cents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
windowNoTime window (default: 30d)

Implementation Reference

  • The handler function for 'flowcheck_get_cashflow' which calls the client's request method to get cash flow data.
    async ({ window }) => {
      const result = await client.request("GET", "/cashflow", {
        params: { window },
      });
      return { content: [{ type: "text" as const, text: result }] };
    },
  • The input schema definition for the 'flowcheck_get_cashflow' tool.
    inputSchema: z.object({
      window: z
        .enum(["7d", "30d", "90d"])
        .optional()
        .describe("Time window (default: 30d)"),
    }),
  • The registration of the 'flowcheck_get_cashflow' tool within the MCP server.
    server.registerTool(
      "flowcheck_get_cashflow",
      {
        title: "Get Cash Flow",
        description:
          "Get daily inflow/outflow breakdown over a time window. " +
          "Returns totals and per-day values. All amounts in cents.",
        inputSchema: z.object({
          window: z
            .enum(["7d", "30d", "90d"])
            .optional()
            .describe("Time window (default: 30d)"),
        }),
      },
      async ({ window }) => {
        const result = await client.request("GET", "/cashflow", {
          params: { window },
        });
        return { content: [{ type: "text" as const, text: result }] };
      },
    );

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/eliaskress/flow-check-financial-api-mcp-server'

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