Skip to main content
Glama

Get DeFi positions

get_defi_positions
Read-onlyIdempotent

Cross-chain DeFi positions (lending, staking, LPs, rewards) — lending markets, liquid staking, LP pools and more, across every chain the Sentio portfolio API covers (EVM chains for a 0x EVM address, Sui for a 64-hex Sui address). Pass address for one wallet, or pass no arguments to get the positions of every wallet you track in a single call. Each position carries its chain id. A wallet with an error could not be read at all. Across every tracked wallet, each wallet is read from its latest stored portfolio sample (the Sentio API samples tracked wallets hourly): such an entry says source: "sample" and gives its time as asOf. A wallet without a recent sample, and any Sui wallet (its stored history covers fewer protocols), is scanned live (source: "live"). For one wallet's current state, ask for it by address. An aggregate answers within about 40 s: a wallet it could not re-read in time is answered from its last live read of the past 15 minutes when there is one (asOf says when), and otherwise comes back with pending: true, partial: true and no figures, and the total is marked partial. Its scan keeps running, so asking again in a minute usually returns it — do not report a pending wallet as empty. The Sentio portfolio API answers within about 25 s: when it stops a scan before reading everything, or a chain or protocol read fails (for example the wallet token-balance provider), the result (and each affected entry) carries partial: true and missing lists the chains and protocols not read. Its values are then incomplete and can be too low or too high (an unread position is left out; a debt left unpriced overstates a net value) — say so, and retry later or ask for fewer chains rather than reporting them as complete.

Input Schema

