Skip to main content
Glama
localstack

LocalStack MCP Server

Official
by localstack

localstack-logs-analysis

Read-onlyIdempotent

Analyze LocalStack logs to diagnose issues and understand AWS service interactions. Filter by service, operation, or error type to identify problems in local development environments.

Instructions

LocalStack log analyzer that helps developers quickly diagnose issues and understand their LocalStack interactions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysisTypeNoThe analysis to perform: 'summary' (default), 'errors', 'requests', or 'logs' for raw output.summary
linesNoNumber of recent log lines to fetch and analyze.
serviceNoFilter by AWS service (e.g., 's3', 'lambda'). Used with 'errors' and 'requests' modes.
operationNoFilter by a specific API operation (e.g., 'CreateBucket'). Requires 'service'. Used with 'requests' mode.
filterNoRaw keyword filter. Only used with 'logs' mode.
Behavior3/5

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

Annotations provide readOnlyHint=true, idempotentHint=true, and destructiveHint=false, indicating safe, non-destructive operations. The description adds value by specifying it's for 'diagnosing issues' and 'understanding interactions,' which implies analysis and reporting rather than modification. However, it doesn't disclose additional behavioral traits like rate limits, authentication needs, or what 'analyze' entails (e.g., returns structured data vs. raw text). No contradiction with annotations exists.

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, clear sentence that efficiently states the tool's purpose without redundancy. It's front-loaded with the core function ('LocalStack log analyzer') and avoids unnecessary details. However, it could be slightly more structured by hinting at key parameters or use cases, but overall it's appropriately sized and wastes no words.

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

Completeness3/5

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

Given the tool's moderate complexity (5 parameters, no output schema) and rich annotations (readOnly, idempotent, non-destructive), the description is adequate but incomplete. It covers the high-level purpose but lacks details on output format, error handling, or integration with sibling tools. Without an output schema, the description should ideally hint at return values (e.g., 'provides analysis reports'), but it doesn't, leaving gaps for the agent.

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%, with each parameter well-documented in the input schema (e.g., analysisType with enum values, lines with default, service/operation/filter usage contexts). The description adds no parameter-specific information beyond what the schema provides. According to guidelines, with high schema coverage (>80%), the baseline score is 3, as the description doesn't need to compensate but also doesn't enhance parameter understanding.

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 clearly states the tool's purpose: 'LocalStack log analyzer that helps developers quickly diagnose issues and understand their LocalStack interactions.' It specifies the verb 'analyze' and resource 'LocalStack logs' with the goal of diagnosis and understanding. However, it doesn't explicitly differentiate from sibling tools like 'localstack-management' or 'localstack-aws-client' which might also interact with logs or diagnostics.

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 provides no guidance on when to use this tool versus alternatives. It mentions helping developers diagnose issues, but doesn't specify scenarios, prerequisites, or exclusions. For example, it doesn't clarify if this is for production debugging, testing, or how it differs from other tools like 'localstack-management' that might handle logs. This leaves the agent with minimal context for tool selection.

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/localstack/localstack-mcp-server'

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