Skip to main content
Glama

stellar_contract_extend

Extend the time-to-live of Stellar contract data entries. Specify ledgers to extend, source account, and network to keep contract data active.

Instructions

Extend the time-to-live of contract data entries

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feeNoTransaction fee in stroops
keyNoStorage key to extend (symbols only)
key_xdrNoStorage key as base64-encoded XDR
networkYesStellar network
build_onlyNoOnly build transaction, do not submit
durabilityNoStorage durability type
contract_idNoContract ID owning the data entries
source_accountYesAccount that will pay for the extension
ttl_ledger_onlyNoOnly print the new TTL ledger, do not submit
ledgers_to_extendYesNumber of ledgers to extend TTL by

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 burden of behavioral disclosure. It implies a mutation ('Extend') but fails to mention that this typically submits a transaction, requires a source account, incurs fees, or can be used with build_only/ttl_ledger_only flags visible in the schema.

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, front-loaded sentence with no wasted words. It is appropriately sized for a concise statement of purpose, though its brevity contributes to gaps in other dimensions.

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 tool with 10 parameters, no annotations, no output schema, and many sibling tools, the description is far too sparse. It omits when to use the tool, how it interacts with required parameters like network and source_account, and what behavioral differences exist between normal submission and build_only/ttl_ledger_only modes.

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 already has documentation within the input schema. The description adds no additional parameter semantics, making the baseline of 3 appropriate.

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?

The description states a specific verb ('Extend') and resource ('time-to-live of contract data entries'), so the tool's purpose is clear. However, it does not differentiate itself from related sibling tools such as stellar_contract_restore or stellar_contract_read, which might also manipulate contract data state.

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, nor does it mention prerequisites, network context, or transaction-submission implications. It simply states the action, leaving the agent to infer usage from the schema alone.

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