Skip to main content
Glama

Watchlist and holdings

get_watchlist
Read-only

The watchlist: each stock, whether it is held, the quantity and cost price, and the stop and target in force on the open position. A holding also has when it was opened, the stop and target set at entry, and every change of the stop since (stop_history).

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Default: the whole list.
marketNohk = Hong Kong, us = United States, cn = China A-shares.
offsetNoDefault 0.
holdingNotrue: holdings only; false: stocks not held only. Default: all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the shape of the returned data, notably that holdings carry entry-time stop/target and a full stop_history. It omits ordering and pagination behavior, which keeps it 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?

Two sentences, front-loaded with the resource and then the per-item fields; no filler. The second sentence is dense but every clause carries information about return contents.

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?

There is no output schema, so the description must carry the return-shape burden, and it does so competently for the holding case. Minor gaps remain around non-held entries' fields and pagination defaults, but nothing an agent needs in order to call it is 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 coverage is 100%, so all four parameters (limit, offset, market, holding) are already documented in the schema and the baseline is 3. The description only glancingly touches the holding parameter via 'whether it is held' and adds no filtering or format detail 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 description states the resource (the watchlist) and enumerates exactly what it contains — held flag, quantity, cost price, stop/target, open date, stop_history — which makes it distinguishable from get_trades and get_price_alerts. It lacks an explicit verb ('returns'/'lists'), but the content is unambiguous.

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 when-to-use guidance is given: nothing says to prefer this over get_trades for position data, or over get_price_alerts for stop/target monitoring. The agent must infer the routing from the field list alone.

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.