Skip to main content
Glama

make_app_update_txn

Create an Algorand application update transaction to modify smart contract programs and parameters on the blockchain.

Instructions

Create an application update transaction

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesSender address in standard Algorand format (58 characters)
appIndexYesID of the application to update
approvalProgramYesNew approval program (compiled TEAL as base64)
clearProgramYesNew clear state program (compiled TEAL as base64)
noteNoTransaction note field (up to 1000 bytes)
leaseNoLease enforces mutual exclusion of transactions (32 bytes)
rekeyToNoAddress to rekey the sender account to
appArgsNoArguments to pass to the application (max 16 arguments)
accountsNoAccounts whose local state may be accessed (max 4 accounts)
foreignAppsNoIDs of apps whose global state may be accessed (max 8 apps)
foreignAssetsNoIDs of assets that may be accessed (max 8 assets)
onCompleteNoApplication call completion behavior (0=NoOp, 1=OptIn, 2=CloseOut, 3=ClearState, 4=UpdateApplication, 5=DeleteApplication)
feeNoTransaction fee in microAlgos. If not set, uses suggested fee from the network
flatFeeNoIf true, fee is used as-is (flat fee). If false (default), fee is per-byte
networkNoAlgorand network to use (default: mainnet)
itemsPerPageNoNumber of items per page for paginated responses (default: 10)
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the action ('create') without disclosing behavioral traits. It doesn't mention that this is a write/mutation operation, potential side effects (e.g., updating app logic), permissions needed, rate limits, or what the output looks like (transaction object vs. sent transaction).

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 a single, efficient sentence with zero wasted words. It's front-loaded with the core action and resource, making it highly concise and well-structured for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex mutation tool with 16 parameters and no annotations or output schema, the description is inadequate. It doesn't explain the transaction's purpose (updating app logic), typical use cases, required inputs beyond the schema, or what the agent should expect as a result, leaving significant gaps.

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%, so the schema fully documents all 16 parameters. The description adds no parameter semantics beyond the schema, not even hinting at core parameters like 'appIndex' or 'approvalProgram'. Baseline 3 is appropriate as the schema does all the work.

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

Purpose3/5

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

The description 'Create an application update transaction' states the action (create) and resource (application update transaction), which is clear. However, it doesn't differentiate from sibling tools like 'make_app_create_txn' or 'make_app_delete_txn' that also create application-related transactions, leaving the specific 'update' purpose somewhat vague in context.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing app to update), exclusions, or compare to siblings like 'make_app_call_txn' or 'make_app_create_txn', leaving the agent without usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GoPlausible/algorand-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server