Skip to main content
Glama

stellar_contract_upload

Upload a WASM file to the Stellar ledger without creating a contract instance, useful for staging contract code before deployment.

Instructions

Upload a WASM file to the ledger without creating a contract instance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feeNoTransaction fee in stroops
wasmYesPath to WASM file to upload
networkYesStellar network
build_onlyNoOnly build transaction, do not submit
ignore_checksNoIgnore safety checks
source_accountYesAccount that will upload the WASM

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It says nothing about permissions/authorization, whether the upload is idempotent or returns a WASM hash, or that 'build_only' turns this into a dry run and 'ignore_checks' bypasses safety checks. For a ledger-mutating tool with no annotation coverage this is a significant gap.

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?

A single front-loaded sentence with zero waste. The scope distinction is placed immediately after the action.

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 six-parameter mutation tool with no annotations and no output schema, the description omits the behavioral impact of build_only and ignore_checks and says nothing about the result of a successful upload. It is under-specified relative to the tool's complexity.

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 already documents all six parameters, including build_only, ignore_checks, fee, and network enum. The description adds no parameter meaning beyond what the schema provides, making the baseline 3 correct.

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?

States a specific verb (upload) and resource (WASM file) with an explicit scope qualifier ('without creating a contract instance') that cleanly separates it from stellar_contract_deploy. An agent can distinguish it from the deploy sibling without opening either schema.

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

Usage Guidelines3/5

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

The phrase 'without creating a contract instance' implies the deploy alternative but never names it or states when each is preferred. Usage is inferable rather than explicit, which is minimum viable.

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

Deploy Server

Other Tools