set_mode
Flip paper ↔ live. Fund the wallet before going live (see get_account.deposit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes |
Flip paper ↔ live. Fund the wallet before going live (see get_account.deposit).
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the funding prerequisite and cross-references a sibling tool, but for a mode switch that moves real money it says nothing about required permissions/keys, whether open positions or orders survive the switch, or whether switching back to paper is safe. That leaves a significant gap for a high-stakes mutation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, operation stated first, precondition second with a pointer to the tool that resolves it. No filler whatsoever.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations, no output schema and a single enum parameter, the definition covers the what and one prerequisite but omits the safety-relevant effects of switching to live: authorization requirements, impact on existing positions/orders, and reversibility. An agent could invoke it but might do so without understanding the consequences.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and there is one required parameter, but its enum values ('paper', 'live') are self-explanatory and the description reinforces their meaning while adding the funding condition attached to the live value. Little is lost, though it never explicitly ties the mode values to the enum or says what happens if the wallet is unfunded.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The verb 'Flip' plus the resource 'paper ↔ live' states the operation concretely: switching the account between paper and live trading modes. It is clearly distinguishable from siblings like resume_trading or kill_switch, though the informal 'flip' relies on the reader inferring that 'paper/live' are account modes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives one real precondition ('Fund the wallet before going live') and points to get_account.deposit, which is useful. It does not say when not to switch, whether the account must be flat, or how this relates to authorize_trading_key or resume_trading, so usage is only partially implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.