Skip to main content
Glama

etf_risk_check

Read-onlyIdempotent

For 1 to 20 tickers, what to check before reading funds one by one. Per fund: net assets, fee, top-10 weight, premium or discount, spread, IQ Liquidity Score, leverage gap, closed status. For the list: pairwise overlap, largest fund, issuer and category shares, leveraged share. Pass weights (percent) for weighted shares. Each flag names its number, date and line crossed; none is advice. Unpublished numbers are listed, never read as zero.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tickers": "<tickers>"
    },
    "name": "etf_risk_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickersYesFund tickers, 1 to 20.
weightsNoOptional ticker to percent, for weighted shares.

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. Changed34 schema fields changed
    • 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_by_source / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / as_of_by_source / properties
      Removed value: -{
      -  "overlap": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "promise": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "screener": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "trading_cost": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / as_of_by_source / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / concentration / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / concentration / properties
      Removed value: -{
      -  "herfindahl_by_fund": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "largest_fund": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "leveraged_share_pct": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "share_by_category_pct": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "share_by_issuer_pct": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "weights": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / concentration / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / funds / items
      Removed value: -{
      -  "additionalProperties": true,
      -  "type": [
      -    "null",
      -    "object"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / funds / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / funds_checked / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / data / properties / funds_not_published / items
      Removed value: -{}
    • removedOutput schema / properties / data / properties / funds_not_published / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / lines / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / lines / properties
      Removed value: -{
      -  "leverage_gap_pct_points": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "leveraged_share_pct_above": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "liquidity_score_below": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "one_fund_weight_pct_above": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "one_issuer_share_pct_above": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "overlap_pct_at_or_above": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "premium_days_over_1_pct": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "premium_p95_pct": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "roc_pct_at_or_above": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "spread_median_pct_above": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "top10_weight_pct_at_or_above": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / lines / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / note / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / overlap / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / overlap / properties
      Removed value: -{
      -  "highest": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "note": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "pairs": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": [
      -        "null",
      -        "object"
      -      ]
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  },
      -  "pairs_not_published": {
      -    "items": {},
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  },
      -  "pairs_published": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / overlap / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / portfolio_flags / items
      Removed value: -{
      -  "additionalProperties": true,
      -  "type": [
      -    "null",
      -    "object"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / portfolio_flags / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • 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. Changed2 schema fields changed
    • addedInput schema / required
      Added value: +[
      +  "tickers"
      +]
    • 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_by_source": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "overlap": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "promise": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "screener": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "trading_cost": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "concentration": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "herfindahl_by_fund": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "largest_fund": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "leveraged_share_pct": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "share_by_category_pct": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "share_by_issuer_pct": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "weights": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "funds": {
      +          "items": {
      +            "additionalProperties": true,
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "funds_checked": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        },
      +        "funds_not_published": {
      +          "items": {},
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "lines": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "leverage_gap_pct_points": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "leveraged_share_pct_above": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "liquidity_score_below": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "one_fund_weight_pct_above": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "one_issuer_share_pct_above": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "overlap_pct_at_or_above": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "premium_days_over_1_pct": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "premium_p95_pct": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "roc_pct_at_or_above": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "spread_median_pct_above": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "top10_weight_pct_at_or_above": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "note": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "overlap": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "highest": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "note": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "pairs": {
      +              "items": {
      +                "additionalProperties": true,
      +                "type": [
      +                  "null",
      +                  "object"
      +                ]
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "pairs_not_published": {
      +              "items": {},
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "pairs_published": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "portfolio_flags": {
      +          "items": {
      +            "additionalProperties": true,
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        }
      +      },
      +      "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

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description adds substantive behavior: flags carry the number, date and line crossed, are explicitly not advice, and unpublished figures are listed rather than coerced to zero — a critical semantic guard against misreading missing data. It does not cover rate limits or result-size behavior, keeping it short of a 5.

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?

Front-loaded with scope, then per-fund outputs, then list-level outputs, then flag semantics and the missing-data rule — a logical ordering with no filler sentences. The telegraphic, comma-separated noun lists trade some readability for density.

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

Completeness5/5

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

An output schema exists, so return-value explanation is unnecessary; the description instead supplies scope, output categories, weighting behavior, flag provenance and the missing-data convention. The nested weights object and the scoring/flagging behavior are adequately covered for an agent to call this correctly on the first attempt.

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 both parameters are already documented, and the description's only added note ('Pass weights (percent) for weighted shares') largely restates the schema text for the weights object. The percent-unit reminder is mildly useful but does not materially extend meaning beyond the structured fields.

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

Purpose4/5

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

The description names the resource (1-20 fund tickers) and enumerates precisely what is produced per fund (net assets, fee, top-10 weight, premium/discount, spread, IQ Liquidity Score, leverage gap, closed status) and per list (pairwise overlap, largest fund, issuer/category shares, leveraged share). The opening phrasing 'what to check before reading funds one by one' is slightly indirect rather than a clean verb+resource statement, and it doesn't explicitly differentiate from siblings like etf_profile or etf_overlap, which the same fields clearly cover.

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

Usage Guidelines3/5

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

'Before reading funds one by one' implies the batch pre-screening context, which is a real usage hint. However, no sibling alternative is named and no when-not condition is given, so an agent must infer whether to use this instead of etf_profile (single fund) or etf_overlap (pairwise overlap, which this tool also reports).

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