Skip to main content
Glama

add_to_watchlist

Add a financial symbol to your monitoring watchlist for tracking market data and analysis within the MonteWalk quantitative finance platform.

Instructions

Adds a symbol to the monitoring watchlist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The core handler function for the 'add_to_watchlist' tool. It uppercases the symbol, loads the current watchlist from JSON, adds it if missing, saves back, and returns a confirmation message.
    def add_to_watchlist(symbol: str) -> str:
        """
        Adds a symbol to the monitoring watchlist.
        """
        symbol = symbol.upper()
        watchlist = _load_watchlist()
        if symbol not in watchlist:
            watchlist.append(symbol)
            _save_watchlist(watchlist)
            logger.info(f"Added {symbol} to watchlist")
            return f"Added {symbol} to watchlist."
        return f"{symbol} is already in the watchlist."
  • server.py:410-413 (registration)
    MCP tool registration block where add_to_watchlist is passed to register_tools, which applies @mcp.tool() decorator to make it available via Model Context Protocol.
    register_tools(
        [add_to_watchlist, remove_from_watchlist],
        "Watchlist"
    )
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Adds') but does not reveal critical traits such as whether it requires authentication, if it's idempotent, what happens on duplicate adds, rate limits, or the response format. This leaves significant gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words, making it appropriately sized and front-loaded. Every word contributes directly to stating the tool's purpose.

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?

Given the tool has an output schema (which reduces the need to describe return values) but no annotations and low parameter coverage, the description is minimally complete. It states the basic action but lacks details on behavior, parameters, and usage context, making it adequate only for very simple scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 1 parameter with 0% description coverage, and the description does not add any meaning beyond the parameter name 'symbol'. It fails to explain what 'symbol' represents (e.g., ticker format, asset type) or any constraints, which is inadequate given the low schema coverage.

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 states the tool's purpose with a clear verb ('Adds') and resource ('a symbol to the monitoring watchlist'), but it does not differentiate from its sibling tool 'remove_from_watchlist' or specify what type of symbols (e.g., stocks, crypto) or watchlist context (e.g., user-specific, global) it operates on, making it somewhat vague.

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 provides no guidance on when to use this tool versus alternatives like 'remove_from_watchlist' or other monitoring-related tools, nor does it mention prerequisites such as authentication or watchlist existence. It lacks explicit when/when-not instructions or context for usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/N-lia/MonteWalk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server