Skip to main content
Glama

Borsa Zekâ

Strateji testi

strateji_testi
Read-only

Bir hissede strateji backtest'i (yalnız uzun pozisyon, sinyal kapanışta, işlem ertesi açılışta, %0,2 komisyon, Sharpe piyasanın risksiz faizi düşülerek: BIST TL, ABD USD). Stratejiler: sma_cross = Hareketli Ortalama Kesişimi [fast=20, slow=50]; rsi_reversion = RSI Ortalamaya Dönüş [period=14, lower=30, upper=70]; macd = MACD Kesişimi [fast=12, slow=26, signal=9]; bollinger = Bollinger Bandı Dönüşü [period=20, k=2]; supertrend = Supertrend [period=10, mult=3]; donchian = Donchian Kırılımı (Kaplumbağa) [entry=20, exit=10]; composite = Bileşik Teknik Skor [buy=25, sell=-10].

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": {
      "sembol": "<sembol>",
      "strateji": "<strateji>"
    },
    "name": "strateji_testi"
  }
}

Input Schema

NameRequiredDescriptionDefault
donemNoVarsayılan 5y
kar_alNoOran: 0.2 = %20
sembolYesBIST kodu (THYAO), ABD kodu (AAPL; çakışmada AAPL.US) ya da Yahoo sembolü (XU100.IS, ^GSPC, USDTRY=X, GC=F)
stratejiYesStrateji kimliği (açıklamadaki listeden)
parametrelerNoVarsayılanları ezen parametreler, ör. { "fast": 10, "slow": 30 }
zarar_durdurNoOran: 0.08 = %8

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / parametreler / description
      Added value: +"Varsayılanları ezen parametreler, ör. { \"fast\": 10, \"slow\": 30 }"
    • addedInput schema / properties / strateji / description
      Added value: +"Strateji kimliği (açıklamadaki listeden)"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description is not required to establish safety, yet it adds substantial modeling context beyond them: signal evaluated at close, execution at next open, 0.2% commission, and Sharpe computed net of the market risk-free rate per currency. It does not mention runtime cost, data-availability failure modes, or what happens if the symbol is unknown, which keeps it below a 5.

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 text is front-loaded with the modeling assumptions, then the strategy catalog, with zero filler sentences. The strategy enumeration is long but each entry carries defaults the agent actually needs, so the density is earned rather than redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description is the only place an agent could learn what a backtest returns, and it never mentions result fields such as cumulative return, Sharpe, drawdown, or trade count. Combined with a nested free-form 'parametreler' object and six parameters, this leaves a meaningful gap for an otherwise complex 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%, so the baseline is 3, and the description does add real value by publishing the default value of each strategy's tunable parameters (fast=20/slow=50, period=14/lower=30/upper=70, etc.), which is exactly what the free-form 'parametreler' object overrides. It stops short of explaining interactions between parameters (e.g. fast must be less than slow) or how donem/kar_al/zarar_durdur are applied in the simulation.

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 opens with a specific verb and resource ('Bir hissede strateji backtest'i') and enumerates all seven supported strategy identifiers with their default parameters, so an agent knows exactly what the tool computes. It does not explicitly contrast itself with the sibling strateji_karsilastir, which is the main thing separating a 4 from a 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 parenthetical 'yalnız uzun pozisyon' scopes the tool to long-only backtests, which tells the agent when it is inappropriate. There is no explicit when-to-use statement and no named alternative for comparison or live-data scenarios, so the agent must infer routing from sibling names alone.

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.