Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_get_custom_event_notifications

Retrieve recently triggered custom events with notifications enabled across all symbols in one call, using a configurable day lookback to see which alerts fired.

Instructions

Get all recently fired custom events where the user has notifications enabled. Gives fires across ALL symbols in one call — the most efficient way to check what custom events have triggered. The eventName field contains the human-readable name (e.g. "wcl_confirmed"). The eventType field is always "custom_event" — use eventName to distinguish events.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to look (default 7)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral weight, and it does disclose the key filters (notifications enabled, all symbols) and the meaning of two return fields. It says nothing about ordering, result caps, pagination, or whether disabled/inactive events are excluded, which matters for a 'recently fired' query.

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 most useful fact — all symbols in one call — is front-loaded in the second sentence, and the field-semantics notes at the end resolve a real ambiguity between eventName and eventType. Slightly padded by the repeated efficiency claim, but no sentence is wasted.

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 correctly spends its budget explaining return fields (eventName as human-readable name, eventType as the fixed 'custom_event' constant). For a one-parameter read tool this is nearly sufficient; only result volume/ordering is left unaddressed.

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 the single 'days' parameter is already documented in the schema. The description adds no syntax, format, or interaction detail for that parameter (e.g. whether it interacts with activation windows), so it lands at the baseline.

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 names a specific verb and resource — recently fired custom events filtered to those with notifications enabled — and adds the scope qualifier 'across ALL symbols.' It is clearly distinguishable from the CRUD siblings (create/update/delete/compile), though it does not name the closest alternative (e.g. dwlf_get_events or dwlf_evaluate_custom_event), which keeps it at 4.

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

Usage Guidelines4/5

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

It gives a clear usage context: 'the most efficient way to check what custom events have triggered,' which implicitly routes the agent away from per-symbol or per-event lookups. There are no explicit when-not-to-use conditions or named alternatives, so it stops short of a 5.

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