Skip to main content
Glama

Change an indicator's settings on my open Vela chart

vela_set_indicator_settings

Changes settings of one indicator on the chart the signed-in member has open right now in Vela, as its settings dialog would: a length, a source, a mode, a toggle, a colour. Name the indicator by the id vela_read_chart gives it and each setting by the name vela_get_indicator_settings lists; read the settings first rather than guessing names. Use it when the member asks to tune an indicator on their chart ("set the RSI length to 21", "turn off the labels"). Vela checks every value against what the indicator declares before anything changes: a setting it does not have, or a value it does not allow, changes nothing and the result says why and lists the settings. The indicator re-runs with the new values in front of the member, who is told an assistant changed their chart; the script itself is not edited (to change what an indicator does, quant_generate_pine_script). Returns each setting changed, from what to what, and what the chart shows afterwards. With the member's Vela tab on screen it happens in front of them within seconds. When it is not (they are in another tab), the change is queued and applied the moment they look at Vela again, within 10 minutes: the result then says queued, so tell them to open Vela. Requires signing in with a LuxAlgo account (OAuth).

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": {
      "id": "<id>",
      "settings": "<settings>",
      "context": "<context>"
    },
    "name": "vela_set_indicator_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe indicator, by the id vela_read_chart gives it, e.g. "i_0k3v9qa1x7m2pd".
slotNoOne chart of a multi-chart layout, by position (0 is the top-left, in reading order). Leave it out for the chart the member is working on.
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution."
settingsYesThe settings to change; the rest keep their values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations (which only say readOnly=false, destructive=false, openWorld=true): it discloses pre-write validation and the all-or-nothing failure mode, that the member is visibly notified, that the indicator re-runs, and the deferred-execution case with a 10-minute queue window and the resulting "queued" status. It also names the OAuth/auth requirement.

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-loaded with the action and scope, then routing, then behavior, then return shape — a sensible order with no filler sentences. It is dense and long for a single paragraph, and the example phrasings plus the queuing detail make it heavier than strictly necessary, but nearly every clause carries decision-relevant 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?

There is no output schema, and the description compensates by describing what the result reports (each setting changed, from what to what, and the post-change chart state) plus the failure and queued variants. For a mutating, open-world tool with four parameters, an agent has everything needed to call it correctly and interpret the outcome.

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; the description earns more by explaining the provenance of the `id` (from vela_read_chart) and of each setting `name` (from vela_get_indicator_settings), which the schema alone does not connect. It says nothing additional about `slot` or `context` beyond what the schema already documents.

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 resource ("Changes settings of one indicator on the chart the signed-in member has open") and immediately bounds scope to the currently open chart. It distinguishes itself from the neighboring write path by saying the script itself is not edited and pointing to quant_generate_pine_script for that.

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 trigger with concrete member phrasings ("set the RSI length to 21", "turn off the labels"), an ordering prerequisite ("read the settings first rather than guessing names"), and a named alternative for the adjacent-but-different goal of changing indicator logic.

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.