Skip to main content
Glama
Solana MCP Server

Solana MCP Server

by dynamolabs

get_recent_trades

Retrieve recent swap and trade transactions for a Solana wallet by address, with an optional limit, to review wallet trading activity.

Instructions

Get recent swap/trade transactions for a Solana wallet

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": "get_recent_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of trades to return (default: 20)
addressYesSolana wallet address (base58)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers very little: it does not state whether the call requires authentication, whether results are ordered newest-first, what the truncation behavior is, or whether the wallet must have prior activity. Only the read nature is implied by "Get", leaving most operational traits undisclosed.

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?

A single front-loaded sentence with no filler, which is the right shape for a simple two-parameter read tool. It is efficient but borders on under-specification rather than being genuinely well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (2 params, no nesting, no output schema) yet the description omits what a caller most needs: what "recent" means and what the returned records contain. With no annotations and no output schema to fall back on, the description should carry more of this load.

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 coverage is 100%, with both address (base58 Solana wallet) and limit (default 20) fully documented in the schema itself. The description adds no meaning beyond that — it doesn't explain how limit interacts with "recent" or whether ordering is by time — so the baseline 3 applies.

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?

The description pairs a clear verb ("Get") with a specific resource ("recent swap/trade transactions") scoped to a Solana wallet, so an agent can tell this is a wallet-level trade history lookup rather than a balance or quote call. It stops short of naming any sibling it differs from, such as get_whale_transactions, so differentiation is inferred from the resource noun alone.

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?

There is no statement of when to use this tool versus alternatives, no prerequisites, and no exclusion criteria. The word "recent" is left undefined with no time window or ordering rule, which is exactly the kind of guidance an agent would need to choose this over get_whale_transactions or get_new_pairs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.