Skip to main content
Glama

Extendable Delegates

tronsave_list_extendable_delegates
Read-onlyIdempotent

List extendable delegate candidates for a receiver and resourceType (ENERGY|BANDWIDTH). Optional suggestData scores an extend-and-buy scenario for planning purposes. Read-only; does NOT create orders or change on-chain state. Works without mcp-session-id; when a session is present, auth is forwarded so results can reflect the logged-in account where supported. NOTE: this is GraphQL market data for discovery only. To actually submit an extension, call the authenticated REST POST /v2/get-extendable-delegates with extendData (payload shape differs from this GraphQL response).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
receiverYesTRON base58 address (typically starts with `T`) that currently receives or will receive the delegated resource. This is the primary filter: the response describes delegates relevant to extending that account's delegation.
requesterNoOptional TRON base58 address of the viewing/requesting party. When an MCP session is active, the server may still derive identity from auth headers; use this when the API expects an explicit requester string distinct from the receiver.
suggestDataNoOptional nested scenario for extend-and-buy suggestion scoring. If omitted, the query returns delegate rows without that hypothetical. If provided, supply all four fields together; partial objects are invalid for typical GraphQL input shapes.
resourceTypeYesWhich resource market leg to query: `ENERGY` for contract execution headroom, `BANDWIDTH` for transaction bandwidth. Must match how you plan to extend or buy.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
extendableDelegatesYesNull when the market has no payload or GraphQL returned no branch; check tool-level errors for hard failures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / receiver / description
      Previous value: -"Target receiver wallet for which extendable delegates are evaluated."New value: +"TRON base58 address (typically starts with `T`) that currently receives or will receive the delegated resource. This is the primary filter: the response describes delegates relevant to extending that account's delegation."
    • changedInput schema / properties / requester / description
      Previous value: -"Optional requester wallet context used by backend matching checks."New value: +"Optional TRON base58 address of the viewing/requesting party. When an MCP session is active, the server may still derive identity from auth headers; use this when the API expects an explicit requester string distinct from the receiver."
    • changedInput schema / properties / resourceType / description
      Previous value: -"Resource leg to evaluate (`ENERGY` or `BANDWIDTH`)."New value: +"Which resource market leg to query: `ENERGY` for contract execution headroom, `BANDWIDTH` for transaction bandwidth. Must match how you plan to extend or buy."
    • changedInput schema / properties / suggestData / description
      Previous value: -"Optional suggestion payload to score/estimate extend-and-buy scenarios."New value: +"Optional nested scenario for extend-and-buy suggestion scoring. If omitted, the query returns delegate rows without that hypothetical. If provided, supply all four fields together; partial objects are invalid for typical GraphQL input shapes."
    • changedInput schema / properties / suggestData / properties / extendAmount / description
      Previous value: -"Resource amount to extend from existing delegates."New value: +"Hypothetical amount of existing delegation to extend (resource units matching `resourceType`)."
    • changedInput schema / properties / suggestData / properties / extendTo / description
      Previous value: -"Target extension timestamp/duration marker expected by backend suggest engine."New value: +"Target end time for the extended delegation window, as Unix epoch milliseconds (UTC); align with TronSave REST extend flows when comparing suggest windows."
    • changedInput schema / properties / suggestData / properties / extraBuyAmount / description
      Previous value: -"Extra resource amount to buy in addition to extension."New value: +"Hypothetical extra ENERGY or BANDWIDTH units to buy beyond simple extension; units match `resourceType`, not SUN."
    • changedInput schema / properties / suggestData / properties / maxPrice / description
      Previous value: -"Maximum acceptable unit price cap for suggestion scoring."New value: +"Maximum unit price in SUN the user is willing to pay for the suggested extend/buy path; used for server-side scoring, not a live order placement by itself."
    • changedOutput schema / properties / extendableDelegates / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "amount": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "availableExtendAt": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "availableResource": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "extendPrice": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "isExtendable": {
      -                  "anyOf": [
      -                    {
      -                      "type": "boolean"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "minTimeExtendTo": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "reason": {
      -                  "anyOf": [
      -                    {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "reclaimTime": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "maxExtendAmount": {
      -        "type": "number"
      -      },
      -      "minExtendRequired": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "overBuyAmount": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "overBuyAmountAvailable": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "overBuyAmountMaxAvailable": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "overBuyPrice": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "totalAvailableExtraBuyAmount": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "maxExtendAmount"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "amount": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Delegate amount associated with this row (resource units)."
      +                },
      +                "availableExtendAt": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Earliest time at which extension becomes available for this row."
      +                },
      +                "availableResource": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Resource still available from this delegate for matching/extension."
      +                },
      +                "extendPrice": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Indicative unit price or price component for extending this row (SUN unless API documents otherwise)."
      +                },
      +                "isExtendable": {
      +                  "anyOf": [
      +                    {
      +                      "type": "boolean"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Whether this delegate entry can be extended under current rules."
      +                },
      +                "minTimeExtendTo": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Minimum end time boundary required before extension is allowed."
      +                },
      +                "reason": {
      +                  "anyOf": [
      +                    {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Human-readable reasons when extension is blocked or conditional."
      +                },
      +                "reclaimTime": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Timestamp related to reclaim/unlock timing when relevant."
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Per-delegator or per-offer rows backing the aggregates above; may be empty when nothing is extendable."
      +      },
      +      "maxExtendAmount": {
      +        "description": "Largest extendable resource amount (units) aggregated for this query.",
      +        "type": "number"
      +      },
      +      "minExtendRequired": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Minimum resource amount the market requires to treat an extension as valid, if applicable."
      +      },
      +      "overBuyAmount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Amount considered in excess of a simple extend-only path when `suggestData` implies extra buy."
      +      },
      +      "overBuyAmountAvailable": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "How much of the over-buy amount is currently matchable."
      +      },
      +      "overBuyAmountMaxAvailable": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Upper cap for over-buy availability under current book conditions."
      +      },
      +      "overBuyPrice": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Price facet associated with the over-buy leg (SUN-related aggregate; exact semantics from TronSave API)."
      +      },
      +      "totalAvailableExtraBuyAmount": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Capacity hint for additional buy amount on top of extension under current market state."
      +      }
      +    },
      +    "required": [
      +      "maxExtendAmount"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / extendableDelegates / description
      Added value: +"Null when the market has no payload or GraphQL returned no branch; check tool-level errors for hard failures."
  2. Changed8 schema fields changed
    • addedInput schema / properties / receiver / description
      Added value: +"Target receiver wallet for which extendable delegates are evaluated."
    • addedInput schema / properties / requester / description
      Added value: +"Optional requester wallet context used by backend matching checks."
    • addedInput schema / properties / resourceType / description
      Added value: +"Resource leg to evaluate (`ENERGY` or `BANDWIDTH`)."
    • addedInput schema / properties / suggestData / description
      Added value: +"Optional suggestion payload to score/estimate extend-and-buy scenarios."
    • addedInput schema / properties / suggestData / properties / extendAmount / description
      Added value: +"Resource amount to extend from existing delegates."
    • addedInput schema / properties / suggestData / properties / extendTo / description
      Added value: +"Target extension timestamp/duration marker expected by backend suggest engine."
    • addedInput schema / properties / suggestData / properties / extraBuyAmount / description
      Added value: +"Extra resource amount to buy in addition to extension."
    • addedInput schema / properties / suggestData / properties / maxPrice / description
      Added value: +"Maximum acceptable unit price cap for suggestion scoring."
  3. Added

TDQS

A4.9/5.0
Behavior5/5

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

Description confirms read-only and idempotent behavior, matching annotations. It adds context: GraphQL market data, session behavior, and that suggestData is for hypothetical scoring only. No contradictions and provides rich behavioral context beyond annotations.

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?

The description is somewhat long but every sentence serves a purpose. It front-loads the key action and then layers details logically. Minor redundancy could be trimmed, but overall efficient for the complexity.

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?

Given the moderate complexity (4 params, nested object, output schema exists), the description covers all aspects: purpose, parameters, behavior, session handling, and relationship to sibling tools. No gaps remain.

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

Parameters5/5

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

With 100% schema coverage, the description still adds significant value: receiver typo? Actually explains address format and filter; requester clarifies when to use; suggestData details nested fields and warns against partial objects; resourceType clarifies use cases. All parameters are thoroughly explained beyond schema.

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 clearly states the verb 'list', the resource 'extendable delegate candidates', and the key parameters (receiver, resourceType). It distinguishes itself from sibling tools by noting it is GraphQL market data for discovery only, not for order creation, and references the REST endpoint for actual submission.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use ('Read-only; does NOT create orders or change on-chain state'), notes that it works without mcp-session-id and explains auth forwarding. It guides toward the REST endpoint for actual extensions, providing clear alternatives.

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