Skip to main content
Glama

winston_logger_config

Generate a Winston logger configuration with customizable transports, log levels, and output formats. Specify file or console logging, choose JSON or colorized formats, and set the log directory.

Instructions

Generate a Winston logger configuration with transports, formats, and log levels

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNojson
api_keyNoAPI key for authentication
log_levelNoinfo
transportsNo
log_directoryNo./logs
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden, yet it reveals nothing beyond the verb 'Generate' — no mention of whether it writes files (log_directory suggests side effects), whether api_key is required for certain transports like datadog or cloudwatch, or what the operation returns. For an unannotated tool, this is a significant transparency gap.

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?

A single front-loaded sentence that spends no words on filler. The verb and resource appear first, followed by the three scoping domains, and every word earns its place.

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?

For a tool with 5 parameters, no annotations, and no output schema, the description is too thin. An agent cannot determine what the generated configuration looks like, whether certain transport choices require api_key, or how log_directory relates to file transports. The definition needs more behavioral and output context to be reliably invoked.

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 only 20% (only api_key is documented), so the description must compensate. It names three parameter domains — transports, formats, log levels — mapping to the format, log_level, and transports params, but it does not explain value semantics (e.g., what json vs colorized means, when to choose http over console) and leaves log_directory and api_key context unexplained beyond the schema.

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 uses a specific verb ('Generate') with a specific resource ('Winston logger configuration') and scopes it to transports, formats, and log levels. It is clearly a config-generation tool, though it does not explicitly name sibling tools like winston_request_logger or winston_error_transport to differentiate from them.

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 guidance is given on when to use this tool versus alternatives. Sibling tools include winston_request_logger, winston_error_transport, and pino_logger_config, but the description offers no conditions, exclusions, or routing hints to distinguish the base-config use case from request-logging or error-transport use cases.

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