Skip to main content
Glama

1hlabs_solana_pda_scaffold

[Solana Mainnet-Beta SPL-USDC Client PDA Template] Institutional-grade programmatic SPL-USDC milestone_template for high-frequency agentic settlements (50 to 50,000 USDC). Locks counterparty funds in a non-custodial Program Derived Address (PDA) with atomic clawback guarantees and Model A Non-Custodial B2B SaaS novation.

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": {
      "payer_pubkey": "<payer_pubkey>",
      "payee_pubkey": "<payee_pubkey>",
      "amount_usdc": "<amount_usdc>"
    },
    "name": "1hlabs_solana_pda_scaffold"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoDry-Run Software Simulation mode. When true, returns locked preview quote with settlement_token without committing funds.
amount_usdcYesExact settlement amount denominated in USDC (6 decimal precision)
payee_pubkeyYesBase58 encoded Solana public key of the beneficiary merchant
payer_pubkeyYesBase58 encoded Solana public key of the funding agent wallet
timeout_secondsNoClient-side timeout parameter embedded in the unsigned PDA instruction template
settlement_tokenNoOptional dry-run settlement token (tok_dry_...) to redeem a previously locked preview quote.
priority_fee_levelNoCompute budget unit price multiplier to bypass L1 network congestionmedium

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it never says whether calling it moves funds or merely returns an unsigned instruction template — a critical distinction the schema parameter text ('unsigned PDA instruction template', dry-run settlement_token) hints at but the description contradicts with 'Locks counterparty funds'. Marketing terms like 'atomic clawback guarantees' and 'Model A Non-Custodial B2B SaaS novation' convey no verifiable behavior, and permissions, idempotency, and failure modes are unaddressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences of dense marketing jargon where a single plain sentence about generating a PDA settlement instruction would suffice. Phrases like 'Institutional-grade' and 'Model A Non-Custodial B2B SaaS novation' consume space without informing the agent, and the lead is buried behind a bracketed tag.

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 7-parameter, fund-adjacent tool with no annotations and no output schema, the description omits the essentials: what is returned, whether the result must be signed and broadcast, how dry_run and settlement_token form a two-step flow, and what happens on the real path. The result is an agent that cannot safely decide whether a call is a preview or an irreversible commitment.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description actively conflicts with the schema by stating a 50–50,000 USDC range while the amount_usdc field specifies minimum 10 and maximum 100,000. Beyond that misleading band, the description adds no meaning to payer/payee keys, priority_fee_level, timeout_seconds, or the settlement_token redemption flow.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the domain (SPL-USDC settlement via a non-custodial PDA on Solana) but never states in plain terms what the tool actually produces. 'milestone_template' and 'scaffold' hint at template generation, while 'Locks counterparty funds' implies an actual transfer, leaving the core action ambiguous. No sibling is named or distinguished, so an agent cannot tell how this differs from 1hlabs_shadow_solana_b2b_checkout.

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 only usage signal is an implied audience ('high-frequency agentic settlements') plus an amount band. There is no when-to-use, no when-not-to-use, no mention of prerequisites such as funding the payer wallet, and no routing to an alternative tool for checkout, allowances, or non-PDA settlements.

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