Skip to main content
Glama

Portföy analizi

portfoy_analizi
Read-only

Analyze a registered or supplied stock portfolio to report value, profit/loss, weights, sector allocation, technical scores, beta, volatility, max drawdown, and average correlation.

Instructions

Kullanıcının kayıtlı portföyünü (ya da verilen pozisyonları) analiz eder: 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. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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 and the description only needs to add operational context. It does add the two input modes and effectively a return-value summary, but says nothing about data freshness/latency (relevant for an open-world market-data call), what happens on an empty saved portfolio, or how metrics behave for a single position. Adequate but not rich.

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 sentence, front-loaded with the verb and resource before the metric enumeration, with zero filler. The long metric list is justified because there is no output schema to describe return values. Slightly dense as a comma-run without grouping, but nothing is wasted.

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 telling the agent what comes back, and the enumerated metric list does that well. Remaining gaps are modest: no note on data staleness for an open-world tool and no failure-mode hint when the portfolio is empty. For a one-optional-parameter, read-only tool this is close to sufficient.

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 optional parameter (pozisyonlar, with sembol/adet/maliyet) is already documented, including the "if omitted, saved portfolio is used" fallback. The description adds no meaning beyond the schema — notably it does not explain that omitting maliyet changes what the P/L figure can represent. Baseline 3 applies.

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?

Names a specific verb ("analiz eder") and a specific resource ("kayıtlı portföyünü ... ya da verilen pozisyonları"), then enumerates the exact outputs: value, P/L, weights, sector distribution, per-position technical score/beta/volatility, portfolio volatility, beta, max drawdown, average correlation. That is far more specific than a restatement of the title. It stops short of a 5 because it never distinguishes itself explicitly from portfolio-adjacent siblings such as portfoy_guncelle or hisse_analizi; the differentiation is left to be inferred from the resource level (portfolio vs. single stock).

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: the parenthetical "ya da verilen pozisyonları" tells the agent it can be run ad hoc against arbitrary positions, and the schema note covers the default of the saved portfolio. There is no explicit when-to-use/when-not-to-use guidance and no pointer to an alternative (e.g., hisse_analizi for a single symbol, portfoy_guncelle when the saved portfolio must change first).

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