Skip to main content
Glama

winston_error_transport

Configure Winston to send error alerts to email, Slack, or PagerDuty. Set minimum severity and throttle notifications to reduce noise.

Instructions

Set up a Winston transport for error alerting via email, Slack, or PagerDuty

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
min_levelNoerror
alert_channelNoslack
throttle_minutesNo
Behavior2/5

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

No annotations are provided, and the description does not disclose what 'set up' actually does—whether it modifies project files, installs dependencies, creates configuration code, or requires an existing Winston setup. The word 'Set up' implies a mutation, but the side effects, authentication requirements, and operational behavior are left completely unspecified.

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 a single, front-loaded sentence with no wasted words, and it directly states the core purpose. However, it is brief to the point of omitting useful context that could be added without bloating the description, so it is not maximally effective.

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

Completeness2/5

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

With four parameters, no required fields, two enums, and no output schema or annotations, a setup-oriented tool needs more context than this. The description does not mention prerequisites, what files or configuration are affected, how the transport is wired into Winston, or the role of throttle_minutes, leaving an agent with substantial ambiguity before invoking it.

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 only 25%, with api_key having a generic description and the other parameters undocumented. The description adds some meaning by linking channels (email, Slack, PagerDuty) to alert_channel and 'error alerting' to min_level, but it does not explain throttle_minutes, api_key requirements, or how the channel selection affects behavior, leaving a significant gap.

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?

Description uses a specific verb ('Set up') and resource ('Winston transport for error alerting') and names the supported channels (email, Slack, PagerDuty). It clearly identifies the tool's function and distinguishes it from generic Winston logging tools like winston_logger_config by focusing on error alerting transports.

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 explicit guidance is given on when to use this tool instead of near siblings like winston_logger_config, winston_request_logger, or pino_transport_pipeline. The usage scenario is only implied by the phrase 'error alerting,' with no mention of prerequisites such as an existing Winston logger or when an alternative would be preferable.

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/barnburner121/claude-plugin-marketplace'

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