Skip to main content
Glama

Vectorial Data Terminal: Hyperliquid, Polymarket & yield for AI agents

set_mode

Idempotent

Flip paper ↔ live. Fund the wallet before going live (see get_account.deposit).

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": {
      "mode": "<mode>"
    },
    "name": "set_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYespaper = simulated fills, nothing to sign; live = real funds from your trading wallet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / mode / description
      Added value: +"paper = simulated fills, nothing to sign; live = real funds from your trading wallet"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so safety profile is covered. The description adds real value by disclosing the funding prerequisite and a cross-reference, but says nothing about what happens to existing orders, positions, or state during the switch.

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?

Two short sentences, the state change front-loaded and the prerequisite plus pointer following immediately. Nothing wasted, no redundancy with the title.

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

Completeness4/5

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

For a one-parameter toggle with annotations and no output schema, the description covers purpose, precondition and the follow-up tool reference. Only gap is the absence of any statement about side effects on existing positions or orders when the mode flips.

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% and the enum values are already explained in-schema ('paper = simulated fills', 'live = real funds'). The description adds no syntax or semantics beyond that, which is the expected baseline when the schema carries the parameter 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?

States a specific action (flip between paper and live trading modes) with a clear resource/state target. No sibling tool does mode switching, so differentiation is implicit and unambiguous, though 'flip' is slightly informal compared to a precise 'switch trading mode' phrasing.

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

Usage Guidelines4/5

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

Gives a concrete precondition for the live direction ('Fund the wallet before going live') and routes the agent to get_account.deposit for that step. It does not state any caveats about switching direction, e.g. whether open paper positions/orders are affected, but for a single-purpose toggle the guidance is clear.

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.