Skip to main content
Glama

slog_setup_format

Configure structured logging format in your project directory to standardize log output and simplify analysis. Optionally include an API key for Pro/Enterprise.

Instructions

Generate structured logging format setup

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for Pro/Enterprise
directoryYesProject directory
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing behavior. It only says 'Generate structured logging format setup', which implies file generation but does not state whether files are overwritten, whether the operation is idempotent, what side effects occur, whether API key is required for full functionality, or what the resulting setup looks like. This is a significant gap for a setup/generation tool.

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 one short sentence with no filler or redundant examples. It front-loads the main action ('Generate') and the subject ('structured logging format setup'). It could be worded more naturally, but it is appropriately concise and easy to parse.

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?

Although the parameter count is low and there is no output schema, the tool is still a generation/setup operation with no annotations and no behavioral details. The description does not explain what 'setup' entails, which files are touched, whether the api_key gates Pro/Enterprise features, or what a successful invocation returns. An agent would need additional tool context to use it safely and correctly.

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%, so the schema already documents both parameters ('directory' and 'api_key'). The description adds no further parameter meaning, such as how 'directory' is used or when 'api_key' is necessary. Baseline 3 applies because the schema handles the heavy lifting, but the description does not enhance understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('Generate structured logging format setup'), so an agent can roughly infer this configures slog's logging format. However, 'format setup' is vague: it does not specify the target language/runtime, what files are produced, or how this differs from siblings like slog_add_context or slog_configure_transport. Without referencing those siblings, the description leaves the tool's precise scope ambiguous.

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?

The description gives no guidance on when to use this tool instead of alternatives. It does not mention related tools like slog_configure_transport or slog_add_context, nor provide any condition or exclusion to help an agent choose correctly. The agent must rely entirely on the tool name for routing decisions.

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