Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Update a strategy's name

update_strategy
DestructiveIdempotent

Updates a strategy's name. Accepts either strategyId or aiStrategyId. Use publish_to_marketplace or my_marketplace_publications(action="unpublish_strategy") for public marketplace visibility.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name for the strategy
strategyIdNoThe Strategy entity ID
aiStrategyIdNoThe AiStrategy entity ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is carried by structured data. The description adds the alternative-identifier behavior and the marketplace routing note, but does not explain why a rename is destructive, whether existing references/names are affected, or what permissions are needed. Useful but not rich beyond annotations.

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?

Three short sentences, zero waste, with the core action front-loaded and the alternative routing following. Every sentence contributes either scope or routing information.

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 3-parameter, annotation-covered mutation with no output schema, this is nearly sufficient: action, identifier options, and sibling routing are all present. The missing piece is confirming that at least one identifier must be supplied despite the schema marking nothing required.

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 baseline is 3, and the description earns an increment by stating the either/or relationship between strategyId and aiStrategyId — a constraint the schema does not express (no oneOf, zero required fields). It still does not say whether both may be passed or which wins.

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?

States a specific verb and narrowly scoped resource ("Updates a strategy's name") rather than a generic update, and immediately clarifies the dual identifier path. An agent can distinguish this from update_plan_item, update_broker_credential, and the marketplace publishing tools without opening any schema.

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?

Explicitly routes marketplace-visibility actions to publish_to_marketplace and my_marketplace_publications(action="unpublish_strategy"), which is genuine when-not-to-use guidance. However, it gives no guidance on when to supply strategyId versus aiStrategyId, which is the main decision an agent faces with this tool.

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.