Skip to main content
Glama

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

suggest_order_size

Read-only

Wielkość zlecenia z uwzględnieniem dostępnej gotówki na konkretnym rachunku.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brokerYesBroker fee schedule to use. 'bossa' (0.291% min 5 PLN), 'xtb' (0% to 100k EUR MTD turnover, then 0.2% min 10 EUR), 'mbm' (0.39% min 5 PLN).
intentYesDirection. Affects commission for some brokers (currently none — symmetric — but kept for future).
symbolNoTicker. Used for commission calculation only — server canonicalizes for diagnostics.
targetQtyYesHow many shares to transact total.
currentPriceNoLast known price PLN/share. If omitted, server reads price_history_daily.
xtbCurrentMtdEurNoXTB only: user's MTD stocks turnover EUR. Default 0 (assume tier-1 free). Used to compute when remaining order cliffs into 0.2% paid tier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already mark the tool as readOnlyHint=true, and the description adds no behavioral context beyond that. It does not mention that no order is actually placed, how account cash is used, or what happens if cash is insufficient. The description adds little beyond the annotation and the schema.

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 a single efficient sentence with no redundancy or filler. It is front-loaded with the core concept. However, it is arguably under-specified for such a parameter-heavy tool, which is a minor structural drawback.

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?

There is no output schema, so the description should explain what the returned order size represents unconditionally, but it does not. It also fails to mentions when to use this over recommend_position_size or how the cash constraint interacts with broker-specific parameters. For a 6-parameter tool with no output schema, this description is 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%, so the baseline is 3. The description does not add parameter-level meaning beyond what the schema already provides, but it also does not need to; it merely mentions 'available cash' conceptually, which is not directly represented in the parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase ('Order size taking into account available cash on a specific account') rather than stating a clear action. It conveys the general resource and a constraining factor, but does not explicitly say it calculates/suggests the size fussily, and it does not differentiate the tool from the sibling recommend_position_size.

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?

No guidance is given on when to use this tool versus alternatives. In particular, the sibling tool recommend_position_size is likely related, but the description provides no comparison, exclusion, or selection criteria. The description is only a one-line definition with no usage context.

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.