Skip to main content
Glama
drasticstatic

robinhood-mcp

robinhood_get_watchlist

Retrieve the list of stocks in a named Robinhood watchlist for portfolio analysis. Specify the watchlist name or use the default.

Instructions

Get stocks in a watchlist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoWatchlist name (default: "Default")Default

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • MCP tool handler for robinhood_get_watchlist. Decorated with @mcp.tool(), delegates to get_watchlist() helper after checking authentication.
    @mcp.tool()
    def robinhood_get_watchlist(name: str = "Default") -> list:
        """Get stocks in a watchlist.
    
        Args:
            name: Watchlist name (default: "Default")
    
        Returns list of watchlist items with instrument details.
        """
        _ensure_logged_in()
        return get_watchlist(name)
  • Input schema defined via function signature: name (str, default 'Default'). Output is list.
    @mcp.tool()
    def robinhood_get_watchlist(name: str = "Default") -> list:
        """Get stocks in a watchlist.
    
        Args:
            name: Watchlist name (default: "Default")
    
        Returns list of watchlist items with instrument details.
        """
        _ensure_logged_in()
        return get_watchlist(name)
  • Tool registered via @mcp.tool() decorator on line 121 (applied to the function definition).
    @mcp.tool()
    def robinhood_get_position(symbol: str) -> dict:
        """Get one current stock position with a faster single-symbol lookup.
    
        Args:
            symbol: Stock ticker symbol (e.g., "HIMS", "AAPL")
    
        Returns a dict with held=False if absent, otherwise the position details
        for that symbol including quantity, price, average buy price, and P&L.
        """
        _ensure_logged_in()
        return get_position(symbol)
    
    
    @mcp.tool()
    def robinhood_get_watchlist(name: str = "Default") -> list:
        """Get stocks in a watchlist.
  • Core implementation: calls rh.account.get_watchlist_by_name wrapped in _safe_call error handling. Returns list of watchlist items or empty list.
    def get_watchlist(name: str = "Default") -> list[dict[str, Any]]:
        """Get stocks in a watchlist.
    
        Args:
            name: Watchlist name (default: "Default").
    
        Returns:
            List of watchlist items with instrument details.
        """
        result = _safe_call(rh.account.get_watchlist_by_name, name=name)
        return result if isinstance(result, list) else []
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only says 'Get stocks in a watchlist' without indicating whether it is read-only, any side effects, permission requirements, or error cases. The description lacks behavioral context.

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 very short and front-loaded, but it could include more useful information without much additional length. Currently it is underinformative.

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 output schema exists (not shown), return values are covered. However, the description lacks context about default behavior, scope (e.g., only returns symbols or full details), and whether it can be used without a watchlist name. It is minimally viable.

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?

The input schema has 100% description coverage for the single parameter 'name', including default value. The description adds no additional semantics 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 clearly states the verb 'Get' and resource 'stocks in a watchlist'. It distinguishes from siblings which target different data types (dividends, earnings, etc.). However, it does not explicitly mention that it returns the list of stock symbols or details for a named watchlist, leaving slight ambiguity.

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 on when or how to use this tool versus alternatives like search_symbols or get_positions. There is no mention of prerequisites (e.g., user must have a watchlist) or context for expected 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/drasticstatic/robinhood-mcp'

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