Skip to main content
Glama

sls_generate_config

Create a Serverless Framework configuration file with cloud provider, runtime, region, and API key settings. Provide service name and provider to get a deployment-ready config.

Instructions

Generate a Serverless Framework configuration file with provider settings and plugins

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNoDeployment region
api_keyNoAPI key for authentication
runtimeYesRuntime (e.g. nodejs20.x, python3.12)
providerYesCloud provider
service_nameYesService name
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and it states only the action itself. It does not say where the file is written (e.g., serverless.yml), whether an existing file is overwritten, or how the api_key parameter is consumed. The mention of 'plugins' with no corresponding schema parameter also leaves behavior unclarified.

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 sentence, front-loaded with the verb and resource, with the scope qualifier appended at the end. There is no filler, no redundant restatement of the tool name, 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 file-generation tool with no output schema and no annotations, the description should disclose the output filename/path, overwrite behavior, and how parameters map to the generated output. None of this is present, so an agent cannot predict the tool's side effects or result. The unbacked 'plugins' claim also creates an expectation the parameter set cannot satisfy.

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 all five parameters and the provider enum, which sets the baseline at 3 per the rubric. The description adds little beyond the vague phrase 'provider settings' and references 'plugins' even though no plugins parameter exists in 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?

States a specific verb ('Generate') and resource ('a Serverless Framework configuration file'), naming the exact framework so it cannot be confused with the many other config generators in the sibling list (e.g., generate_spring_config, generate_vite_config). The scope qualifier 'with provider settings and plugins' further distinguishes it from same-prefix siblings sls_add_functions and sls_optimize.

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 on when to use this tool instead of sls_add_functions or sls_optimize, nor any mention of prerequisites, intended starting context, or when an alternative would be more appropriate. The only usage signal is implied by the verb 'Generate', which hints at initial scaffolding, but this is not explicitly stated.

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