Skip to main content
Glama

ScorpTech x402 Tools

Sol Pda

sol_pda
Read-onlyIdempotent

Derive Solana program-derived addresses offline: findProgramAddress (canonical bump search) for any program and typed seeds (utf8, base58 pubkey, hex, u8/u16/u32/u64 little- or big-endian), or the associated token account (ATA) of an owner + mint for SPL Token or Token-2022. Same algorithm as @solana/web3.js (sha256 + ed25519 off-curve check). Useful to locate token accounts, Anchor PDAs and vaults without an RPC. Returns JSON with: address, bump, canonicalBump, programId, preset, seeds, warnings. Price: $0.002 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/sol-pda

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

Input Schema

NameRequiredDescriptionDefault
bumpNocustom: use this bump (createProgramAddress) instead of searching
mintNoata: token mint
ownerNoata: wallet that owns the token account
seedsNocustom: seeds as "utf8:vault", "pubkey:<base58>", "hex:0a0b", "u8:1", "u64:42", "u32be:7" (no prefix: a 32-byte base58 string is a pubkey, else utf8); JSON array if a seed contains commas
presetNoata = associated token account of owner + mint; custom = programId + seedscustom
programIdNocustom: program id (base58)
tokenProgramNoata: SPL Token (default) or Token-2022token

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses the algorithm (sha256 + ed25519 off-curve check), parity with @solana/web3.js, the return keys (address, bump, canonicalBump, programId, preset, seeds, warnings), and the per-call price with payment rail. Cost and determinism details are exactly the kind of behavior annotations cannot convey.

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 core action and mode split, then returns, then pricing. Dense but every clause carries information; the HTTPS endpoint and price sentence are borderline but justified for an x402-paywalled tool.

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?

With no output schema, the description compensates by enumerating the JSON return fields, and it covers both presets, seed typing, and payment requirements for a 7-parameter tool. An agent has enough to call this correctly without further discovery.

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 100%, so the baseline is 3; the description adds real meaning by explaining the seed prefix grammar (utf8/pubkey/hex/u8-u64 endianness, no-prefix fallback rule) and the custom-vs-ata preset split. It does not explain tokenProgram or the bump override beyond what the schema already says.

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 ("Derive Solana program-derived addresses offline") and immediately names the two operational modes: findProgramAddress with typed seeds, or the ATA of owner + mint. This is clearly distinguishable from siblings like sol_account or sol_balance, which query chain state rather than computing PDAs.

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 usage contexts ("locate token accounts, Anchor PDAs and vaults without an RPC") and implicitly contrasts with RPC-based siblings by emphasizing offline derivation. It never explicitly says when to prefer this over a sibling or states exclusions, so it falls short of a 5.

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