Skip to main content
Glama

stellar_contract_bindings

Generate client bindings for a Stellar smart contract in languages like TypeScript, Rust, Python, or Java from a contract ID, WASM file, or hash.

Instructions

Generate client bindings for a contract in various languages

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wasmNoPath to WASM file
networkNoNetwork for fetching contract
languageYesTarget language for bindings
overwriteNoOverwrite existing output directory
wasm_hashNoHash of WASM on network
output_dirNoDirectory to output generated bindings
contract_idNoContract ID on network

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/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 behavioral burden, and it does not say that this writes files to disk, what happens when output_dir already exists (the overwrite param hints at it but the risk is undisclosed), or whether it hits the network. For a filesystem-writing generation tool this is a notable gap.

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?

A single tight sentence with the verb and resource front-loaded and no wasted words. It is not padded, though it is arguably too short given the tool's 7 parameters.

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?

With 7 parameters, no output schema, and no annotations, the description should clarify the wasm-vs-(contract_id+network) input paths, the required language, and the output destination behavior. As written it leaves the agent to reconstruct the invocation from the schema alone.

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 every parameter is already documented in the schema; the description adds no syntax, format, or usage guidance beyond 'various languages'. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('Generate client bindings') plus scope ('for a contract in various languages'), which is enough to distinguish it from siblings like stellar_contract_build or stellar_contract_deploy. It does not, however, name or contrast any sibling explicitly.

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?

No when-to-use, prerequisites, or alternatives are given. An agent must infer that this is a post-build step and that the contract source comes from either a WASM file or a contract_id on a network.

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