Skip to main content
Glama
giovanemartins

LocalStack MCP Server

lambda_create_function

Create a Lambda function in LocalStack by providing base64-encoded ZIP code and configuration such as runtime, handler, and IAM role.

Instructions

Create a Lambda function in LocalStack from a base64-encoded ZIP

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handlerYesHandler in format file.function (e.g. index.handler)
roleArnYesIAM role ARN (use arn:aws:iam::000000000000:role/lambda-role for LocalStack)
runtimeYesRuntime identifier
timeoutNoTimeout in seconds (default: 30)
zipBase64YesBase64-encoded ZIP file contents
memorySizeNoMemory size in MB (default: 128)
descriptionNoFunction description
environmentNoEnvironment variables as a key-value object
functionNameYesFunction name
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It only says 'Create a Lambda function' without disclosing side effects, whether it overwrites an existing function, permission requirements, error behavior, or the response format. For a write operation, this is a significant 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?

The description is a single, front-loaded sentence with no unnecessary words. It states the action, target, environment, and input format efficiently, earning its place without redundancy.

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?

Despite a low description length, the tool is complex (9 parameters, nested objects, no output schema). The description gives no information about expected return values, how to obtain or encode the ZIP, or any constraints. The schema is rich, but the description alone is insufficient for a tool of this complexity.

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?

The schema covers 100% of parameters with descriptive text, so the description does not need to explain them. The description adds the LocalStack context, but this is already partially captured in the roleArn parameter description. No meaningful additional semantics beyond the schema.

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?

The description uses a specific verb ('Create') and resource ('Lambda function'), and adds the context 'in LocalStack from a base64-encoded ZIP', which clearly distinguishes it from sibling lambda tools like list, get, delete, and invoke. It is immediately obvious what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this is the tool for creating Lambda functions but provides no explicit when-to-use or when-not-to-use guidance. It does not mention alternatives or prerequisites, so the agent must infer usage from the tool name and sibling context.

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

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