Skip to main content
Glama

info_platformmetrics_get_chain_activity

Read-onlyIdempotent

Chain-level activity metrics by metric_group. staking: Ethereum daily staking_metrics.series. l2: L2 ops daily l2_metrics.series (tps_avg_1d, active_addresses_1d, blob_cost_usd_1d, sequencer_revenue_usd_1d, stage_label; no tx_count/l1_fee_usd) from dwd_external_l2_metrics_daily_di; granularity day only. btc_l2: BTC L2 protocol ecosystem btc_l2_metrics.items (project_key, project_name, category, main_chain, tvl_usd, protocol_count, tx_count_1d, active_addresses_1d, bridge_volume_24h_usd, source_refs; whitelist: stacks|rootstock|merlin|bob|bitlayer). Read-only public research data. No account access, no order placement or fund transfers. Not investment advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain; staking defaults empty to ethereum; l2 supports base/arbitrum/optimism/linea/zksync_era/blast or empty for all chains; btc_l2 defaults empty to btc (required).
limitNol2 only: max series rows returned; 0 means no extra cap beyond date window.
projectNobtc_l2 only: filter by project_key; empty returns whitelist (stacks|rootstock|merlin|bob|bitlayer). Non-whitelist project returns data_status=not_in_scope.
end_dateNoYYYY-MM-DD; default latest part_date in index.
lookbackNo30d|90d|1y when start_date empty; default 30d.
start_dateNoYYYY-MM-DD; default derived from lookback or 30d.
granularityNol2 only: day (default); hour or minute returns unsupported_granularity.
metric_groupYesMetric group: staking (Ethereum beacon daily) | l2 (L2 ops daily from growthepie+L2Beat) | btc_l2 (BTC L2 protocol ecosystem tvl/protocol_count/tx_count_1d/active_addresses_1d/bridge_volume_24h_usd from dwd_external_btc_protocol_di).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
countYes
totalYes
end_dateYes
lookbackNo
l2_metricsNo
start_dateYes
data_statusNo
duration_msYes
granularityNo
metric_groupYes
btc_l2_metricsNo
end_date_cappedNo
range_truncatedNo
staking_metricsNo
normalized_chainYes
start_date_cappedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed40 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedOutput schema / additionalProperties
      Added value: +false
    • addedOutput schema / properties / btc_l2_metrics / additionalProperties
      Added value: +false
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / additionalProperties
      Added value: +false
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / active_addresses_1d / type
      Previous value: -"integer"New value: +[
      +  "null",
      +  "integer"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / bridge_volume_24h_usd / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / missing_optional_fields / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / missing_required_fields / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / protocol_count / type
      Previous value: -"integer"New value: +[
      +  "null",
      +  "integer"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / source_refs / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / tvl_usd / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / tx_count_1d / type
      Previous value: -"integer"New value: +[
      +  "null",
      +  "integer"
      +]
    • changedOutput schema / properties / btc_l2_metrics / properties / items / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / btc_l2_metrics / type
      Previous value: -"object"New value: +[
      +  "null",
      +  "object"
      +]
    • addedOutput schema / properties / l2_metrics / additionalProperties
      Added value: +false
    • addedOutput schema / properties / l2_metrics / properties / series / items / additionalProperties
      Added value: +false
    • changedOutput schema / properties / l2_metrics / properties / series / items / properties / active_addresses_1d / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / l2_metrics / properties / series / items / properties / blob_cost_usd_1d / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / l2_metrics / properties / series / items / properties / missing_fields / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / l2_metrics / properties / series / items / properties / sequencer_revenue_usd_1d / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / l2_metrics / properties / series / items / properties / tps_avg_1d / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / l2_metrics / properties / series / items / properties / tvl_usd / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / l2_metrics / properties / series / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / l2_metrics / type
      Previous value: -"object"New value: +[
      +  "null",
      +  "object"
      +]
    • addedOutput schema / properties / staking_metrics / additionalProperties
      Added value: +false
    • addedOutput schema / properties / staking_metrics / properties / series / items / additionalProperties
      Added value: +false
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / entry_queue_eth / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / entry_queue_validator_estimate / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / entry_wait_days / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / eth_supply / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / exit_queue_eth / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / exit_queue_validator_estimate / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / exit_wait_days / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / missing_fields / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / staking_apr_7d / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / staking_rate / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / total_value_staked_eth / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / items / properties / validator_active / type
      Previous value: -"number"New value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / staking_metrics / properties / series / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / staking_metrics / type
      Previous value: -"object"New value: +[
      +  "null",
      +  "object"
      +]
  2. Changed15 schema fields changed
    • changedInput schema / properties / metric_group / description
      Previous value: -"Metric group: staking (Ethereum beacon daily) | l2 (L2 ops daily from growthepie+L2Beat) | btc_l2 (BTC L2 bridge volume daily)."New value: +"Metric group: staking (Ethereum beacon daily) | l2 (L2 ops daily from growthepie+L2Beat) | btc_l2 (BTC L2 protocol ecosystem tvl/protocol_count/tx_count_1d/active_addresses_1d/bridge_volume_24h_usd from dwd_external_btc_protocol_di)."
    • changedInput schema / properties / project / description
      Previous value: -"btc_l2 only: filter by project slug; empty returns whitelist. Non-whitelist project returns data_status=not_in_scope."New value: +"btc_l2 only: filter by project_key; empty returns whitelist (stacks|rootstock|merlin|bob|bitlayer). Non-whitelist project returns data_status=not_in_scope."
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / active_addresses_1d / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / main_chain
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / missing_fields
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / missing_optional_fields
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / missing_required_fields
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / project
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / project_key
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / project_name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / protocol_count
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / source_refs
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / btc_l2_metrics / properties / items / items / properties / tx_count_1d
      Added value: +{
      +  "type": "integer"
      +}
    • changedOutput schema / properties / btc_l2_metrics / properties / items / items / required
      Previous value: -[
      -  "date",
      -  "project",
      -  "data_status"
      -]New value: +[
      +  "date",
      +  "project_key",
      +  "project_name",
      +  "category",
      +  "main_chain",
      +  "data_status"
      +]
  3. Changed4 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"Chain; staking defaults empty to ethereum; l2 supports base/arbitrum/optimism/linea/zksync_era/blast or empty for all chains."New value: +"Chain; staking defaults empty to ethereum; l2 supports base/arbitrum/optimism/linea/zksync_era/blast or empty for all chains; btc_l2 defaults empty to btc (required)."
    • changedInput schema / properties / metric_group / description
      Previous value: -"Metric group: staking (Ethereum beacon daily) or l2 (L2 ops daily from growthepie+L2Beat)."New value: +"Metric group: staking (Ethereum beacon daily) | l2 (L2 ops daily from growthepie+L2Beat) | btc_l2 (BTC L2 bridge volume daily)."
    • addedInput schema / properties / project
      Added value: +{
      +  "description": "btc_l2 only: filter by project slug; empty returns whitelist. Non-whitelist project returns data_status=not_in_scope.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / btc_l2_metrics
      Added value: +{
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "properties": {
      +          "active_addresses_1d": {
      +            "type": "number"
      +          },
      +          "bridge_volume_24h_usd": {
      +            "type": "number"
      +          },
      +          "data_status": {
      +            "type": "string"
      +          },
      +          "date": {
      +            "type": "string"
      +          },
      +          "missing_fields": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "project": {
      +            "type": "string"
      +          },
      +          "tvl_usd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "date",
      +          "project",
      +          "data_status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  4. Changed6 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"Chain; staking defaults empty to ethereum; only eth/ethereum supported."New value: +"Chain; staking defaults empty to ethereum; l2 supports base/arbitrum/optimism/linea/zksync_era/blast or empty for all chains."
    • addedInput schema / properties / granularity
      Added value: +{
      +  "description": "l2 only: day (default); hour or minute returns unsupported_granularity.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "l2 only: max series rows returned; 0 means no extra cap beyond date window.",
      +  "type": "integer"
      +}
    • changedInput schema / properties / metric_group / description
      Previous value: -"Metric group; staking queries Ethereum beacon staking daily series."New value: +"Metric group: staking (Ethereum beacon daily) or l2 (L2 ops daily from growthepie+L2Beat)."
    • addedOutput schema / properties / granularity
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / l2_metrics
      Added value: +{
      +  "properties": {
      +    "series": {
      +      "items": {
      +        "properties": {
      +          "active_addresses_1d": {
      +            "type": "number"
      +          },
      +          "blob_cost_usd_1d": {
      +            "type": "number"
      +          },
      +          "chain": {
      +            "type": "string"
      +          },
      +          "data_source": {
      +            "type": "string"
      +          },
      +          "data_status": {
      +            "type": "string"
      +          },
      +          "date": {
      +            "type": "string"
      +          },
      +          "missing_fields": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "sequencer_revenue_usd_1d": {
      +            "type": "number"
      +          },
      +          "stage_label": {
      +            "type": "string"
      +          },
      +          "tps_avg_1d": {
      +            "type": "number"
      +          },
      +          "tvl_usd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "date",
      +          "chain",
      +          "data_status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "series"
      +  ],
      +  "type": "object"
      +}
  5. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only/idempotent behavior, and the description reinforces this with 'read-only public research data' and 'no account access, no order placement or fund transfers.' It also documents edge-case responses like unsupported_granularity and not_in_scope, adding behavioral detail beyond the annotations.

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 description is information-dense and front-loaded with the core purpose, but it packs many details into a single run-on paragraph with semicolons. It could be organized into cleaner structure without losing content.

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?

Given the complex branching by metric_group, the description covers sources, fields, defaults, constraints, and special return statuses. With an output schema present, not detailing every response field is acceptable.

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

Parameters5/5

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

Every parameter is described in detail, including which metric_group it applies to, defaults for start/end/lookback/chain, and special response values. This adds significant meaning beyond the bare schema fields.

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?

Clearly states the tool returns chain-level activity metrics by metric_group and enumerates the three metric groups with their data sources. This distinguishes it from sibling platform metrics tools, even without naming them explicitly.

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

Usage Guidelines2/5

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

No explicit guidance on when to choose this tool over sibling tools such as platform history or defi overview. It describes per-metric-group behavior but not selection criteria relative to alternatives.

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.