Skip to main content
Glama

Google Workspace MCP Server

by ZatesloFL

search_custom

Enhance search functionality by querying Google Custom Search JSON API with advanced filters such as date restrictions, file types, and language preferences. Ideal for precise, context-specific results.

Instructions

Performs a search using Google Custom Search JSON API.

Args: user_google_email (str): The user's Google email address. Required. q (str): The search query. Required. num (int): Number of results to return (1-10). Defaults to 10. start (int): The index of the first result to return (1-based). Defaults to 1. safe (Literal["active", "moderate", "off"]): Safe search level. Defaults to "off". search_type (Optional[Literal["image"]]): Search for images if set to "image". site_search (Optional[str]): Restrict search to a specific site/domain. site_search_filter (Optional[Literal["e", "i"]]): Exclude ("e") or include ("i") site_search results. date_restrict (Optional[str]): Restrict results by date (e.g., "d5" for past 5 days, "m3" for past 3 months). file_type (Optional[str]): Filter by file type (e.g., "pdf", "doc"). language (Optional[str]): Language code for results (e.g., "lang_en"). country (Optional[str]): Country code for results (e.g., "countryUS").

Returns: str: Formatted search results including title, link, and snippet for each result.

Input Schema

NameRequiredDescriptionDefault
countryNo
date_restrictNo
file_typeNo
languageNo
numNo
qYes
safeNooff
search_typeNo
site_searchNo
site_search_filterNo
startNo
user_google_emailYes

Input Schema (JSON Schema)

{ "properties": { "country": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Country" }, "date_restrict": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Date Restrict" }, "file_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "File Type" }, "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "num": { "default": 10, "title": "Num", "type": "integer" }, "q": { "title": "Q", "type": "string" }, "safe": { "default": "off", "enum": [ "active", "moderate", "off" ], "title": "Safe", "type": "string" }, "search_type": { "anyOf": [ { "const": "image", "type": "string" }, { "type": "null" } ], "default": null, "title": "Search Type" }, "site_search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Site Search" }, "site_search_filter": { "anyOf": [ { "enum": [ "e", "i" ], "type": "string" }, { "type": "null" } ], "default": null, "title": "Site Search Filter" }, "start": { "default": 1, "title": "Start", "type": "integer" }, "user_google_email": { "title": "User Google Email", "type": "string" } }, "required": [ "user_google_email", "q" ], "type": "object" }

Other Tools from Google Workspace MCP Server

Related Tools

    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/ZatesloFL/google_workspace_mcp'

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