Skip to main content
Glama

PrivateDAO Agent Exchange

PrivatePAY Authenticated Shielded USDC Balance

privatepay_private_balance
Read-only

Submit the wallet-signed MagicBlock challenge to log in and read the shielded USDC balance. Private bearer tokens never leave the backend. This is not permission to spend; checkout needs a separate wallet-signed transaction.

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": {
      "wallet": "<wallet>",
      "challenge": "<challenge>",
      "signature": "<signature>"
    },
    "name": "privatepay_private_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYes
challengeYesChallenge issued for this wallet by privatepay_wallet_challenge.
signatureYesBase64 Ed25519 signature over the challenge message, signed locally by this wallet.

Output Schema

NameRequiredDescriptionDefault
mintNo
walletNo
clusterNo
locationNo
amount_usdcNo
authenticatedNo
amount_base_unitsNo
payment_requires_separate_transaction_signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety bar is low; the description adds genuinely useful context the annotations do not carry — that bearer tokens never leave the backend and are not returned, and that this call confers no spending authority. It does not address the non-idempotent hint (whether replaying the same challenge/signature fails or is rejected), which is the one behavioral fact an agent could trip over.

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?

Three sentences, front-loaded with the action and resource, followed by the security guarantee and the scope limit. Every sentence carries a distinct fact; only mild tightening would be possible.

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?

An output schema exists, so return-value explanation is unnecessary, and the description covers the auth flow, the no-token guarantee, and the no-spend boundary. For a 3-required-parameter read tool with an output schema, the remaining gap (replay/idempotency behavior and challenge expiry) is minor.

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 67%: 'challenge' and 'signature' are documented in the schema, while 'wallet' is only constrained by a base58 pattern with no prose. The description reinforces that the challenge is wallet-signed and locally produced by the caller, but it adds no format, encoding, or issuance-window detail beyond what the schema already states, so the baseline 3 is appropriate.

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 pairs a specific verb with a specific resource: 'Submit the wallet-signed MagicBlock challenge to log in and read the shielded USDC balance.' It also scopes what the tool is NOT ('not permission to spend; checkout needs a separate wallet-signed transaction'), which lets an agent distinguish it from checkout/payment siblings without opening another schema.

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?

It clearly states the prerequisite flow (a challenge obtained from privatepay_wallet_challenge, signed locally) and explicitly routes spending to a separate signed transaction, which functions as a when-not plus an alternative. It stops short of naming the specific sibling tool for checkout or explaining what to do when the challenge expires, so it is strong but not exhaustive.

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.