Skip to main content
Glama

evm_create_token_stream

Creates continuous token streaming and vesting schedules for salaries, grants, or payments on supported EVM chains, with linear unlocks, optional cliffs, and cancellation.

Instructions

Create continuous token streaming/vesting schedule.

Sets up linear vesting streams for salaries, grants, or payment scheduling. Tokens unlock continuously over time (Sablier-style).

PARAMETERS:

  • chain: Target EVM chain

  • streamType: linear | dynamic (optional, default: linear)

  • token: ERC20 token address to stream

  • recipient: Stream recipient address

  • totalAmount: Total amount to stream

  • duration: Stream duration in seconds

  • startTime: Unix timestamp start (optional, default: now)

  • cliffDuration: Cliff period in seconds (optional, default: 0)

  • cancelable: Whether sender can cancel (optional, default: true)

  • privateKey: Sender's private key

  • streamingContract: Streaming contract address (optional override)

STREAMING: • Linear vesting over time period • Recipient can withdraw unlocked tokens anytime • Sender can cancel and recover unvested tokens • No intermediaries or trust required • Common for salaries and grants

Returns stream ID, unlock schedule, and withdrawal instructions.

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": "<chain>",
      "token": "<token>",
      "recipient": "<recipient>",
      "totalAmount": "<totalAmount>",
      "duration": "<duration>",
      "privateKey": "<privateKey>"
    },
    "name": "evm_create_token_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
tokenYesERC20 token address
durationYesStream duration in seconds
recipientYesStream recipient address
startTimeNoUnix timestamp start (optional, default: now)
cancelableNoCan sender cancel stream (optional, default: true)
privateKeyYesSender private key
streamTypeNoLinear (constant) or dynamic (custom curve) - default: linear
totalAmountYesTotal amount to stream
cliffDurationNoCliff period in seconds (optional, default: 0)
streamingContractNoStreaming contract address (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that the recipient can withdraw unlocked tokens at any time, that the sender can cancel and recover unvested funds, and that no intermediary is involved. It also names the return values (stream ID, unlock schedule, withdrawal instructions). It omits operational risks such as gas cost and whether the sender's token balance/approval must be in place before the call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and scannable, but the bulleted STREAMING section repeats earlier statements ('Linear vesting over time' restates 'Tokens unlock continuously over time', and salaries/grants appear twice). Several lines could be merged without loss.

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?

For an 11-parameter value-moving tool with no annotations and no output schema, the description covers the lifecycle and return shape reasonably well. However, it never addresses prerequisites (token approval, sender balance), cost, or validation constraints between duration, cliffDuration, and startTime — gaps that matter before an irreversible stream is created.

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 coverage is 91%, so the schema already documents nearly every parameter, and the description's parameter list largely restates it. The one semantic addition is the interpretation of cancelable and the streamType choice, but the practical interplay (e.g., cliffDuration must not exceed duration) is not explained. Baseline 3 applies where 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?

The description opens with a specific verb and resource — 'Create continuous token streaming/vesting schedule' — and clarifies it as Sablier-style linear vesting. An agent can tell this creates a new stream rather than querying or approving tokens. It does not explicitly distinguish itself from other creation siblings, but the resource is unambiguous.

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 implied through examples ('salaries, grants, or payment scheduling') rather than stated as conditions. There is no guidance on when to prefer this over an alternative, no prerequisites (e.g., token balance or approval), and no when-not guidance, leaving the agent to infer fit.

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