Skip to main content
Glama

Yield.xyz AgentKit

Get Action History

actions_get_all
Read-onlyIdempotent

List past and pending actions for a wallet address. Filter by status, intent, type, or yieldId. Use this to answer "show me my pending actions", "what did I do recently?", or to find actions waiting for approval.

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": {
      "address": "<address>"
    },
    "name": "actions_get_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by action type e.g. "STAKE", "UNSTAKE", "CLAIM_REWARDS".
limitNoMax results (1-100, default 20).
intentNoFilter by intent: "enter", "exit", or "manage".
offsetNoPagination offset.
addressYesWallet address to query actions for.
networkNoFilter by network e.g. "base", "ethereum".
yieldIdNoFilter by yield ID e.g. "base-usdc-aave-v3-lending".
statusesNoFilter by one or more action statuses. Valid values: "CREATED" (submitted, not yet sent on-chain), "PROCESSING" (in-flight on-chain), "WAITING_FOR_NEXT" (multi-step action awaiting next tx), "SUCCESS" (confirmed), "FAILED" (reverted or errored), "CANCELED" (user-cancelled), "STALE" (timed out). Pass multiple to get all pending e.g. ["CREATED", "PROCESSING"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "STAKE",
      -  "UNSTAKE",
      -  "WITHDRAW_REQUEST",
      -  "INSTANT_WITHDRAW",
      -  "CLAIM_REWARDS",
      -  "AUTO_SWEEP_UNSTAKE_REWARDS",
      -  "AUTO_SWEEP_WITHDRAW_REWARDS",
      -  "RESTAKE_REWARDS",
      -  "WITHDRAW",
      -  "WITHDRAW_ALL",
      -  "RESTAKE",
      -  "CLAIM_UNSTAKED",
      -  "UNLOCK_LOCKED",
      -  "STAKE_LOCKED",
      -  "VOTE",
      -  "REVOKE",
      -  "VOTE_LOCKED",
      -  "REVOTE",
      -  "REBOND",
      -  "MIGRATE",
      -  "VERIFY_WITHDRAW_CREDENTIALS",
      -  "DELEGATE",
      -  "MERGE",
      -  "CANCEL_PENDING"
      -]New value: +[
      +  "STAKE",
      +  "UNSTAKE",
      +  "WITHDRAW_REQUEST",
      +  "INSTANT_WITHDRAW",
      +  "CLAIM_REWARDS",
      +  "AUTO_SWEEP_UNSTAKE_REWARDS",
      +  "AUTO_SWEEP_WITHDRAW_REWARDS",
      +  "RESTAKE_REWARDS",
      +  "WITHDRAW",
      +  "WITHDRAW_ALL",
      +  "RESTAKE",
      +  "CLAIM_UNSTAKED",
      +  "REFUND_REQUEST",
      +  "UNLOCK_LOCKED",
      +  "STAKE_LOCKED",
      +  "VOTE",
      +  "REVOKE",
      +  "VOTE_LOCKED",
      +  "REVOTE",
      +  "REBOND",
      +  "MIGRATE",
      +  "VERIFY_WITHDRAW_CREDENTIALS",
      +  "DELEGATE",
      +  "MERGE",
      +  "CANCEL_PENDING"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile needs no restating. The description adds that results span past and pending actions, which is useful framing, but says nothing about ordering, result shape, or how large histories are paginated beyond what the schema encodes.

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?

Two tight sentences: the core operation is front-loaded, followed by filter dimensions and concrete example queries. No redundant wording or restatement of the tool name.

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?

With 8 fully documented parameters, strong enum coverage, and no output schema, this read-only listing tool is nearly complete for correct invocation. The remaining gap is minor: nothing explains default ordering or how to page through long histories using limit and offset.

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%, including enum explanations for statuses and a hint to pass multiple statuses to capture pending items, so the schema carries the heavy lifting. The description only restates that filtering exists by status, intent, type and yieldId; it omits the network and address parameters and adds no combining or defaulting semantics.

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?

States a specific verb and resource ('List past and pending actions for a wallet address') and the past-plus-pending scope helps separate it from a single-action fetch. It does not name a sibling tool, so the differentiation with actions_get is implied rather than explicit.

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?

Gives concrete use cases ('show me my pending actions', 'what did I do recently?', finding actions waiting for approval) and enumerates the filter dimensions that select subsets. It stops short of stating when not to use it or pointing to alternatives such as actions_get for a single action.

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