Skip to main content
Glama

Borsa Zekâ

Portföy analizi

portfoy_analizi
Read-only

Kullanıcının kayıtlı portföyünü (ya da verilen pozisyonları) analiz eder; BIST ve ABD hisseleri birlikte olabilir (USD pozisyonlar güncel kurla TL'ye çevrilir): değer, K/Z, ağırlıklar, sektör dağılımı, her pozisyonun teknik skoru/betası/volatilitesi, portföy volatilitesi, beta, maks. düşüş, ortalama korelasyon.

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

Input Schema

NameRequiredDescriptionDefault
pozisyonlarNoVerilmezse kayıtlı portföy kullanılır

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / pozisyonlar / items / properties / adet / description
      Added value: +"Pay adedi"
    • addedInput schema / properties / pozisyonlar / items / properties / sembol / description
      Added value: +"Hisse kodu"
  2. First observed

TDQS

A3.9/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 safety profile is covered. The description adds genuinely useful behavior beyond that: USD positions are converted to TL at the current exchange rate, which affects interpretation of every reported metric. It does not discuss data freshness, latency, or what happens when the saved portfolio is empty, so it stops short of 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?

One front-loaded sentence establishes the action and inputs, followed by a compact colon-delimited output list — no filler. It is dense and readable, though the output enumeration is long enough that the currency-conversion rule, which affects correctness of interpretation, is buried mid-sentence rather than called out.

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?

With no output schema, the description carries the burden of describing return values, and it does so thoroughly by naming every reported metric including portfolio-level risk statistics. It is complete for a read-only, single-optional-parameter tool; only minor operational details (empty portfolio, staleness of prices) are absent.

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% and the single parameter's nested fields (sembol, adet, maliyet with currency note) are documented in the schema itself. The description only restates the default ('verilmezse kayıtlı portföy') already present in the schema, and adds the currency-conversion caveat for USD cost basis. Baseline 3 is appropriate when the schema does the heavy lifting.

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 a specific verb and resource ('kayıtlı portföyünü ... analiz eder') and enumerates the computed outputs (değer, K/Z, ağırlıklar, sektör dağılımı, teknik skor, beta, volatilite, maks. düşüş, korelasyon). It also defines scope precisely: the saved portfolio or explicitly supplied positions, mixing BIST and US equities. This clearly separates it from the single-stock sibling hisse_analizi without needing to name it.

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 implied rather than stated: an agent can infer this is the portfolio-level counterpart to per-stock analysis and that omitting positions falls back to the saved portfolio. There is no explicit when-to-use/when-not statement, no mention of prerequisites (e.g. an authenticated/registered portfolio), and no named alternative. Adequate but with clear gaps.

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.