Skip to main content
Glama

list_lambda_functions_impl

Discover and access AWS Lambda functions available as tools via the MCP2Lambda server. Use this resource to explore their capabilities and integrate them into workflows for enhanced functionality.

Instructions

Tool that lists all AWS Lambda functions that you can call as tools. Use this list to understand what these functions are and what they do. This functions can help you in many different ways.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:68-92 (handler)
    The core handler function for the 'list_lambda_functions_impl' tool. It lists AWS Lambda functions matching the configured prefix or explicit list, filters them using validate_function_name, and returns their names and descriptions as JSON.
    def list_lambda_functions_impl(ctx: Context) -> str: """Tool that lists all AWS Lambda functions that you can call as tools. Use this list to understand what these functions are and what they do. This functions can help you in many different ways.""" ctx.info("Calling AWS Lambda ListFunctions...") functions = lambda_client.list_functions() ctx.info(f"Found {len(functions['Functions'])} functions") functions_with_prefix = [ f for f in functions["Functions"] if validate_function_name(f["FunctionName"]) ] ctx.info(f"Found {len(functions_with_prefix)} functions with prefix {FUNCTION_PREFIX}") # Pass only function names and descriptions to the model function_names_and_descriptions = [ {field: f[field] for field in ["FunctionName", "Description"] if field in f} for f in functions_with_prefix ] return json.dumps(function_names_and_descriptions)
  • main.py:125-125 (registration)
    Primary registration of the list_lambda_functions_impl tool when pre-discovery of individual Lambda tools is disabled (generic tools mode).
    mcp.tool()(list_lambda_functions_impl)
  • main.py:181-181 (registration)
    Fallback registration of the list_lambda_functions_impl tool in case dynamic registration of individual Lambda functions fails.
    mcp.tool()(list_lambda_functions_impl)

Other Tools

Related 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/danilop/MCP2Lambda'

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