Skip to main content
Glama
fd-paper-trading MCP Server

fd-paper-trading MCP Server

Official

Update Strategy

update_strategy
DestructiveIdempotent

Modify an existing paper-trading strategy's name, description, or spec; changing the spec creates a new version while metadata edits leave version unchanged.

Instructions

Update a strategy. Changing the spec bumps its version; name/description edits do not.

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": "update_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name (optional)
specNoNew spec (optional; same shape as create_strategy)
descriptionNoNew description (optional)
strategy_idYesUUID of the strategy

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true, and openWorldHint=true, but the description adds a genuinely non-obvious behavioral rule: changing the spec bumps the version while name/description edits do not. That versioning consequence is real value beyond the structured fields, though it leaves unexplained what 'destructive' means here (e.g., effect on a running strategy).

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 with zero padding; the core action comes first and the non-obvious versioning rule follows immediately.

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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. What remains thin is the partial-update contract (whether null/omitted means 'leave unchanged') and whether a running strategy can be updated safely, though these are minor for a 4-parameter tool.

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%, including a note that spec uses the same shape as create_strategy and that fields are optional. The description reinforces this with the spec-vs-metadata distinction, but adds no new syntax, defaulting, or null/omission semantics beyond the schema.

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 verb (update) and resource (strategy), so an agent can distinguish it from create_strategy, get_strategy, or list_strategies by name alone. It stops short of explicitly contrasting with a sibling (e.g., 'not for creating new strategies'), which keeps it below 5.

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

Usage Guidelines3/5

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

Usage is only implied: the tool is for modifying an existing strategy identified by strategy_id. There is no explicit when-to-use/when-not-to-use guidance, no mention of prerequisites (does the strategy need to be stopped first?), and no pointer to create_strategy for new strategies.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.