Skip to main content
Glama

Agent Rynku - Warsaw Stock Exchange (GPW) data for your agent

recommend_position_size

Read-only

Podpowiedź wielkości pozycji z uwzględnieniem zmienności i koncentracji portfela. Wycena wymaga PRO.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesRequired ticker. Server canonicalizes GPW aliases.
accountNoOptional cash scope: size the position from ONE account instead of the sum over all of them. Use when the order goes to a specific brokerage account (a retirement account cannot fund a purchase on a standard one).
convictionYesConviction level. Strings high/medium/low or numeric 1-10 (7-10 high, 4-6 medium, 1-3 low).
stopLossPctNoOptional stop-loss percent (>0). When provided, sizing also respects risk-per-trade R-multiple budget. Omit (or pass null) to skip R-multiple sizing.
availableCashNoCash available for the position, in PLN. Optional; defaults to portfolio cash when omitted. Mutually exclusive with `account`.
holdingPeriodMonthsNoOptional intended holding period. Defaults to user.profile.defaultHorizonMonths; reserved for future horizon-aware tuning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotation readOnlyHint=true already establishes this is a safe read operation, so the bar is lower. The description adds the important behavioral constraint that 'Wycena' requires PRO, which is useful contextual information beyond the annotation. It does not disclose what the response contains, but the read-only safety profile is already covered.

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 two short sentences with no filler, and the core purpose is front-loaded in the first sentence. The PRO note is placed second and is reasonably concise, though its wording is slightly awkward.

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

Completeness2/5

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

For a tool with six parameters, a nested account object, and no output schema, the description is too thin: it never states what the returned recommendation looks like, what units it is in, or when to choose this over suggest_order_size. The rich parameter descriptions in the schema compensate for inputs, but the overall call context remains incomplete.

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 input schema already documents every parameter, including optional account scoping and the stop-loss R-multiple behavior, so the baseline of 3 applies. The description's mention of volatility and concentration provides conceptual framing but adds no concrete parameter details beyond the schema.

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 first sentence names a concrete action and resource: it suggests a position size, and adds differentiating factors 'volatility and portfolio concentration' that separate it from generic ordering tools like suggest_order_size. The second sentence about 'Wycena requires PRO' is slightly ambiguous in translation, which keeps this 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusions, and no mention of sibling alternatives. The only contextual note is the PRO requirement, which is a precondition rather than guidance on choosing this tool over suggest_order_size or recommend_diversification.

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.