Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_get_price_picture

Aggregates price-meaningful indicator events for a symbol into a chronological, newest-first narrative so you can review structural price context without raw OHLC data or multiple event queries.

Instructions

Aggregate the price-meaningful indicator events for a symbol into a chronological narrative — cycle pivots, swing points (HH/HL/LH/LL, breaks, sweeps), MA/EMA crosses, SMA 50/100/200 reclaims and losses (sma.reclaimed / sma.lost), trendline breaks and breaches, bollinger breaks, key level breaks / flips / reclaims. The levels themselves are not included (use dwlf_get_support_resistance), nor SMC, VWAP, fib or DSS events (use dwlf_get_events). Each row carries date + price (or level) + a human-readable label. Use this when you need structural price context for a symbol but do not have raw OHLC access, or when you want a clean one-call summary instead of stitching together multiple dwlf_get_events queries. Events come sorted newest-first.

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": {
      "symbol": "<symbol>"
    },
    "name": "dwlf_get_price_picture"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to include (default: 90). Smaller = tighter narrative; larger = longer-term structural view.
limitNoMax events to give (default: 50). Most useful narratives fit in 20-40 rows.
symbolYesTrading symbol — accepts BTC, BTC/USD, BTC-USD, BTCUSD, or stock tickers like AAPL, TSLA
timeframeNoTimeframe of events to include (default: 1d). 1d carries every type listed; 1w carries cycle pivots and trendline breaks; 1h carries cycle events only; 4h has no events today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does well: it discloses that levels are omitted, which event categories are out of scope, that rows contain date + price/level + human-readable label, and that results are sorted newest-first. It also warns about per-timeframe coverage quirks (4h has no events today, 1h cycle-only). It stops short of covering error behavior for bad symbols or what happens when limit truncates the window, which keeps it at 4 rather than 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?

The purpose and the primary exclusion are front-loaded in the first two sentences, and the event-category enumeration is dense but each item adds selection-relevant meaning. The middle sentence is long and list-heavy, though nothing is clearly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by describing the row shape (date + price or level + label) and the sort order, so an agent knows what it will receive. Combined with the scope exclusions and timeframe coverage notes, nothing essential for correct invocation 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 description coverage is 100%, including per-timeframe enum semantics and default values, so the schema already does the parameter work and the baseline of 3 applies. The description adds no parameter-level guidance beyond what the schema states — for example, it does not explain how days and limit interact to shape the narrative.

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?

The description opens with a specific verb and resource: 'Aggregate the price-meaningful indicator events for a symbol into a chronological narrative,' then enumerates the included event families (cycle pivots, swings HH/HL/LH/LL, MA/EMA crosses, SMA reclaims/losses, trendline breaks, bollinger breaks, level breaks/flips/reclaims). It explicitly differentiates itself from siblings by sending level work to dwlf_get_support_resistance and SMC/VWAP/fib/DSS work to dwlf_get_events.

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

Usage Guidelines5/5

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

It gives both a positive trigger ('when you need structural price context for a symbol but do not have raw OHLC access') and a consolidation rationale ('clean one-call summary instead of stitching together multiple dwlf_get_events queries'), plus explicit exclusions naming the correct alternative tool for each excluded case.

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

Deploy Server

Other Tools