Skip to main content
Glama

etfiq_as_of

Read-onlyIdempotent

What ETFIQ published on a given date, from its frozen dated archive. Use for a past date, or when a number must stay true after it is quoted: every other tool answers about today. Takes YYYY-MM-DD; covers the pieces written that night, not any per-fund number on any day.

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": {
      "date": "<date>"
    },
    "name": "etfiq_as_of"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesA day as YYYY-MM-DD, such as 2026-09-18. A day with no published archive is refused.

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. Changed23 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 / characters / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / data / properties / content / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / date / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / note / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • removedOutput schema / properties / data / properties / pieces / items
      Removed value: -{
      -  "additionalProperties": true,
      -  "type": [
      -    "null",
      -    "object"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / pieces / type
      Removed value: -[
      -  "array",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / pieces_published / type
      Removed value: -[
      -  "null",
      -  "number"
      -]
    • removedOutput schema / properties / data / properties / truncated / type
      Removed value: -[
      -  "boolean",
      -  "null"
      -]
    • removedOutput schema / properties / data / properties / url / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • 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. Changed3 schema fields changed
    • addedInput schema / properties / date / description
      Added value: +"A day as YYYY-MM-DD, such as 2026-09-18. A day with no published archive is refused."
    • addedInput schema / properties / date / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • 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": {
      +        "characters": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        },
      +        "content": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "date": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "note": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "pieces": {
      +          "items": {
      +            "additionalProperties": true,
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        },
      +        "pieces_published": {
      +          "type": [
      +            "null",
      +            "number"
      +          ]
      +        },
      +        "truncated": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "url": {
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        }
      +      },
      +      "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. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely new behavior: results come from an immutable frozen archive, and the scope is the publication of that night rather than per-fund figures — both material to trusting the value. The refusal case is present but duplicated from the schema rather than expanded.

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

Conciseness5/5

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

Three short sentences, front-loaded with the identity of the tool before the routing rule and the scope caveat. Every clause carries information; there is no filler or restatement of the title.

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?

With one fully documented parameter, four annotations, and an output schema covering return shape, the description needs only to explain routing and scope — which it does. Nothing an agent needs to invoke this correctly is missing.

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% and the pattern already fixes the YYYY-MM-DD format, so "Takes YYYY-MM-DD" is redundant. What the description does add is what the date actually selects — the pieces published that night, not any per-fund number on any day — which the schema's "a day as YYYY-MM-DD" does not convey.

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

Purpose5/5

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

"What ETFIQ published on a given date, from its frozen dated archive" gives a specific verb-plus-resource and an explicit qualifier (frozen dated archive) that separates it from the live-data siblings: "every other tool answers about today." An agent can route between this and etfiq_list or etf_news_today without opening a schema.

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

Usage Guidelines5/5

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

It states both when to use it ("Use for a past date, or when a number must stay true after it is quoted") and what rule selects the alternative ("every other tool answers about today"). It also states a scope exclusion — it covers the pieces written that night, not per-fund numbers on any day — so mis-selection should be rare.

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