Skip to main content
Glama

etf_flows

Read-onlyIdempotent

Fund flows as ETFIQ computes them: daily change in shares outstanding times NAV. With ticker: that fund's net flow over 1D, 1W, 1M, 3M, YTD and 1Y with dates, share of starting net assets and streak. Without: the biggest inflows and outflows among funds with daily data for window (default 1W), funds counted, each row's last day (through), and the latest weekly report. Filter by desk, category or issuer.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "etf_flows"
  }
}

Input Schema

NameRequiredDescriptionDefault
deskNoOptional: only funds on this desk, such as leverage. Ignored when ticker is given.
limitNoMost rows in each ranked list, 1 to 50. Default 10.
issuerNoOptional: only funds from this issuer. Ignored when ticker is given.
tickerNoOptional: one fund's flows, such as SPY. Omit for the ranked lists.
windowNoThe window the flows cover. Default 1W.
categoryNoOptional: only funds in this category. Ignored when ticker is given.

Output Schema

NameRequiredDescriptionDefault
dataYesThe answer; null on a refusal.
errorNoRefusal only: what is not published.
reasonNoRefusal only: why.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed47 schema fields changed
    • changedInput schema / properties / ticker / description
      Previous value: -"Optional: one fund's flows, such as SPY. Omit for the ranked inflows and outflows of every fund."New value: +"Optional: one fund's flows, such as SPY. Omit for the ranked lists."
    • removedOutput schema / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / as_of
      Removed value: -{
      -  "description": "Date of the newest number in the answer.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / citation
      Removed value: -{
      -  "description": "A ready citation string with the as-of date and the page address.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / data / additionalProperties
      Removed value: -true
    • changedOutput schema / properties / data / description
      Previous value: -"The answer, or null when ETFIQ refuses (then error and reason say why)."New value: +"The answer; null on a refusal."
    • removedOutput schema / properties / data / properties / as_of / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / counted / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / data / properties / coverage / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / data / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / filed_months / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / filed_months / properties
      Removed value: -{
      -  "Y1": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "Y3": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "Y5": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / filed_months / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / from / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / name / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / net_flow_usd / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / data / properties / note / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / page / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / streak / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / streak / properties
      Removed value: -{
      -  "days": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "flow_usd": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "from": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "side": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "to": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / streak / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / ticker / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / to / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / top_inflows / items
      Removed value: -{
      -  "additionalProperties": true,
      -  "type": [
      -    "null",
      -    "object"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / top_inflows / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / top_outflows / items
      Removed value: -{
      -  "additionalProperties": true,
      -  "type": [
      -    "null",
      -    "object"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / top_outflows / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / trading_days / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / data / properties / url / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / weekly_report / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / weekly_report / properties
      Removed value: -{
      -  "data": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "edition": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "from": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "funds_with_flow": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "inflows_count": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "lead": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "net_flow_usd": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "outflows_count": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "page": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "partial": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "standout": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "summary": {
      -    "items": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  },
      -  "to": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "top_inflows": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": [
      -        "null",
      -        "object"
      -      ]
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  },
      -  "top_outflows": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": [
      -        "null",
      -        "object"
      -      ]
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / weekly_report / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / window / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / windows / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / windows / properties
      Removed value: -{
      -  "1D": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "1M": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "1W": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "1Y": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "3M": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "YTD": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / windows / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / with_inflow / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / data / properties / with_outflow / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / disclaimer_required
      Removed value: -{
      -  "description": "True when the answer carries numbers that need the not-advice line.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / error / description
      Previous value: -"Present only on a refusal: what ETFIQ does not publish."New value: +"Refusal only: what is not published."
    • removedOutput schema / properties / lag_days
      Removed value: -{
      -  "description": "Days between as_of and today (America/New_York).",
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / provenance
      Removed value: -{
      -  "description": "Where each number came from: field, source, as_of, source_uri.",
      -  "items": {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • changedOutput schema / properties / reason / description
      Previous value: -"Present only on a refusal: why, and what to change."New value: +"Refusal only: why."
    • removedOutput schema / properties / source
      Removed value: -{
      -  "description": "Who publishes the data.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / tried
      Removed value: -{
      -  "description": "Present only on a refusal: what was looked up.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / warnings
      Removed value: -{
      -  "description": "Caveats to show with the answer.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "data",
      -  "provenance",
      -  "warnings",
      -  "disclaimer_required",
      -  "citation",
      -  "source"
      -]New value: +[
      +  "data"
      +]
  2. Changed7 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Optional: only funds in this category. Ignored when ticker is given."
    • addedInput schema / properties / desk / description
      Added value: +"Optional: only funds on this desk, such as leverage. Ignored when ticker is given."
    • addedInput schema / properties / issuer / description
      Added value: +"Optional: only funds from this issuer. Ignored when ticker is given."
    • addedInput schema / properties / limit / description
      Added value: +"Most rows in each ranked list, 1 to 50. Default 10."
    • addedInput schema / properties / ticker / description
      Added value: +"Optional: one fund's flows, such as SPY. Omit for the ranked inflows and outflows of every fund."
    • addedInput schema / properties / window / description
      Added value: +"The window the flows cover. Default 1W."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "as_of": {
      +      "description": "Date of the newest number in the answer.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "citation": {
      +      "description": "A ready citation string with the as-of date and the page address.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "data": {
      +      "additionalProperties": true,
      +      "description": "The answer, or null when ETFIQ refuses (then error and reason say why).",
      +      "properties": {
      +        "as_of": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "counted": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        },
      +        "coverage": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "data": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "filed_months": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "Y1": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "Y3": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "Y5": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "from": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "name": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "net_flow_usd": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        },
      +        "note": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "page": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "streak": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "days": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "flow_usd": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "from": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "side": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "to": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "ticker": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "to": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "top_inflows": {
      +          "items": {
      +            "additionalProperties": true,
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "top_outflows": {
      +          "items": {
      +            "additionalProperties": true,
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "trading_days": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        },
      +        "url": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "weekly_report": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "data": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "edition": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "from": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "funds_with_flow": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "inflows_count": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "lead": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "net_flow_usd": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "outflows_count": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "page": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "partial": {
      +              "type": [
      +                "boolean",
      +                "null"
      +              ]
      +            },
      +            "standout": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "summary": {
      +              "items": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "to": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "top_inflows": {
      +              "items": {
      +                "additionalProperties": true,
      +                "type": [
      +                  "null",
      +                  "object"
      +                ]
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "top_outflows": {
      +              "items": {
      +                "additionalProperties": true,
      +                "type": [
      +                  "null",
      +                  "object"
      +                ]
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "window": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "windows": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "1D": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "1M": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "1W": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "1Y": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "3M": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "YTD": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "with_inflow": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        },
      +        "with_outflow": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "disclaimer_required": {
      +      "description": "True when the answer carries numbers that need the not-advice line.",
      +      "type": "boolean"
      +    },
      +    "error": {
      +      "description": "Present only on a refusal: what ETFIQ does not publish.",
      +      "type": "string"
      +    },
      +    "lag_days": {
      +      "description": "Days between as_of and today (America/New_York).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "provenance": {
      +      "description": "Where each number came from: field, source, as_of, source_uri.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "reason": {
      +      "description": "Present only on a refusal: why, and what to change.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "Who publishes the data.",
      +      "type": "string"
      +    },
      +    "tried": {
      +      "description": "Present only on a refusal: what was looked up.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "warnings": {
      +      "description": "Caveats to show with the answer.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "provenance",
      +    "warnings",
      +    "disclaimer_required",
      +    "citation",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare read-only, idempotent, closed-world and non-destructive, so the safety profile is covered. The description goes beyond that by disclosing the flow methodology, the per-window output fields (dates, share of starting net assets, streak), and the important data caveat that ranked lists only include funds with daily data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The methodology definition is front-loaded, then the two modes are laid out in parallel colon-structured clauses with no filler sentences. It is dense but every clause carries information; the long run-on lists of output fields are the only mild readability cost.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter read-only analytics tool with an output schema, the description covers both call modes, defaults, filters, and the daily-data caveat well enough to invoke correctly. The trailing mention of 'the latest weekly report' as a returned element is left unexplained, a small residual gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so every parameter already carries a description including defaults and the 'ignored when ticker is given' behavior. The description's parameter-related content ('window (default 1W)', 'Filter by desk, category or issuer') largely restates the schema rather than adding new semantics, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (ETF fund flows) and, critically, defines the exact computation: daily change in shares outstanding times NAV. It then splits the tool's two distinct modes (single ticker vs ranked lists) with explicit verbs, so an agent knows precisely what it returns in each case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The with-ticker / without-ticker branching is spelled out as an explicit decision rule, including the default window (1W) and the filter parameters. What's missing is any exclusion or routing to related siblings (e.g., holders or movers), so the agent knows when this is the wrong tool only by inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources