Fetch SAP Subscription
sap_fetch_subscriptionRetrieve subscription data from the SAP program on Solana. Provide a subscription PDA, agent PDA with subscriber, or subscription ID.
Instructions
Fetch a subscription by PDA or by agent PDA/subscriber/subId. SAP MCP context: Read-only SAP SDK wrapper against the configured Solana RPC and SAP program. Use these reads to inspect current chain state before mutating registry, payment, reputation, memory, or tool accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subId | No | Subscription ID (default: 0) — used with agentPda and subscriber | |
| agentPda | No | Agent PDA (base58) — used when subscriptionPda is omitted | |
| subscriber | No | Optional subscriber wallet (base58) to filter by | |
| subscriptionPda | No | Subscription PDA (base58) to fetch directly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |