create_saved_filter

Creates a saved transaction filter with name and filterCriteria (accounts, categories, tags, date range, etc.). If filterCriteria is omitted or empty, MCP infe…

Use with an AI agent

Export this page as Markdown or bundle it with a task for your agent.

Try a task
Preview the prompt that will be copied

Access

  • Effect: Creates data
  • Required scope: write (the mcp scope also grants it)

Example request

The JSON-RPC message an MCP client sends to call this tool. Your client builds it for you; this is for reference and debugging in a tool such as MCP Inspector.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_saved_filter",
    "arguments": {
      "name": "Emergency fund"
    }
  }
}

Example IDs refer to fictional demo data. Replace them with IDs from your account before calling the real server.

Description

Creates a saved transaction filter with name and filterCriteria (accounts, categories, tags, date range, etc.). If filterCriteria is omitted or empty, MCP infers type and categories from the name; supplied criteria are used as given.

Input parameters

NameTypeRequiredDescription
descriptionstringNo
filterCriteriaobjectNo
namestringYes
Full input schema (JSON Schema)
json
{
  "additionalProperties": false,
  "properties": {
    "description": {
      "type": [
        "null",
        "string"
      ]
    },
    "filterCriteria": {
      "additionalProperties": false,
      "properties": {
        "accountIds": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "amount": {
          "additionalProperties": false,
          "properties": {
            "maxValue": {
              "type": [
                "null",
                "number"
              ]
            },
            "minValue": {
              "type": [
                "null",
                "number"
              ]
            }
          },
          "type": [
            "null",
            "object"
          ]
        },
        "categories": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "currencies": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "endDate": {
          "type": [
            "null",
            "string"
          ]
        },
        "hasAttachment": {
          "type": [
            "null",
            "boolean"
          ]
        },
        "hasDescription": {
          "type": [
            "null",
            "boolean"
          ]
        },
        "hasRepeat": {
          "type": [
            "null",
            "boolean"
          ]
        },
        "hasSplit": {
          "type": [
            "null",
            "boolean"
          ]
        },
        "includeUntagged": {
          "type": [
            "null",
            "boolean"
          ]
        },
        "sortBy": {
          "type": [
            "null",
            "string"
          ]
        },
        "startDate": {
          "type": [
            "null",
            "string"
          ]
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        },
        "type": {
          "type": [
            "null",
            "string"
          ]
        },
        "vendors": {
          "items": {
            "type": "string"
          },
          "type": [
            "null",
            "array"
          ]
        }
      },
      "type": [
        "null",
        "object"
      ]
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}