Skip to main content
Glama

Prepare a new ve-token stake

prepare_ve33_stake
Read-only

Create a new VeToken stake with an exact stake-token approval. Omitting duration selects the maximum lock; an explicit shorter duration is supported. No existing NFT, vote, fee balance, or ownership is changed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain_id": "<chain_id>",
      "ve_token": "<ve_token>",
      "sender": "<sender>",
      "stake_token": "<stake_token>",
      "amount": "<amount>",
      "salt": "<salt>"
    },
    "name": "prepare_ve33_stake"
  }
}

Input Schema

NameRequiredDescriptionDefault
saltYesUser-selected salt for a deterministic, replay-detectable VeToken ID (bytes32 hex)
amountYesBase units (positive decimal integer)
senderYesaddress
chain_idYesWith ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain
ve_tokenYesaddress
stake_tokenYesaddress
max_durationNoDefaults to true when duration_seconds is omitted; set false only with an explicit duration_seconds
duration_secondsNo

Output Schema

NameRequiredDescriptionDefault
execution_plan_referenceNoartifact_reference; pass unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

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

The annotations declare readOnlyHint=true, but the description's verbs are 'Create a new VeToken stake' and 'exact stake-token approval', which read as state-changing on-chain operations. Even though the 'prepare_' naming convention suggests transaction construction, the description never says it merely builds/returns an unsigned transaction, so an agent reading it can reasonably conclude the call mutates staking state. This is an Annotation Contradiction.

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?

Three short sentences with the operation and its approval requirement front-loaded; the no-side-effects clause is placed last, which is sensible. Nothing is padded, though the duration sentence is partly redundant with the schema.

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

Completeness3/5

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

With an output schema present and 88% parameter coverage, the definition needn't describe return values, and it correctly notes unaffected state (NFT, vote, fees, ownership). The critical gap is the unresolved execute-versus-prepare ambiguity relative to readOnlyHint=true, plus no guidance on choosing this tool over increase_stake.

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 88%, so most parameters are already well documented, including max_duration's conditional default and chain_id's source. The description's duration sentence ('omitting duration selects the maximum lock') largely restates what the schema already says for max_duration/duration_seconds, adding little new meaning.

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 names a concrete verb and resource ('Create a new VeToken stake') and adds scope detail ('exact stake-token approval'), which is more specific than the title alone. It does not explicitly distinguish a brand-new stake from the sibling 'prepare_ve33_increase_stake' or 'prepare_ve33_extend', so differentiation is implied rather than stated.

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?

Usage is only implied by the word 'new' and by the note that no existing NFT, vote, fee balance, or ownership changes, which hints at the create-only case. There is no explicit when-to-use versus the many sibling prepare_ve33_* tools (increase_stake, extend, merge, split), leaving the agent to infer the boundary.

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.