NameRequiredDescriptionDefault
addressNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "type": "string"
      -      },
      -      "asOf": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "positions": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "chain": {
      -              "type": "string"
      -            },
      -            "components": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "address": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "amountRaw": {
      -                    "type": "string"
      -                  },
      -                  "decimals": {
      -                    "type": "number"
      -                  },
      -                  "kind": {
      -                    "enum": [
      -                      "asset",
      -                      "debt",
      -                      "reward"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "priceUsd": {
      -                    "anyOf": [
      -                      {
      -                        "type": "number"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "symbol": {
      -                    "type": "string"
      -                  },
      -                  "valueUsd": {
      -                    "anyOf": [
      -                      {
      -                        "type": "number"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "symbol",
      -                  "address",
      -                  "decimals",
      -                  "amountRaw",
      -                  "priceUsd",
      -                  "valueUsd"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "displayLabel": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "marketId": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "protocolId": {
      -              "type": "string"
      -            },
      -            "protocolName": {
      -              "type": "string"
      -            },
      -            "valueUsd": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "protocolId",
      -            "protocolName",
      -            "chain",
      -            "id",
      -            "marketId",
      -            "label",
      -            "displayLabel",
      -            "valueUsd",
      -            "components"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "protocols": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "assetUsd": {
      -              "type": "number"
      -            },
      -            "chains": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "debtUsd": {
      -              "type": "number"
      -            },
      -            "protocolId": {
      -              "type": "string"
      -            },
      -            "protocolName": {
      -              "type": "string"
      -            },
      -            "rewardUsd": {
      -              "type": "number"
      -            },
      -            "totalUsd": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "protocolId",
      -            "protocolName",
      -            "chains",
      -            "totalUsd",
      -            "assetUsd",
      -            "debtUsd",
      -            "rewardUsd"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalValueUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "address",
      -      "totalValueUsd",
      -      "asOf",
      -      "protocols",
      -      "positions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "addresses": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "address": {
      -              "type": "string"
      -            },
      -            "asOf": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "positions": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "chain": {
      -                    "type": "string"
      -                  },
      -                  "components": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "anyOf": [
      -                            {
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "amountRaw": {
      -                          "type": "string"
      -                        },
      -                        "decimals": {
      -                          "type": "number"
      -                        },
      -                        "kind": {
      -                          "enum": [
      -                            "asset",
      -                            "debt",
      -                            "reward"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "priceUsd": {
      -                          "anyOf": [
      -                            {
      -                              "type": "number"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "symbol": {
      -                          "type": "string"
      -                        },
      -                        "valueUsd": {
      -                          "anyOf": [
      -                            {
      -                              "type": "number"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "kind",
      -                        "symbol",
      -                        "address",
      -                        "decimals",
      -                        "amountRaw",
      -                        "priceUsd",
      -                        "valueUsd"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "displayLabel": {
      -                    "type": "string"
      -                  },
      -                  "id": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "label": {
      -                    "type": "string"
      -                  },
      -                  "marketId": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "protocolId": {
      -                    "type": "string"
      -                  },
      -                  "protocolName": {
      -                    "type": "string"
      -                  },
      -                  "valueUsd": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "protocolId",
      -                  "protocolName",
      -                  "chain",
      -                  "id",
      -                  "marketId",
      -                  "label",
      -                  "displayLabel",
      -                  "valueUsd",
      -                  "components"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "protocols": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "assetUsd": {
      -                    "type": "number"
      -                  },
      -                  "chains": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "debtUsd": {
      -                    "type": "number"
      -                  },
      -                  "protocolId": {
      -                    "type": "string"
      -                  },
      -                  "protocolName": {
      -                    "type": "string"
      -                  },
      -                  "rewardUsd": {
      -                    "type": "number"
      -                  },
      -                  "totalUsd": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "protocolId",
      -                  "protocolName",
      -                  "chains",
      -                  "totalUsd",
      -                  "assetUsd",
      -                  "debtUsd",
      -                  "rewardUsd"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "totalValueUsd": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "address",
      -            "totalValueUsd",
      -            "asOf",
      -            "protocols",
      -            "positions"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalValueUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalValueUsd",
      -      "addresses"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "address": {
      +        "type": "string"
      +      },
      +      "asOf": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "missing": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "chain": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "protocolId": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "chain",
      +            "protocolId"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "partial": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "pending": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "positions": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "chain": {
      +              "type": "string"
      +            },
      +            "components": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "address": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "amountRaw": {
      +                    "type": "string"
      +                  },
      +                  "decimals": {
      +                    "type": "number"
      +                  },
      +                  "kind": {
      +                    "enum": [
      +                      "asset",
      +                      "debt",
      +                      "reward"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "priceUsd": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "symbol": {
      +                    "type": "string"
      +                  },
      +                  "valueUsd": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "symbol",
      +                  "address",
      +                  "decimals",
      +                  "amountRaw",
      +                  "priceUsd",
      +                  "valueUsd"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "displayLabel": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "marketId": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "protocolId": {
      +              "type": "string"
      +            },
      +            "protocolName": {
      +              "type": "string"
      +            },
      +            "valueUsd": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "protocolId",
      +            "protocolName",
      +            "chain",
      +            "id",
      +            "marketId",
      +            "label",
      +            "displayLabel",
      +            "valueUsd",
      +            "components"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "protocols": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "assetUsd": {
      +              "type": "number"
      +            },
      +            "chains": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "debtUsd": {
      +              "type": "number"
      +            },
      +            "protocolId": {
      +              "type": "string"
      +            },
      +            "protocolName": {
      +              "type": "string"
      +            },
      +            "rewardUsd": {
      +              "type": "number"
      +            },
      +            "totalUsd": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "protocolId",
      +            "protocolName",
      +            "chains",
      +            "totalUsd",
      +            "assetUsd",
      +            "debtUsd",
      +            "rewardUsd"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "enum": [
      +          "sample",
      +          "live"
      +        ],
      +        "type": "string"
      +      },
      +      "totalValueUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "address",
      +      "totalValueUsd",
      +      "asOf",
      +      "protocols",
      +      "positions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "addresses": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "address": {
      +              "type": "string"
      +            },
      +            "asOf": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "error": {
      +              "type": "string"
      +            },
      +            "missing": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "chain": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "protocolId": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "chain",
      +                  "protocolId"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "partial": {
      +              "const": true,
      +              "type": "boolean"
      +            },
      +            "pending": {
      +              "const": true,
      +              "type": "boolean"
      +            },
      +            "positions": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "chain": {
      +                    "type": "string"
      +                  },
      +                  "components": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "amountRaw": {
      +                          "type": "string"
      +                        },
      +                        "decimals": {
      +                          "type": "number"
      +                        },
      +                        "kind": {
      +                          "enum": [
      +                            "asset",
      +                            "debt",
      +                            "reward"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "priceUsd": {
      +                          "anyOf": [
      +                            {
      +                              "type": "number"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "symbol": {
      +                          "type": "string"
      +                        },
      +                        "valueUsd": {
      +                          "anyOf": [
      +                            {
      +                              "type": "number"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "kind",
      +                        "symbol",
      +                        "address",
      +                        "decimals",
      +                        "amountRaw",
      +                        "priceUsd",
      +                        "valueUsd"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "displayLabel": {
      +                    "type": "string"
      +                  },
      +                  "id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "label": {
      +                    "type": "string"
      +                  },
      +                  "marketId": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "protocolId": {
      +                    "type": "string"
      +                  },
      +                  "protocolName": {
      +                    "type": "string"
      +                  },
      +                  "valueUsd": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "protocolId",
      +                  "protocolName",
      +                  "chain",
      +                  "id",
      +                  "marketId",
      +                  "label",
      +                  "displayLabel",
      +                  "valueUsd",
      +                  "components"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "protocols": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "assetUsd": {
      +                    "type": "number"
      +                  },
      +                  "chains": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "debtUsd": {
      +                    "type": "number"
      +                  },
      +                  "protocolId": {
      +                    "type": "string"
      +                  },
      +                  "protocolName": {
      +                    "type": "string"
      +                  },
      +                  "rewardUsd": {
      +                    "type": "number"
      +                  },
      +                  "totalUsd": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "protocolId",
      +                  "protocolName",
      +                  "chains",
      +                  "totalUsd",
      +                  "assetUsd",
      +                  "debtUsd",
      +                  "rewardUsd"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "source": {
      +              "enum": [
      +                "sample",
      +                "live"
      +              ],
      +              "type": "string"
      +            },
      +            "totalValueUsd": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "address",
      +            "totalValueUsd",
      +            "asOf",
      +            "protocols",
      +            "positions"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "partial": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "totalValueUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "totalValueUsd",
      +      "addresses"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "type": "string"
      -      },
      -      "asOf": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "positions": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "chain": {
      -              "type": "string"
      -            },
      -            "components": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "address": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "amountRaw": {
      -                    "type": "string"
      -                  },
      -                  "decimals": {
      -                    "type": "number"
      -                  },
      -                  "kind": {
      -                    "enum": [
      -                      "asset",
      -                      "debt",
      -                      "reward"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "priceUsd": {
      -                    "anyOf": [
      -                      {
      -                        "type": "number"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "symbol": {
      -                    "type": "string"
      -                  },
      -                  "valueUsd": {
      -                    "anyOf": [
      -                      {
      -                        "type": "number"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "kind",
      -                  "symbol",
      -                  "address",
      -                  "decimals",
      -                  "amountRaw",
      -                  "priceUsd",
      -                  "valueUsd"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "protocolId": {
      -              "type": "string"
      -            },
      -            "protocolName": {
      -              "type": "string"
      -            },
      -            "valueUsd": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "protocolId",
      -            "protocolName",
      -            "chain",
      -            "label",
      -            "valueUsd",
      -            "components"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "protocols": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "assetUsd": {
      -              "type": "number"
      -            },
      -            "chains": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "debtUsd": {
      -              "type": "number"
      -            },
      -            "protocolId": {
      -              "type": "string"
      -            },
      -            "protocolName": {
      -              "type": "string"
      -            },
      -            "rewardUsd": {
      -              "type": "number"
      -            },
      -            "totalUsd": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "protocolId",
      -            "protocolName",
      -            "chains",
      -            "totalUsd",
      -            "assetUsd",
      -            "debtUsd",
      -            "rewardUsd"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalValueUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "address",
      -      "totalValueUsd",
      -      "asOf",
      -      "protocols",
      -      "positions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "addresses": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "address": {
      -              "type": "string"
      -            },
      -            "asOf": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "positions": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "chain": {
      -                    "type": "string"
      -                  },
      -                  "components": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "address": {
      -                          "anyOf": [
      -                            {
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "amountRaw": {
      -                          "type": "string"
      -                        },
      -                        "decimals": {
      -                          "type": "number"
      -                        },
      -                        "kind": {
      -                          "enum": [
      -                            "asset",
      -                            "debt",
      -                            "reward"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "priceUsd": {
      -                          "anyOf": [
      -                            {
      -                              "type": "number"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "symbol": {
      -                          "type": "string"
      -                        },
      -                        "valueUsd": {
      -                          "anyOf": [
      -                            {
      -                              "type": "number"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "kind",
      -                        "symbol",
      -                        "address",
      -                        "decimals",
      -                        "amountRaw",
      -                        "priceUsd",
      -                        "valueUsd"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "label": {
      -                    "type": "string"
      -                  },
      -                  "protocolId": {
      -                    "type": "string"
      -                  },
      -                  "protocolName": {
      -                    "type": "string"
      -                  },
      -                  "valueUsd": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "protocolId",
      -                  "protocolName",
      -                  "chain",
      -                  "label",
      -                  "valueUsd",
      -                  "components"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "protocols": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "assetUsd": {
      -                    "type": "number"
      -                  },
      -                  "chains": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "debtUsd": {
      -                    "type": "number"
      -                  },
      -                  "protocolId": {
      -                    "type": "string"
      -                  },
      -                  "protocolName": {
      -                    "type": "string"
      -                  },
      -                  "rewardUsd": {
      -                    "type": "number"
      -                  },
      -                  "totalUsd": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "protocolId",
      -                  "protocolName",
      -                  "chains",
      -                  "totalUsd",
      -                  "assetUsd",
      -                  "debtUsd",
      -                  "rewardUsd"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "totalValueUsd": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "address",
      -            "totalValueUsd",
      -            "asOf",
      -            "protocols",
      -            "positions"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalValueUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalValueUsd",
      -      "addresses"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "address": {
      +        "type": "string"
      +      },
      +      "asOf": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "positions": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "chain": {
      +              "type": "string"
      +            },
      +            "components": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "address": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "amountRaw": {
      +                    "type": "string"
      +                  },
      +                  "decimals": {
      +                    "type": "number"
      +                  },
      +                  "kind": {
      +                    "enum": [
      +                      "asset",
      +                      "debt",
      +                      "reward"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "priceUsd": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "symbol": {
      +                    "type": "string"
      +                  },
      +                  "valueUsd": {
      +                    "anyOf": [
      +                      {
      +                        "type": "number"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "symbol",
      +                  "address",
      +                  "decimals",
      +                  "amountRaw",
      +                  "priceUsd",
      +                  "valueUsd"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "displayLabel": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "marketId": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "protocolId": {
      +              "type": "string"
      +            },
      +            "protocolName": {
      +              "type": "string"
      +            },
      +            "valueUsd": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "protocolId",
      +            "protocolName",
      +            "chain",
      +            "id",
      +            "marketId",
      +            "label",
      +            "displayLabel",
      +            "valueUsd",
      +            "components"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "protocols": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "assetUsd": {
      +              "type": "number"
      +            },
      +            "chains": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "debtUsd": {
      +              "type": "number"
      +            },
      +            "protocolId": {
      +              "type": "string"
      +            },
      +            "protocolName": {
      +              "type": "string"
      +            },
      +            "rewardUsd": {
      +              "type": "number"
      +            },
      +            "totalUsd": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "protocolId",
      +            "protocolName",
      +            "chains",
      +            "totalUsd",
      +            "assetUsd",
      +            "debtUsd",
      +            "rewardUsd"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "totalValueUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "address",
      +      "totalValueUsd",
      +      "asOf",
      +      "protocols",
      +      "positions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "addresses": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "address": {
      +              "type": "string"
      +            },
      +            "asOf": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "positions": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "chain": {
      +                    "type": "string"
      +                  },
      +                  "components": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "address": {
      +                          "anyOf": [
      +                            {
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "amountRaw": {
      +                          "type": "string"
      +                        },
      +                        "decimals": {
      +                          "type": "number"
      +                        },
      +                        "kind": {
      +                          "enum": [
      +                            "asset",
      +                            "debt",
      +                            "reward"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "priceUsd": {
      +                          "anyOf": [
      +                            {
      +                              "type": "number"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "symbol": {
      +                          "type": "string"
      +                        },
      +                        "valueUsd": {
      +                          "anyOf": [
      +                            {
      +                              "type": "number"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "kind",
      +                        "symbol",
      +                        "address",
      +                        "decimals",
      +                        "amountRaw",
      +                        "priceUsd",
      +                        "valueUsd"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "displayLabel": {
      +                    "type": "string"
      +                  },
      +                  "id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "label": {
      +                    "type": "string"
      +                  },
      +                  "marketId": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "protocolId": {
      +                    "type": "string"
      +                  },
      +                  "protocolName": {
      +                    "type": "string"
      +                  },
      +                  "valueUsd": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "protocolId",
      +                  "protocolName",
      +                  "chain",
      +                  "id",
      +                  "marketId",
      +                  "label",
      +                  "displayLabel",
      +                  "valueUsd",
      +                  "components"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "protocols": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "assetUsd": {
      +                    "type": "number"
      +                  },
      +                  "chains": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "debtUsd": {
      +                    "type": "number"
      +                  },
      +                  "protocolId": {
      +                    "type": "string"
      +                  },
      +                  "protocolName": {
      +                    "type": "string"
      +                  },
      +                  "rewardUsd": {
      +                    "type": "number"
      +                  },
      +                  "totalUsd": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "protocolId",
      +                  "protocolName",
      +                  "chains",
      +                  "totalUsd",
      +                  "assetUsd",
      +                  "debtUsd",
      +                  "rewardUsd"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "totalValueUsd": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "address",
      +            "totalValueUsd",
      +            "asOf",
      +            "protocols",
      +            "positions"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "totalValueUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "totalValueUsd",
      +      "addresses"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses the sample-vs-live read model, the ~40 s aggregate and ~25 s API budgets, the meaning of source/asOf, and the semantics of error, pending, partial, and missing. It even warns that partial values can be too low or too high and why (unpriced debt overstates net value). That is exactly the operational context an agent needs to interpret results correctly.

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

Conciseness3/5

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

The purpose is front-loaded in the first clause, but everything after arrives as one dense paragraph mixing scope, read model, timeouts, and partial-failure semantics. Every sentence is substantive, yet the pending/partial explanation is restated at multiple points and would be far easier to act on if split by mode (single vs aggregate).

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?

For a tool with an output schema and rich annotations, the description supplies everything the schema cannot: which chains map to which address form, how samples differ from live scans, what partial/pending mean, and how the agent should report incomplete results. Nothing material for a correct invocation or interpretation is missing.

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?

The single address parameter has 0% schema description coverage, so the description carries the burden and does so: it specifies that an EVM 0x address yields EVM-chain results while a 64-hex Sui address yields Sui results. It also clarifies the parameter is optional by describing the no-argument aggregate behavior. It does not state format validation or what happens if a malformed address is passed.

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

Purpose4/5

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

The opening clause names a specific verb and resource (cross-chain DeFi positions) and enumerates the position types covered — lending, staking, LPs, rewards — which lets an agent separate it from get_wallet_balances or get_portfolio_value. It also scopes the chains covered (EVM for 0x, Sui for 64-hex). It stops short of naming a sibling tool to use instead (e.g. get_defi_position_history for past state), so it is clear but not fully differentiated.

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?

Explicit routing between the two modes: 'Pass address for one wallet, or pass no arguments to get the positions of every wallet you track'. It also gives concrete failure-handling guidance ('do not report a pending wallet as empty', 'retry later or ask for fewer chains'). No explicit exclusions or named alternative tools, which keeps it below 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.