Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_get_custom_event

Retrieves a custom event's name, condition graph, settings, and compiled status by event ID to inspect and verify its definition.

Instructions

Get one custom event: its name, its condition graph (visual: nodes and edges), its settings and its compiled status. Its fires are not here: read them with dwlf_get_events (type custom_event, customEventId = this id, a wide days). Which symbols it runs on, and its last-night health, are dwlf_get_event_symbols.

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": {
      "eventId": "<eventId>"
    },
    "name": "dwlf_get_custom_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventIdYesCustom event ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it discharges most of it by disclosing the exact payload shape (name, visual graph, settings, compiled status). It is silent on permission requirements, error behavior for an unknown ID, and whether the graph is read-only, which are the remaining gaps for a no-annotation 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?

Three sentences, each doing distinct work: what the tool returns, what it deliberately omits and where to get it, and a second pointer for symbol/health data. The payload contents are front-loaded and nothing is repeated.

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 no output schema, the description must characterize the return value, and it does so by naming the four payload components, including the nested visual graph. Missing only secondary details such as failure modes, which keeps it just short of fully complete for a read tool.

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% with a single required 'eventId' that the schema already documents as the custom event ID. The description only references it obliquely as 'this id' in the sibling routing, adding no format or sourcing detail beyond the schema, so the baseline of 3 applies.

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 ('Get one custom event') and then enumerates the returned facets: name, condition graph with nodes and edges, settings, and compiled status. That level of specificity lets an agent distinguish it from dwlf_list_custom_events or dwlf_evaluate_custom_event without opening any schema.

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?

Explicitly routes out-of-scope data: fires belong to dwlf_get_events with type 'custom_event' and a wide 'days', while symbol coverage and last-night health belong to dwlf_get_event_symbols. It does not say when to prefer this over listing events or evaluating one, so the guidance is strong but not exhaustive.

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