Skip to main content
Glama

Update strategy (overwrites saved fields)

update_strategy
Destructive

⚠️ Replaces live state: every field you pass overwrites the saved value (allocation, instructions, custom tickers) — there is no merge — and a strategy linked to an active trading account changes what that account trades once re-synced. Confirm with the user first. Update an existing strategy

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": {
      "strategyId": "<strategyId>"
    },
    "name": "update_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoStrategy name
userIdNoThe user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me).
isPublicNoMake public
strategyNoTrading strategy type
allocationNoAsset class allocation
strategyIdYesThe strategy ID
descriptionNoStrategy description
instructionsNoAI instructions
customTickersNoCustom tokens

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only say destructiveHint=true and non-idempotent; the description goes much further by disclosing that there is no merge, that every passed field overwrites saved state, that omission is not preservation, and that live trading behavior changes after re-sync. This is exactly the behavioral context annotations cannot convey.

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?

The destructive warning is correctly front-loaded and the sentences are dense with useful content. The trailing fragment "Update an existing strategy" is a redundant restatement of the name placed after the warning, which weakens the ordering slightly.

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 9-parameter destructive mutation with nested allocation objects and no output schema, the description covers the highest-risk facts: no merge, live-account impact, and user confirmation. It leaves minor gaps such as what a null description/customTickers does and whether re-sync is automatic or manual.

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 would be 3, but the description adds real semantics: passed fields replace rather than merge, and it names allocation, instructions, and customTickers as affected examples. It does not explain null handling for description/customTickers, which is the one remaining gap.

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 states a specific verb and resource ("Update an existing strategy") and the title clarifies the overwrite behavior, so an agent knows exactly what is being mutated. It does not explicitly contrast with siblings like create_strategy or update_account_autotrade_settings, but "existing" implicitly separates it from creation.

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?

It gives a clear usage condition — confirm with the user before calling — and explains the consequence that triggers caution (a linked active trading account changes what it trades after re-sync). It stops short of naming alternatives or stating when not to use this tool (e.g., for autotrade settings, use the sibling).

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.