Skip to main content
Glama
buildwithgrove

Grove's MCP Server for Pocket Network

get_solana_signatures

Retrieve transaction signatures for any Solana address to access transaction history. Specify network and limit results for targeted blockchain data queries.

Instructions

Get transaction signatures for a Solana address (transaction history)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesSolana address
limitNoMaximum number of signatures to return (default: 10)
networkNoNetwork type (defaults to mainnet)

Implementation Reference

  • Tool definition and registration in the tools array returned by registerSolanaHandlers, including name, description, and input schema.
      name: 'get_solana_signatures',
      description: 'Get transaction signatures for a Solana address (transaction history)',
      inputSchema: {
        type: 'object',
        properties: {
          address: {
            type: 'string',
            description: 'Solana address',
          },
          limit: {
            type: 'number',
            description: 'Maximum number of signatures to return (default: 10)',
          },
          network: {
            type: 'string',
            enum: ['mainnet', 'testnet'],
            description: 'Network type (defaults to mainnet)',
          },
        },
        required: ['address'],
      },
    },
  • MCP tool handler implementation in handleSolanaTool switch statement: parses input arguments, calls SolanaService.getSignaturesForAddress, and formats response.
    case 'get_solana_signatures': {
      const address = args?.address as string;
      const limit = (args?.limit as number) || 10;
      const network = (args?.network as 'mainnet' | 'testnet') || 'mainnet';
    
      const result = await solanaService.getSignaturesForAddress(address, limit, network);
    
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(result, null, 2),
          },
        ],
        isError: !result.success,
      };
    }
  • Core helper method in SolanaService that executes the RPC call to getSignaturesForAddress on the appropriate Solana RPC endpoint.
    async getSignaturesForAddress(
      address: string,
      limit: number = 10,
      network: 'mainnet' | 'testnet' = 'mainnet'
    ): Promise<EndpointResponse> {
      const service = this.blockchainService.getServiceByBlockchain('solana', network);
    
      if (!service) {
        return {
          success: false,
          error: `Solana service not found for ${network}`,
        };
      }
    
      return this.blockchainService.callRPCMethod(
        service.id,
        'getSignaturesForAddress',
        [
          address,
          {
            limit,
          },
        ]
      );
    }
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure but provides minimal information. It doesn't mention whether this is a read-only operation, what permissions might be needed, rate limits, pagination behavior, or what format the signatures are returned in. The description only states what the tool does at a high level without behavioral details.

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?

The description is a single, efficient sentence with a clarifying parenthetical. Every word serves a purpose - the main clause states the core function while the parenthetical adds important context about what 'signatures' means in this context. There's no wasted verbiage or redundancy.

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?

For a tool with 3 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what the tool returns (just signatures, but in what format?), doesn't mention behavioral aspects like rate limits or permissions, and provides no guidance on usage context despite many similar sibling tools. The description is too minimal given the tool's complexity and lack of supporting structured data.

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?

The input schema has 100% description coverage, so all parameters are documented in the schema itself. The description doesn't add any parameter-specific information beyond what's already in the schema descriptions, so it meets the baseline of 3 for high schema coverage without adding extra value.

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 clearly states the specific action ('Get transaction signatures') and resource ('for a Solana address'), with parenthetical clarification ('transaction history') that distinguishes it from other Solana tools like get_solana_account_info or get_solana_transaction. It uses precise terminology that matches the tool's function.

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?

The description provides no guidance on when to use this tool versus alternatives. With many sibling tools available (including other Solana-specific tools like get_solana_transaction and get_solana_account_info), there's no indication of when this signature-focused tool is preferred over those alternatives or general transaction tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/buildwithgrove/mcp-pocket'

If you have feedback or need assistance with the MCP directory API, please join our Discord server