Skip to main content
Glama

compare_to_benchmark

Read-onlyIdempotent

Sets an allocation ETF, or a build_portfolio portfolio, beside an ETFIQ benchmark. With ticker (AOR): returns by window, difference, risk and cost against the benchmark for its look-through stock-share band. With portfolio (the answer's compare.arguments.portfolio): the benchmark's published windows, stock-share and fee differences, and portfolio_returns (hypothetical, same months). The default is the nearest strategic benchmark (choice.line says why; also gives the next-nearest when over 5 points away); pass benchmark to name another. An unknown name is refused (unknown-benchmark). Estimates nothing unpublished.

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": "compare_to_benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerNoAn allocation ETF, such as AOR.
benchmarkNoOptional, with portfolio: a benchmark the reader names, by id (etfiq-strategic-80) or name. Omit for the default.
portfolioNoThe arguments build_portfolio took: its answer's compare.arguments.portfolio.

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. Changed63 schema fields changed
    • changedInput schema / properties / benchmark / description
      Previous value: -"Optional, with portfolio: an ETFIQ benchmark the reader names, by id (etfiq-strategic-80) or name (Strategic 80). Leave it out for the default rule."New value: +"Optional, with portfolio: a benchmark the reader names, by id (etfiq-strategic-80) or name. Omit for the default."
    • 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 / absent / items
      Removed value: -{}
    • removedOutput schema / properties / data / properties / absent / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / also / type
      Removed value: -"null"
    • removedOutput schema / properties / data / properties / as_of / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / attribution / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / attribution / properties
      Removed value: -{
      -  "dates": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "from": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "licence": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "source": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "text": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "to": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "vendor": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / attribution / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / band / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / band / properties
      Removed value: -{
      -  "categoriesAsOf": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "id": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "name": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "stockShare": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / band / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / benchmark / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / benchmark / properties
      Removed value: -{
      -  "family": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "frozen": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "holdings": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "id": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "name": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "period": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "point": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "point_unit": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "rebalance": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "rule": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "tracked_from": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "weighted_fee": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / benchmark / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / choice / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / choice / properties
      Removed value: -{
      -  "asked": {
      -    "type": "null"
      -  },
      -  "by": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "default": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "gap": {
      -    "type": "null"
      -  },
      -  "line": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / choice / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / chosen / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / costs / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / costs / properties
      Removed value: -{
      -  "fundExpenseRatio": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "holdingsWeightedExpenseRatio": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / costs / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / credit / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / differences / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / differences / properties
      Removed value: -{
      -  "stock_share_points": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "weighted_fee_points": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / differences / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / name / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / no_longer_updated / type
      Removed value: -"null"
    • removedOutput schema / properties / data / properties / not_advice / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / note / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / portfolio / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / portfolio / properties
      Removed value: -{
      -  "holdings": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": [
      -        "null",
      -        "object"
      -      ]
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  },
      -  "inputs": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "rule": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "rule_version": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "selection_date": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "stock_share": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "weighted_fee_pct": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "weighted_fee_usd_per_10000": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / portfolio / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / portfolio_returns / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / portfolio_returns / properties
      Removed value: -{
      -  "basis": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "benchmark": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "check": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "common": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "rule": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "rule_version": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "series": {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": [
      -        "null",
      -        "object"
      -      ]
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "survivorship": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "unit": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "windows": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / portfolio_returns / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / published / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / published / properties
      Removed value: -{
      -  "page": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / published / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / risk / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / risk / properties
      Removed value: -{
      -  "benchmarkBasis": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "benchmarkMaxDrawdown": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "benchmarkMaxDrawdownTrough": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "benchmarkVolatility": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "beta": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "correlation": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "downCapture": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "from": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "fundMaxDrawdown": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "fundMaxDrawdownTrough": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "fundVolatility": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "months": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "to": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "trackingError": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "upCapture": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "window": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / risk / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / series_id / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / ticker / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / units / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / units / properties
      Removed value: -{
      -  "band.stockShare": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "calendarYears": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "coefficients": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "commonPeriod": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "costs": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "dollars": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "percent": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "percent a year": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "percentage points": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "percentiles": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "point": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "ratio": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "risk": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "riskByWindow": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "weight": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "windows": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / units / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / windows / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / windows / properties
      Removed value: -{
      -  "10Y": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "1Y": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "3Y": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "5Y": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "ITD": {
      -    "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 / 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. Changed1 schema field changed
    • 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": {
      +        "absent": {
      +          "items": {},
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "also": {
      +          "type": "null"
      +        },
      +        "as_of": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "attribution": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "dates": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "from": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "licence": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "source": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "text": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "to": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "vendor": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "band": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "categoriesAsOf": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "id": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "stockShare": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "benchmark": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "family": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "frozen": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "holdings": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "id": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "period": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "point": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "point_unit": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "rebalance": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "rule": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "tracked_from": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "url": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "weighted_fee": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "choice": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "asked": {
      +              "type": "null"
      +            },
      +            "by": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "default": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "gap": {
      +              "type": "null"
      +            },
      +            "line": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "chosen": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "costs": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "fundExpenseRatio": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "holdingsWeightedExpenseRatio": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "credit": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "differences": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "stock_share_points": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "weighted_fee_points": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "name": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "no_longer_updated": {
      +          "type": "null"
      +        },
      +        "not_advice": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "note": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "portfolio": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "holdings": {
      +              "items": {
      +                "additionalProperties": true,
      +                "type": [
      +                  "null",
      +                  "object"
      +                ]
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "inputs": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "rule": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "rule_version": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "selection_date": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "stock_share": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "weighted_fee_pct": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "weighted_fee_usd_per_10000": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "portfolio_returns": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "basis": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "benchmark": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "check": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "common": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "rule": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "rule_version": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "series": {
      +              "items": {
      +                "additionalProperties": true,
      +                "type": [
      +                  "null",
      +                  "object"
      +                ]
      +              },
      +              "type": [
      +                "array",
      +                "null"
      +              ]
      +            },
      +            "source": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "survivorship": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "unit": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "windows": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "published": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "page": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "url": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "risk": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "benchmarkBasis": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "benchmarkMaxDrawdown": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "benchmarkMaxDrawdownTrough": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "benchmarkVolatility": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "beta": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "correlation": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "downCapture": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "from": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "fundMaxDrawdown": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "fundMaxDrawdownTrough": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "fundVolatility": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "months": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "to": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "trackingError": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "upCapture": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "window": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "series_id": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "ticker": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "units": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "band.stockShare": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "calendarYears": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "coefficients": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "commonPeriod": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "costs": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "dollars": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "percent": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "percent a year": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "percentage points": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "percentiles": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "point": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "ratio": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "risk": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "riskByWindow": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "weight": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "windows": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "windows": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "10Y": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "1Y": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "3Y": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "5Y": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "ITD": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "YTD": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        }
      +      },
      +      "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. Changed1 schema field changed
    • addedInput schema / properties / benchmark
      Added value: +{
      +  "description": "Optional, with portfolio: an ETFIQ benchmark the reader names, by id (etfiq-strategic-80) or name (Strategic 80). Leave it out for the default rule.",
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / properties / portfolio
      Added value: +{
      +  "description": "The arguments build_portfolio took: its answer's compare.arguments.portfolio.",
      +  "type": "object"
      +}
    • addedInput schema / properties / ticker / description
      Added value: +"An allocation ETF, such as AOR."
    • removedInput schema / required
      Removed value: -[
      -  "ticker"
      -]
  5. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations it discloses real behavior: the default is the nearest strategic benchmark, choice.line explains the pick and surfaces a next-nearest alternative when more than 5 points away, and an unknown benchmark name is rejected with an 'unknown-benchmark' outcome. It also sets expectations that estimates are never fabricated and that portfolio_returns are hypothetical over the same months — exactly the caveats an agent needs before presenting results.

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 the core action and then branch-by-branch per input mode, with no filler sentences. It is dense and jargon-heavy ('look-through stock-share band', 'compare.arguments.portfolio', 'choice.line'), which costs some readability but each clause carries information.

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 3-parameter tool with a nested portfolio object and an output schema, the description covers both modes, the default-resolution rule, the error case, and the no-extrapolation guarantee. The remaining gap is mode conflict and what 'window' refers to, which an agent must infer.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds meaning by explaining why benchmark should normally be omitted (nearest strategic default), how names resolve (id such as etfiq-strategic-80, or name), and that an unresolvable name is refused. It does not clarify the interaction or precedence when both ticker and portfolio are present.

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 a specific operation — placing an allocation ETF or a built portfolio beside an ETFIQ benchmark — and splits it into two clearly labelled input modes (ticker, portfolio), each with its own return content. It never names a sibling tool (etf_benchmark, get_benchmark, list_benchmarks), so the boundary with those is left implicit.

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?

It states which input selects which behavior ('With ticker (AOR)...', 'With portfolio...') and when to supply the optional benchmark versus relying on the default. It does not say when to use this tool instead of the benchmark-listing or benchmark-detail siblings, and it is silent on what happens if both ticker and portfolio are supplied.

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