Skip to main content
Glama

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

compare_portfolio_risk_reward

Read-only

Ranking pozycji i watchlisty według relacji zysku do ryzyka.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax symbols to return, default 25
includeWatchlistNoInclude watchlist symbols alongside holdings

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotation readOnlyHint=true is consistent with the described ranking behavior, so there is no contradiction. The description adds the sorting criterion and scope, but it does not disclose metric definitions, output format, or how includeWatchlist affects behavior beyond 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 one front-loaded sentence with no redundant words or irrelevant detail. It is concise and easy to parse, even though it sacrifices some contextual depth.

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?

For a simple read-only tool with two optional parameters, the description is nearly sufficient, but it does not describe the shape of the returned ranking or the risk/reward measure used. The lack of usage alternatives also leaves some context missing.

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 both limit and includeWatchlist are already documented in the input schema. The tool description adds no parameter-level meaning, but it is not required to compensate because the schema carries the full burden.

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 clearly identifies a ranking operation over positions and watchlist items using a profit-to-risk criterion, so the resource and output type are evident. However, it does not explicitly differentiate itself from related siblings like get_stock_rankings or rank_thematic.

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?

The description offers no guidance on when to use this tool instead of analysis or ranking alternatives, and it states no preconditions or exclusions. Usage context is only implied by the name and the single sentence.

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.