Skip to main content
Glama

get_benchmark

Read-onlyIdempotent

One ETFIQ benchmark in full: its rule, the funds and weights in force (SEC series ids, fees and dates) and every statistic by window (returns, volatility, drawdown, Sharpe, turnover, factor loadings, fee), each with dates and basis; basis marks pre-freeze numbers hypothetical. Takes an id such as etfiq-strategic-60. Cannot be customised.

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": {
      "id": "<id>"
    },
    "name": "get_benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA benchmark id, such as etfiq-strategic-60. list_benchmarks names every one.

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. Changed27 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 / benchmark / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / benchmark / properties
      Removed value: -{
      -  "band": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "bandName": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "basisNote": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "credit": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "creditUrl": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "family": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "familyName": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "frozen": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "holdings": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "id": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "measures": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "name": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "period": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "point": {
      -    "type": [
      -      "null",
      -      "number"
      -    ]
      -  },
      -  "pointUnit": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "reference": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "rule": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "ruleVersion": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "statistics": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "stress": {
      -    "additionalProperties": true,
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "trackedFrom": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "verdict": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / benchmark / type
      Removed value: -[
      -  "null",
      -  "object"
      -]
    • removedOutput schema / properties / data / properties / credit / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / licence / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / note / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / notes / items
      Removed value: -{
      -  "type": [
      -    "null",
      -    "string"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / notes / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / terms / items
      Removed value: -{
      -  "type": [
      -    "null",
      -    "string"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / terms / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / units / additionalProperties
      Removed value: -true
    • removedOutput schema / properties / data / properties / units / properties
      Removed value: -{
      -  "coefficients": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "dollars": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "percent": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "percent a year": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "percentage points": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "point": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "ratio": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  },
      -  "weight": {
      -    "type": [
      -      "null",
      -      "string"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / properties / units / 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. Changed2 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"A benchmark id, such as etfiq-strategic-60. list_benchmarks names every one."
    • 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": {
      +        "benchmark": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "band": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "bandName": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "basisNote": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "credit": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "creditUrl": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "family": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "familyName": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "frozen": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "holdings": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "id": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "measures": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "period": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "point": {
      +              "type": [
      +                "null",
      +                "number"
      +              ]
      +            },
      +            "pointUnit": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "reference": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "rule": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "ruleVersion": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "statistics": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "stress": {
      +              "additionalProperties": true,
      +              "type": [
      +                "null",
      +                "object"
      +              ]
      +            },
      +            "trackedFrom": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "url": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "verdict": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "credit": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "licence": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "note": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "notes": {
      +          "items": {
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "terms": {
      +          "items": {
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "units": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "coefficients": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "dollars": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "percent": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "percent a year": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "percentage points": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "point": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "ratio": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "weight": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "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.8/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed-world read, so the bar is lower, yet the description still adds real context: what the payload contains, that every statistic carries dates and basis, and that basis flags pre-freeze numbers as hypothetical. That caveat is the kind of interpretive detail annotations cannot express and directly affects how an agent should present 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?

The content is front-loaded with the scope ('One ETFIQ benchmark in full') before the enumeration, and the trailing 'Takes an id...' / 'Cannot be customised' sentences are short and purposeful. The middle sentence is long and parenthetical-dense, which costs a little readability but no sentence is filler.

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?

For a single-parameter read tool with a full schema, complete annotations and an output schema, the description covers contents, the basis/hypothetical caveat, and an id example. Return values need not be spelled out further because the output schema exists. Nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100%, and the description repeats the same example id (etfiq-strategic-60) that the schema already provides, adding no syntax, format or constraint information beyond it. Baseline 3 is appropriate when the schema carries the parameter burden.

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 verb-resource pair and enumerates the payload in unusual detail: the rule, the funds and weights in force with SEC series ids, fees and dates, plus every statistic by window. That lets an agent know exactly what comes back. It stops short of naming a sibling it is not, so the boundary with etf_benchmark or compare_to_benchmark 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 Guidelines3/5

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

Usage is only implied. 'Cannot be customised' gestures at a when-not-to-use condition, but no alternative tool is named and no prerequisite or context for fetching a single benchmark is stated. An agent must infer that list_benchmarks is the discovery path and that customised views live elsewhere.

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