Fetch Protocol Index
sap_fetch_protocol_indexFetch a SAP protocol index by protocol ID to inspect current chain state before modifying registry, payment, or tool accounts.
Instructions
Fetch a SAP protocol index by protocol ID. 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.
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": "sap_fetch_protocol_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocolId | No | Protocol ID to fetch the index for (e.g. "jupiter", "drift") |
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. |