Skip to main content
Glama
_base.py533 B
"""Base utilities for tools""" import json from typing import Any, Dict, Optional def build_params(args: Dict[str, Any]) -> Dict[str, Any]: """Helper function for building params""" params = {} if "page_size" in args and args["page_size"] is not None: params["page_size"] = args["page_size"] if "include" in args and args["include"] is not None: params["include"] = args["include"] if "expand" in args and args["expand"] is not None: params["expand"] = args["expand"] return params

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/geoffwhittington/sde-mcp'

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