Skip to main content
Glama

solana_token_delegates

Use when: which token delegates on this Solana wallet should I revoke? Check a Solana wallet's live SPL and Token-2022 token delegates (Solana's version of token approvals, the way drainers move funds): every token account with a delegate, how much it can move, UNLIMITED flag, whether the delegate is a plain wallet, a known program (Jupiter, Raydium, Orca...) or unknown. Also flags held Token-2022 tokens with a permanent delegate and foreign close authorities. Risk level and how to revoke. Costs $0.005.

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

Input Schema

NameRequiredDescriptionDefault
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the data source (live on-chain state), the categorization logic (plain wallet vs known program vs unknown), extra flagging (permanent delegate, foreign close authorities), a risk level, revoke guidance, and an explicit $0.005 cost. It does not state freshness/latency or whether revocation is executed or merely described.

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 decision trigger and dense with useful detail; every clause is substantive. The mid-sentence parentheticals ('Solana's version of token approvals, the way drainers move funds') and the trailing cost note make it read as one long run-on rather than cleanly structured bullets.

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 one-parameter, no-annotation, no-output-schema tool, the description enumerates the return contents, the risk framing, the remediation angle, and the price — enough to call it confidently. The only real gap is whether 'how to revoke' means returned instructions or an executable action.

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 0% — the single 'address' parameter has only a base58 pattern and no description — so the description must compensate. It does, by making clear the input is a Solana wallet address whose token accounts are enumerated, implying the owner address rather than an individual token account; it could be more explicit about that distinction.

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 verb and resource: checking a Solana wallet's live SPL and Token-2022 token delegates, with enumerated outputs (delegate, allowance, UNLIMITED flag, delegate type, permanent delegate, close authority). The 'Use when:' phrasing frames it as the answer to a concrete agent question, and the chain/token-standard scoping separates it from the many EVM *_token_approvals siblings.

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?

The leading 'Use when: which token delegates on this Solana wallet should I revoke?' gives a clear triggering scenario, and the mention of drainers signals the risk-audit context. No sibling is named as an alternative or exclusion, so the agent must infer that solana_address_lookup / solana_token_check cover different questions.

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