Skip to main content
Glama

Get a strategy's instructions

get_strategy
Read-only

The full prompt and editable settings for one starter strategy. prompt is ready to run: the same text the app copies. Run that prompt as the user's standing instructions for this session. Before starting: confirm the editable numbers (chips: amounts, exits, schedule) with the user, and check get_my_active_strategies so you never run one twice. Once the user says go, record it with save_active_strategy (pass strategy_id). ask_before_every_trade=true adds the 'ask me before every trade' line, on cards that support it (ask_line_supported). app_links are Moby app deep links to hand to the user; they open the Moby app on their phone.

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": {
      "strategy_id": "<strategy_id>"
    },
    "name": "get_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategy_idYesA card `id` from list_strategies.
ask_before_every_tradeNoTrue adds the 'ask me before every trade' line to the prompt.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / ask_before_every_trade / title
      Removed value: -"Ask Before Every Trade"
    • removedInput schema / properties / strategy_id / title
      Removed value: -"Strategy Id"
    • removedInput schema / title
      Removed value: -"get_strategyArguments"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds substantial context beyond that: the returned prompt is intended to become the session's standing instructions, `app_links` are deep links to hand to the phone app, and `ask_before_every_trade` only takes effect on cards where `ask_line_supported` is true. It does not cover failure modes (e.g., invalid or unknown `strategy_id`), which keeps it short of 5.

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?

Front-loads the core payload description, then layers prerequisites and side effects in a logical order with no filler sentences. The middle is slightly jammed — multiple workflow steps and output-field caveats packed into two dense sentences — but every clause carries operational information.

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?

An output schema exists, yet the description still labels the key returns (`prompt`, `chips`, `app_links`, `ask_line_supported`) and explains how to act on them. Combined with prerequisites, the no-double-run rule, and the follow-up `save_active_strategy` step, an agent has everything needed to call this correctly and use the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: the boolean adds a specific 'ask me before every trade' line and is silently ineffectual on cards lacking `ask_line_supported`. It also frames `chips` amounts, exits, and schedule as the user-confirmable editable numbers rather than opaque values.

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 resource and payload: 'The full prompt and editable settings for one starter strategy,' and clarifies that `prompt` is the exact runnable text the app copies. It implicitly distinguishes itself from list_strategies by referring to 'one starter strategy' and tying `strategy_id` to a card from list_strategies, though it never names list_strategies directly as the discovery step.

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?

Gives an explicit ordered workflow: confirm editable numbers with the user first, check `get_my_active_strategies` so you never run one twice, then record with `save_active_strategy` once the user says go. It names the sibling tools to consult and the condition that triggers each, including a clear 'never' exclusion.

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.

Resources