Skip to main content
Glama

onchain_activity

Recent on-chain activity. scope=chain returns the transaction COUNT over the last hours (closed hours, max 720h = 30 days; for longer windows use chain_stats window=series) plus the latest transactions. scope=address returns the latest transactions of the address, with no time window. For a token/contract use scope=token (transfers). scope=primary covers P/X-chain and DEFAULTS to P-Chain when no blockchainId is given (so "last N P-chain transactions" just works). A value with no scope defaults to address.

Input Schema

NameRequiredDescriptionDefault
feedNotransactions (default) | transfers | erc20Transfers | nftTransfers
hoursNoLook-back window in hours for the scope=chain count (default: 2, max 720)
scopeYesaddress | chain | token | contract | primary
valueNoAddress/contract/token (omit for scope=chain)
chainIdNoEVM chain ID (default: C-Chain for the network)
networkNoNetwork (default: mainnet)
pageSizeNoMax rows (default: 25)
toTimestampNoUnix end time (scope=primary)
blockchainIdNoBlockchain ID for scope=primary (default: P-Chain)
fromTimestampNoUnix start time (scope=primary)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / hours / description
      Previous value: -"Look-back window in hours for EVM transaction feeds (default: 2 for chain, max 720)"New value: +"Look-back window in hours for the scope=chain count (default: 2, max 720)"
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden; it discloses what each scope returns, the 720h/30-day max window, and the default behaviors. It does not mention pagination limits or rate-limit/permission characteristics, but pageSize is in the schema.

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 resource and then walks scope by scope with no filler; it is dense as a single block but every sentence carries routing or default information. Slightly long for a single paragraph, but nothing is redundant.

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 10-parameter multi-mode tool with no output schema, the description covers scope selection, defaults, and the returned shape per mode. Missing only secondary details such as pagination behavior and error/empty-result handling, which the schema partially covers via pageSize.

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 already 100%, so the baseline is 3; the description adds semantics the schema does not, notably the scope routing rules, the default-to-address behavior, the primary/P-Chain default, and the hours cap of 720h.

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?

States a specific resource (on-chain activity) and decomposes it into explicit modes with concrete outputs per mode: scope=chain returns a transaction count plus latest transactions, scope=address returns latest transactions, scope=token returns transfers. It also names the sibling (chain_stats window=series) it is not for longer windows, so an agent can distinguish it from a related tool.

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?

Gives explicit when-to-use routing per scope, an explicit when-not (windows beyond 720h should use chain_stats window=series), and resolves defaults ('A value with no scope defaults to address', primary defaults to P-Chain). The agent has no ambiguity about which scope to pick.

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.