Skip to main content
Glama

Create or replace a watchlist

set_watchlist
Idempotent

Create the named watchlist, or replace its tickers if it exists. Tickers outside the covered universe are kept and reported in unknown. Free accounts: 1 list of 25 tickers; paid plans: 5 lists of 500.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "tickers": "<tickers>"
    },
    "name": "set_watchlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
tickersYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety and idempotency, yet the description adds real behavior: unknown tickers are retained rather than rejected and surfaced in an `unknown` field, and plan-based quotas (1 list/25 tickers free, 5 lists/500 paid) are disclosed. One small tension: 'replace its tickers' overwrites existing content while destructiveHint=false, though replace-not-delete is a defensible reading.

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?

Three compact sentences, front-loaded with the core action, then edge-case handling, then limits. No filler and nothing buried.

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?

With an output schema present, return values (including `unknown`) need not be explained, and quota/limit behavior is covered. The remaining gap is name-matching semantics and what happens when a quota is exceeded (error vs. silent truncation), which an agent would need before calling.

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?

Schema description coverage is 0%, so the description must carry both parameters, and it only partially does. It explains ticker handling for uncovered symbols, but never defines how `name` is matched to an existing list (case sensitivity, uniqueness, whether renaming is possible) or the accepted ticker format — both critical for a create-or-replace operation.

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

Purpose5/5

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

States a specific verb and resource plus the upsert semantics ('Create the named watchlist, or replace its tickers if it exists'), which is exactly the behavior an agent must know. It is clearly distinguishable from the read-side sibling list_watchlists without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The upsert condition tells the agent what happens on an existing name, but there is no explicit routing guidance (e.g., 'use list_watchlists to inspect before overwriting') and no stated exclusions. Usage is implied rather than prescribed.

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.

Resources