Skip to main content
Glama

etf_scorecard

Read-onlyIdempotent

The risk and return scorecard for one ETF against its own ETFIQ benchmark, or with versus, two ETFs side by side: total, annualised and price return, volatility, drawdown, Sharpe, Sortino, Calmar, beta, R2, capture, tracking error and alpha with t-stat and 95% range, plus window and return count. alpha_test.significant is true only when |t| is at least 2 and the range excludes 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": {
      "ticker": "<ticker>"
    },
    "name": "etf_scorecard"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesOne fund's ticker, such as JEPI.
versusNoOptional: a second fund, for the pair scorecard.

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. Changed43 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 / a / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / as_of / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / b / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / benchmark / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / benchmark / properties
      Removed value: -{
      -  "basisHere": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "basisOnPage": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "kind": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "name": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "ticker": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "tier": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / benchmark / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / cite_as / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / credit / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / kind / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / measures / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / measures / properties
      Removed value: -{
      -  "annualised": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "calmar": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "downsideDeviation": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "excess": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "maxDrawdown": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "price": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "sharpe": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "sortino": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "total": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "volatility": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / measures / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / name / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / not_advice / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / page / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / relative / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / relative / properties
      Removed value: -{
      -  "JEPI": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "SEPI": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "SPY": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "TQQQ": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "VOO": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / relative / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / risk_free / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / risk_free / properties
      Removed value: -{
      -  "days": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "perWeek": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "rate": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "series": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "source": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / risk_free / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / tax / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / tax / properties
      Removed value: -{
      -  "estimate": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "final": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / tax / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / ticker / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / units / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / window / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / window / properties
      Removed value: -{
      -  "firstReturn": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "from": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "short": {
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "to": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "weekEnding": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "weeklyReturns": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "years": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / window / 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": {
      +        "a": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "as_of": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "b": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "benchmark": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "basisHere": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "basisOnPage": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "kind": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "ticker": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "tier": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "cite_as": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "credit": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "kind": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "measures": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "annualised": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "calmar": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "downsideDeviation": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "excess": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "maxDrawdown": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "price": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "sharpe": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "sortino": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "total": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "volatility": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "name": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "not_advice": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "page": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "relative": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "JEPI": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "SEPI": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "SPY": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "TQQQ": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "VOO": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "risk_free": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "days": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "perWeek": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "rate": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "series": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "source": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "url": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "tax": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "estimate": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "final": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "ticker": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "units": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "window": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "firstReturn": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "from": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "short": {
      +              "type": [
      +                "boolean",
      +                "null"
      +              ]
      +            },
      +            "to": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "weekEnding": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "weeklyReturns": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "years": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            }
      +          },
      +          "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. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, closed-world, non-destructive operation, so the safety profile is covered. The description adds useful semantics for `alpha_test.significant` (|t| >= 2 and a range excluding zero), which is real value beyond the annotations. It says nothing about data window defaults, latency, or whether a missing benchmark causes an error.

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?

Two sentences, front-loaded with the purpose before the metric inventory. The long metric list is dense but each item is a distinct returned field, so it earns its space; the alpha-significance rule is placed last as a caveat, which reads well.

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?

An output schema exists, so return values needn't be explained, and the description still flags the one non-obvious field (`alpha_test.significant`). For a 2-parameter read-only tool, the only real omission is routing guidance against the many sibling comparison tools.

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% and both parameters are documented there, including `versus` as an optional second fund. The description restates the pair-scorecard behavior for `versus` but adds no format, constraint, or validation detail beyond the schema. Baseline 3 applies.

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 concrete artifact ('risk and return scorecard for one ETF') and enumerates the exact metrics returned, so the resource is unmistakable. It also states the two modes (single fund vs. its ETFIQ benchmark, or a pair via `versus`). It stops short of differentiating itself from nearby siblings such as etf_risk_check, etf_compare, or compare_to_benchmark.

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?

The two operating modes are described, which implicitly tells the agent when to pass `versus`, but there is no explicit guidance on when to pick this tool over etf_compare, etf_risk_check, or etf_benchmark. No exclusions or prerequisites are stated.

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