Skip to main content
Glama

Broadcast Signed Permission Transaction

broadcast_signed_permission_tx

Broadcast a signed AccountPermissionUpdate transaction to the TRON blockchain. After broadcasting, verifies that the platform permissions were correctly applied. Use this after signing the transaction from build_permission_transaction. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolAddressYesThe pool address that the permission was granted on
signedTransactionYesThe complete signed permission transaction from tronWeb.trx.sign(), including visible, raw_data_hex, and signature

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • changedInput schema / properties / signedTransaction / description
      Previous value: -"The signed transaction object from tronWeb.trx.sign()"New value: +"The complete signed permission transaction from tronWeb.trx.sign(), including visible, raw_data_hex, and signature"
    • addedInput schema / properties / signedTransaction / properties / raw_data / additionalProperties
      Added value: +true
    • addedInput schema / properties / signedTransaction / properties / raw_data / properties
      Added value: +{
      +  "contract": {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "Permission_id": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "parameter": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "type_url": {
      +              "const": "type.googleapis.com/protocol.AccountPermissionUpdateContract",
      +              "type": "string"
      +            },
      +            "value": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "actives": {
      +                  "items": {
      +                    "$ref": "#/properties/signedTransaction/properties/raw_data/properties/contract/items/properties/parameter/properties/value/properties/owner"
      +                  },
      +                  "type": "array"
      +                },
      +                "owner": {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "id": {
      +                      "anyOf": [
      +                        {
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        {
      +                          "pattern": "^\\d+$",
      +                          "type": "string"
      +                        }
      +                      ]
      +                    },
      +                    "keys": {
      +                      "items": {
      +                        "additionalProperties": true,
      +                        "properties": {
      +                          "address": {
      +                            "$ref": "#/properties/signedTransaction/properties/raw_data/properties/contract/items/properties/parameter/properties/value/properties/owner_address"
      +                          },
      +                          "weight": {
      +                            "$ref": "#/properties/signedTransaction/properties/raw_data/properties/contract/items/properties/parameter/properties/value/properties/owner/properties/threshold"
      +                          }
      +                        },
      +                        "required": [
      +                          "address",
      +                          "weight"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "minItems": 1,
      +                      "type": "array"
      +                    },
      +                    "operations": {
      +                      "maxLength": 64,
      +                      "minLength": 64,
      +                      "pattern": "^(?:[a-fA-F0-9]{2})+$",
      +                      "type": "string"
      +                    },
      +                    "permission_name": {
      +                      "maxLength": 100,
      +                      "type": "string"
      +                    },
      +                    "threshold": {
      +                      "anyOf": [
      +                        {
      +                          "exclusiveMinimum": 0,
      +                          "type": "integer"
      +                        },
      +                        {
      +                          "pattern": "^(?=\\d*[1-9])\\d+$",
      +                          "type": "string"
      +                        }
      +                      ]
      +                    },
      +                    "type": {
      +                      "anyOf": [
      +                        {
      +                          "const": 0,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 1,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 2,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "enum": [
      +                            "Owner",
      +                            "Witness",
      +                            "Active"
      +                          ],
      +                          "type": "string"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "permission_name",
      +                    "threshold",
      +                    "keys"
      +                  ],
      +                  "type": "object"
      +                },
      +                "owner_address": {
      +                  "maxLength": 42,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "witness": {
      +                  "$ref": "#/properties/signedTransaction/properties/raw_data/properties/contract/items/properties/parameter/properties/value/properties/owner"
      +                }
      +              },
      +              "required": [
      +                "owner_address"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "type_url",
      +            "value"
      +          ],
      +          "type": "object"
      +        },
      +        "type": {
      +          "const": "AccountPermissionUpdateContract",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "parameter"
      +      ],
      +      "type": "object"
      +    },
      +    "maxItems": 1,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  "data": {
      +    "pattern": "^(?:[a-fA-F0-9]{2})+$",
      +    "type": "string"
      +  },
      +  "expiration": {
      +    "exclusiveMinimum": 0,
      +    "type": "integer"
      +  },
      +  "fee_limit": {
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "ref_block_bytes": {
      +    "maxLength": 4,
      +    "minLength": 4,
      +    "pattern": "^(?:[a-fA-F0-9]{2})+$",
      +    "type": "string"
      +  },
      +  "ref_block_hash": {
      +    "maxLength": 16,
      +    "minLength": 16,
      +    "pattern": "^(?:[a-fA-F0-9]{2})+$",
      +    "type": "string"
      +  },
      +  "timestamp": {
      +    "minimum": 0,
      +    "type": "integer"
      +  }
      +}
    • addedInput schema / properties / signedTransaction / properties / raw_data / required
      Added value: +[
      +  "contract",
      +  "ref_block_bytes",
      +  "ref_block_hash",
      +  "expiration",
      +  "timestamp"
      +]
    • addedInput schema / properties / signedTransaction / properties / raw_data / type
      Added value: +"object"
    • addedInput schema / properties / signedTransaction / properties / raw_data_hex / pattern
      Added value: +"^(?:[a-fA-F0-9]{2})+$"
    • changedInput schema / properties / signedTransaction / properties / signature / items / maxLength
      Previous value: -200New value: +130
    • addedInput schema / properties / signedTransaction / properties / signature / items / minLength
      Added value: +130
    • addedInput schema / properties / signedTransaction / properties / signature / items / pattern
      Added value: +"^(?:[a-fA-F0-9]{2})+$"
    • addedInput schema / properties / signedTransaction / properties / signature / minItems
      Added value: +1
    • addedInput schema / properties / signedTransaction / properties / txID / minLength
      Added value: +64
    • addedInput schema / properties / signedTransaction / properties / txID / pattern
      Added value: +"^(?:[a-fA-F0-9]{2})+$"
    • addedInput schema / properties / signedTransaction / properties / visible
      Added value: +{
      +  "type": "boolean"
      +}
    • changedInput schema / properties / signedTransaction / required
      Previous value: -[
      -  "txID",
      -  "signature"
      -]New value: +[
      +  "visible",
      +  "txID",
      +  "raw_data_hex",
      +  "signature",
      +  "raw_data"
      +]
  2. Added

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It adds useful context: broadcasting is followed by verification that platform permissions were applied, and authentication is required. However, it does not explain what happens if verification fails, what the return value looks like, or whether the broadcast is irreversible.

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

Conciseness5/5

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

The description is three short sentences with no filler. It front-loads the action, then states the verification behavior, and ends with the usage and authentication context. Every sentence adds value.

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?

Given the rich input schema and the explicit workflow hint ('after signing the transaction from build_permission_transaction'), the description covers the key invocation context. It even notes post-broadcast verification, which is important for this tool. The main omission is failure or return behavior, but the schema and workflow guidance make it sufficiently complete for correct invocation.

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 description coverage is 100%, and the schema already provides detailed descriptions for both signedTransaction and poolAddress. The description adds no parameter-specific information beyond labeling the transaction as 'signed,' so the baseline of 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 names a specific verb and resource: 'Broadcast a signed AccountPermissionUpdate transaction to the TRON blockchain.' It also differentiates itself from the generic sibling broadcast_transaction by specifying the transaction type and mentioning the post-broadcast verification of platform permissions. This makes the tool's purpose unambiguous.

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?

The description gives explicit usage context: 'Use this after signing the transaction from build_permission_transaction.' It also states the authentication requirement. However, it does not explicitly name the alternative broadcast_transaction or state when to use that generic tool instead, leaving a small gap in routing.

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.