Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_get_settings_catalog

Read-onlyIdempotent

Read an engine's settings catalog before planning or changing bot settings to get valid paths, ranges, defaults, dependencies, and key-change permissions.

Instructions

Every setting of one engine (mt5, bybit, phemex or grid): its path, type, unit, range, default, meaning in English and German (meaning_en, meaning_de), the settings it depends on (depends_on), whether it changes how much is risked (money), and whether a key may change it (key_may_change). Read this FIRST, before you plan or change any bot setting: use only the paths it lists, inside their range, and never one whose key_may_change is false. count is the number of settings. version is a hash of the catalog: when it equals the version you read before, nothing changed and you need not read it again. Narrow the answer with paths, each a full path (TRADING_PARAMS.LEVERAGE) or a block (MARTINGALE, every setting under it); not_found lists those that matched nothing. The resource segnals://settings/{engine} holds the same catalog. Requires: any valid key. Example: segnals_get_settings_catalog({ engine: "bybit", paths: ["TRADING_PARAMS", "MARTINGALE.ENABLED"] })

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": {
      "engine": "<engine>"
    },
    "name": "segnals_get_settings_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNoOnly these settings: a full path (TRADING_PARAMS.LEVERAGE) or a block (MARTINGALE). Leave it out for every setting.
engineYesThe engine: "mt5", "bybit", "phemex" or "grid" (the MT5 grid strategy)
accountNoThe account to act on. Optional: this program holds one account, "default".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly and idempotent annotations, the description discloses that version is a catalog hash enabling cache-skipping, that dependencies are exposed via depends_on, that a valid key is required, and that not_found lists unmatched paths. These are meaningful behavioral traits that help an agent invoke and interpret the tool correctly.

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 description is dense and front-loads the purpose and the read-first instruction, with every clause generally carrying useful information. It is somewhat run-on and repeats the engine list and resource reference, so it is not maximally concise, but it remains well structured.

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?

For a read-only catalog tool with no output schema, the description explains the key return concepts (count, version, not_found), filtering behavior, authorization requirement, and safety constraints on returned settings. An agent has enough information to call it correctly without opening additional documentation.

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 already 100%, but the description adds useful meaning: paths may be a full path like TRADING_PARAMS.LEVERAGE or a block like MARTINGALE, and unmatched entries appear in not_found. It does not discuss the account parameter, but the schema already documents it, so this is a strong supplement rather than full compensation.

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?

The description states precisely that this returns every setting of one engine and enumerates the metadata fields returned: path, type, unit, range, default, meanings, dependencies, money risk, and key_may_change. This is a specific resource and scope that an agent can distinguish from generic account, bot, or strategy getters.

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?

It explicitly says to read this FIRST before planning or changing any bot setting, to use only listed paths and ranges, and never to change a key whose key_may_change is false. It also explains how to narrow results with paths and how not_found behaves, leaving little ambiguity about when and how to use it.

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