Skip to main content
Glama

position_lifecycle_begin

Buy a 24h Position Lifecycle bundle for one position subject and return the one-time control token. Use it when an agent needs guard, execution-receipt and close steps inside one prepaid window. Do not use it for a single guard (use check_trade_safety) and never share the token. Returns lifecycleId, the plc_ token, the covered expiry and the credits charged. Deprecated alias: prefer position_lifecycle with op "begin". Removed on 2027-01-06.

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": {
      "symbol": "<symbol>"
    },
    "name": "position_lifecycle_begin"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain-name filter (e.g. "ethereum", "base", "hyperevm"); not a numeric chain id
symbolYesPosition subject for the lifecycle

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / chain / description
      Added value: +"Chain-name filter (e.g. \"ethereum\", \"base\", \"hyperevm\"); not a numeric chain id"
  2. Changed6 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / chain / description
      Removed value: -"Optional chain scope fixed for the coverage"
    • removedInput schema / properties / chain / enum
      Removed value: -[
      -  "ethereum",
      -  "arbitrum",
      -  "optimism",
      -  "polygon",
      -  "solana",
      -  "avalanche",
      -  "fantom",
      -  "cronos",
      -  "juno",
      -  "cosmos",
      -  "osmosis",
      -  "bnb-chain",
      -  "base",
      -  "scroll",
      -  "zksync",
      -  "aptos",
      -  "sui",
      -  "gnosis",
      -  "mantle",
      -  "linea",
      -  "celestia",
      -  "injective",
      -  "sei",
      -  "tron",
      -  "ton",
      -  "near",
      -  "aurora",
      -  "celo",
      -  "starknet",
      -  "blast",
      -  "cardano",
      -  "polkadot",
      -  "kava",
      -  "moonbeam",
      -  "moonriver",
      -  "metis",
      -  "starkex",
      -  "stellar",
      -  "flare",
      -  "supra-chain",
      -  "bandchain",
      -  "monad"
      -]
    • changedInput schema / properties / symbol / description
      Previous value: -"Asset monitored for the whole coverage, e.g. ETH"New value: +"Position subject for the lifecycle"
    • addedInput schema / properties / symbol / maxLength
      Added value: +20
    • addedInput schema / properties / symbol / minLength
      Added value: +1
  3. Added

TDQS

A4.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 burden and does most of it: it discloses the prepaid 24h window, that the control token is one-time and must not be shared, the credit charge, and the exact return fields (lifecycleId, plc_ token, covered expiry). It does not say what happens if a lifecycle already exists for the subject, nor what an insufficient-credit or failure response looks like, which keeps it below a 5.

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?

Four compact sentences, front-loaded with the action and return value, then usage boundaries, then the return contract, then the deprecation notice last. No filler or restatement of the name; the security warning and sunset date each earn their place.

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

Completeness5/5

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

Only two simple parameters and no output schema, so the description must supply the return contract itself — which it does (lifecycleId, plc_ token, expiry, credits charged). It also flags the deprecation and removal date, so an agent knows to prefer the newer sibling, leaving nothing essential unstated.

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 both parameters are already documented; the description reinforces that symbol identifies the single "position subject" the bundle covers but says nothing about chain (e.g. whether omitting it defaults or errors). Baseline 3 is appropriate when the schema does the explanatory work.

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?

"Buy a 24h Position Lifecycle bundle for one position subject and return the one-time control token" gives a specific verb (buy), a specific resource (lifecycle bundle), its duration and its output. It explicitly contrasts itself with check_trade_safety (single guard) and with position_lifecycle op "begin", so an agent can place it among 20 siblings without opening a schema.

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

Usage Guidelines5/5

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

States the positive condition (an agent needs guard, execution-receipt and close steps in one prepaid window), the negative condition (not for a single guard → use check_trade_safety), a security rule (never share the token), and a deprecation routing rule (prefer position_lifecycle with op "begin"). Both alternatives and the selection criteria are named explicitly.

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.