Skip to main content
Glama

ASPERN: counterparty checks for agents

Agents moving a tokenized stock, over a window

stock_agent_activity
Read-onlyIdempotent

How many AI agents moved a tokenized stock over a window you choose (default the last 24 hours): distinct agent addresses, transfers in and out, value at the issuer’s reference, by token and network. Ask by ticker (TSLA), company name (Tesla) or ISIN, or leave it empty for every stock. Free. Agents are the addresses we hold as ERC-8004 owners, ACP providers and clients, Olas task agents and x402 payees; issuer wallets are left out. Read as Transfer events on Base, Arbitrum, BNB Chain, Robinhood Chain and Ethereum; on Solana, balance changes between two surveys of agent addresses (not Transfer instructions); a Solana zero is not "no trades". A network where we list tokens but do not index activity (Monad) is 400 unsupported_network with networkStatus tokens_tracked_activity_not_indexed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stock_agent_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoA ticker, company name or ISIN; omit for every stock.
chainNoOne network: base, arbitrum, bnb, robinhood, ethereum and solana. solana counts balance changes between two surveys, not transfers. Any other is 400 unsupported_network; a network where we list tokens but do not index agent activity (Monad among them) says so in networkStatus.
hoursNoThe window in hours (default 24, up to 31 days).

Output Schema

NameRequiredDescriptionDefault
metaNoHow current this answer is and what it was read from: `freshness` and the ages behind it. Present on every answer from this server, whatever the tool.
saysYesThe answer in one sentence.
hoursYesThe window.
agentsYesDistinct agent addresses that moved it.
byTokenYesPer token and network.
companyNoThe company matched.
matchedYesWhether the question matched a stock.
coverageYesWhat is read and what is not.
valueUsdNoValue moved at reference.
warningsNoAnything the server wants a caller to know about THIS answer before acting on it. Empty is the normal case and is not a guarantee.
transfersYesTheir transfers.
solanaObservationsNoSolana only: balance changes between two surveys (count, surveyedThrough, uncoveredTailSeconds, zeroMeans), never Transfer instructions; null where Solana is not in scope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"One network: base, arbitrum, bnb or robinhood."New value: +"One network: base, arbitrum, bnb, robinhood, ethereum and solana. solana counts balance changes between two surveys, not transfers. Any other is 400 unsupported_network; a network where we list tokens but do not index agent activity (Monad among them) says so in networkStatus."
    • addedOutput schema / properties / solanaObservations
      Added value: +{
      +  "description": "Solana only: balance changes between two surveys (count, surveyedThrough, uncoveredTailSeconds, zeroMeans), never Transfer instructions; null where Solana is not in scope.",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive, and the description adds substantial behavioral context beyond that: the definition of which addresses count as agents, that issuer wallets are excluded, the per-chain data source (Transfer events on Base, Arbitrum, BNB Chain, Robinhood Chain, Ethereum), the different Solana methodology, and the caveat that a Solana zero does not mean no trades. It even discloses the exact error contract for unsupported networks.

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 core question and default window are front-loaded in the first clause, followed by the agent definition, sourcing and error behavior in a tight sequence. The prose is dense with parentheticals and semicolons, which costs some readability, but essentially every sentence carries information an agent needs.

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?

An output schema exists, so return values need no explanation in prose. The description covers what is counted, who counts as an agent, which chains and how each is measured, the default window, the all-stocks fallback and the unsupported-network failure mode, which is complete for a read-only aggregate query tool.

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%, so the meaning of q, chain and hours is already documented in the input schema, including the ticker/company/ISIN options, the up-to-31-days bound and the per-network caveats. The description restates most of this rather than adding new semantics, though the 'Solana zero is not no trades' warning reinforces interpretation of the chain parameter. Baseline 3 is appropriate.

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?

The description opens with a specific verb and resource: counting AI agents that moved a tokenized stock over a chosen window, with named metrics (distinct agent addresses, transfers in and out, value at issuer reference). It also implicitly separates itself from sibling tools like stock_agent_transfers by stressing the counting/aggregation over a window and by defining which addresses count as agents.

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

Usage Guidelines4/5

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

It states clearly how to query: by ticker, company name, ISIN, or leave empty for every stock, and gives the default window. It also flags when the tool will not work (Monad returns 400 unsupported_network). It does not name a sibling to use instead when the agent wants raw transfer-level data rather than aggregates, so it falls short of explicit when-not/alternative guidance.

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.