We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/serpapi/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
google_maps_directions.json•13.3 KiB
{
"engine": "google_maps_directions",
"params": {
"start_addr": {
"description": "Parameter defines the address of the starting point for the direction you want to search. You can use anything that you would use in a regular Google Maps Directions search. Alternatively, you can use start\\_data\\_id or start\\_coords.",
"group": "search_query"
},
"end_addr": {
"description": "Parameter defines the address of the ending point for the direction you want to search. You can use anything that you would use in a regular Google Maps Directions search. Alternatively, you can use end\\_data\\_id or end\\_coords.",
"group": "search_query"
},
"gl": {
"type": "select",
"options": [
"af",
"al",
"dz",
"as",
"ad",
"ao",
"ai",
"aq",
"ag",
"ar",
"am",
"aw",
"au",
"at",
"az",
"bs",
"bh",
"bd",
"bb",
"by",
"be",
"bz",
"bj",
"bm",
"bt",
"bo",
"ba",
"bw",
"bv",
"br",
"io",
"bn",
"bg",
"bf",
"bi",
"kh",
"cm",
"ca",
"cv",
"ky",
"cf",
"td",
"cl",
"cn",
"cx",
"cc",
"co",
"km",
"cg",
"cd",
"ck",
"cr",
"ci",
"hr",
"cu",
"cy",
"cz",
"dk",
"dj",
"dm",
"do",
"ec",
"eg",
"sv",
"gq",
"er",
"ee",
"et",
"fk",
"fo",
"fj",
"fi",
"fr",
"gf",
"pf",
"tf",
"ga",
"gm",
"ge",
"de",
"gh",
"gi",
"gr",
"gl",
"gd",
"gp",
"gu",
"gt",
"gg",
"gn",
"gw",
"gy",
"ht",
"hm",
"va",
"hn",
"hk",
"hu",
"is",
"in",
"id",
"ir",
"iq",
"ie",
"im",
"il",
"it",
"je",
"jm",
"jp",
"jo",
"kz",
"ke",
"ki",
"kp",
"kr",
"kw",
"kg",
"la",
"lv",
"lb",
"ls",
"lr",
"ly",
"li",
"lt",
"lu",
"mo",
"mk",
"mg",
"mw",
"my",
"mv",
"ml",
"mt",
"mh",
"mq",
"mr",
"mu",
"yt",
"mx",
"fm",
"md",
"mc",
"mn",
"me",
"ms",
"ma",
"mz",
"mm",
"na",
"nr",
"np",
"nl",
"an",
"nc",
"nz",
"ni",
"ne",
"ng",
"nu",
"nf",
"mp",
"no",
"om",
"pk",
"pw",
"ps",
"pa",
"pg",
"py",
"pe",
"ph",
"pn",
"pl",
"pt",
"pr",
"qa",
"re",
"ro",
"ru",
"rw",
"sh",
"kn",
"lc",
"pm",
"vc",
"ws",
"sm",
"st",
"sa",
"sn",
"rs",
"sc",
"sl",
"sg",
"sk",
"si",
"sb",
"so",
"za",
"gs",
"es",
"lk",
"sd",
"sr",
"sj",
"sz",
"se",
"ch",
"sy",
"tw",
"tj",
"tz",
"th",
"tl",
"tg",
"tk",
"to",
"tt",
"tn",
"tr",
"tm",
"tc",
"tv",
"ug",
"ua",
"ae",
"uk",
"gb",
"us",
"um",
"uy",
"uz",
"vu",
"ve",
"vn",
"vg",
"vi",
"wf",
"eh",
"ye",
"zm",
"zw"
],
"description": "Parameter defines the country to use for the Google search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France) Head to the Google countries page for a full list of supported Google countries.",
"group": "localization"
},
"hl": {
"type": "select",
"options": [
"af",
"ak",
"sq",
"ws",
"am",
"ar",
"hy",
"az",
"eu",
"be",
"bem",
"bn",
"bh",
"xx-bork",
"bs",
"br",
"bg",
"bt",
"km",
"ca",
"chr",
"ny",
"zh-cn",
"zh-tw",
"co",
"hr",
"cs",
"da",
"nl",
"xx-elmer",
"en",
"eo",
"et",
"ee",
"fo",
"tl",
"fi",
"fr",
"fy",
"gaa",
"gl",
"ka",
"de",
"el",
"kl",
"gn",
"gu",
"xx-hacker",
"ht",
"ha",
"haw",
"iw",
"he",
"hi",
"hu",
"is",
"ig",
"id",
"ia",
"ga",
"it",
"ja",
"jw",
"kn",
"kk",
"rw",
"rn",
"xx-klingon",
"kg",
"ko",
"kri",
"ku",
"ckb",
"ky",
"lo",
"la",
"lv",
"ln",
"lt",
"loz",
"lg",
"ach",
"mk",
"mg",
"ms",
"ml",
"mt",
"mv",
"mi",
"mr",
"mfe",
"mo",
"mn",
"sr-me",
"my",
"ne",
"pcm",
"nso",
"no",
"nn",
"oc",
"or",
"om",
"ps",
"fa",
"xx-pirate",
"pl",
"pt",
"pt-br",
"pt-pt",
"pa",
"qu",
"ro",
"rm",
"nyn",
"ru",
"gd",
"sr",
"sh",
"st",
"tn",
"crs",
"sn",
"sd",
"si",
"sk",
"sl",
"so",
"es",
"es-419",
"su",
"sw",
"sv",
"tg",
"ta",
"tt",
"te",
"th",
"ti",
"to",
"lua",
"tum",
"tr",
"tk",
"tw",
"ug",
"uk",
"ur",
"uz",
"vu",
"vi",
"cy",
"wo",
"xh",
"yi",
"yo",
"zu"
],
"description": "Parameter defines the language to use for the Google Maps Directions search. It's a two-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French). Head to the Google languages page for a full list of supported Google languages.",
"group": "localization"
},
"travel_mode": {
"type": "select",
"options": [
[
"6",
"Best (Default) - 6"
],
[
"0",
"Driving - 0"
],
[
"9",
"Two-wheeler - 9"
],
[
"3",
"Transit - 3"
],
[
"2",
"Walking - 2"
],
[
"1",
"Cycling - 1"
],
[
"4",
"Flight - 4"
]
],
"description": "Parameter defines the travel mode. Available options: `6` - Best (Default) `0` - Driving `9` - Two-wheeler `3` - Transit `2` - Walking `1` - Cycling `4` - Flight",
"group": "advanced_google_maps_directions_parameters"
},
"start_data_id": {
"description": "Parameter defines the data ID of the starting point for the direction you want to search. Find the data ID of a place using our Google Maps API. Alternatively, you can use start\\_addr or start\\_coords.",
"group": "advanced_google_maps_directions_parameters"
},
"end_data_id": {
"description": "Parameter defines the data ID of the ending point for the direction you want to search. Find the data ID of a place using our Google Maps API. Alternatively, you can use end\\_addr or end\\_coords.",
"group": "advanced_google_maps_directions_parameters"
},
"start_coords": {
"description": "Parameter defines the GPS coordinates of the starting point for the direction you want to search. The format is `latitude,longitude`. E.g. `30.197471099,-97.66635289`. Alternatively, you can use start\\_addr or start\\_data\\_id.",
"group": "advanced_google_maps_directions_parameters"
},
"end_coords": {
"description": "Parameter defines the GPS coordinates of the ending point for the direction you want to search. The format is `latitude,longitude`. E.g. `30.197471099,-97.66635289`. Alternatively, you can use end\\_addr or end\\_data\\_id.",
"group": "advanced_google_maps_directions_parameters"
},
"distance_unit": {
"type": "select",
"options": [
[
"1",
"miles - 1"
],
[
"0",
"km - 0"
]
],
"description": "Parameter defines the displayed distance unit. Available options: `1` - miles `0` - km",
"group": "advanced_options"
},
"avoid": {
"description": "Parameter defines avoid options. Available options: `highways` - Highways `tolls` - Tolls `ferries` - Ferries You can also combine multiple options by joining them with a comma (e.g.: `highways,tolls`).",
"group": "advanced_options"
},
"prefer": {
"description": "Parameter defines preferred transit options. Available options: `bus` - Bus `subway` - Subway `train` - Train `tram_light_rail` - Tram and light rail You can also combine multiple options by joining them with a comma (e.g.: `subway,train`). Parameter works only if travel\\_mode parameter is set to: `3` (Transit)",
"group": "advanced_options"
},
"route": {
"type": "select",
"options": [
[
"2",
"Fewer transfers - 2"
],
[
"3",
"Less walking - 3"
],
[
"4",
"Wheelchair accessible - 4"
]
],
"description": "Parameter defines route options. Available options: `2` - Fewer transfers `3` - Less walking `4` - Wheelchair accessible Parameter works only if travel\\_mode parameter is set to: `3` (Transit)",
"group": "advanced_options"
},
"time": {
"description": "Parameter defines the time to travel. Available options: `depart_at:xxxxxx` - Specifies the departure time, where `xxxxxx` is the timestamp. E.g. `depart_at:1698229538` specifies the departure time to 2023-10-25 10:25:38 GMT+0000 `arrive_by:xxxxxx` - Specifies the arrival time, where `xxxxxx` is the timestamp. E.g. `arrive_by:1698229538` specifies the arrival time to 2023-10-25 10:25:38 GMT+0000 `last_available` - Takes the last available transit. This option works only if travel\\_mode parameter is set to: `3` (Transit)",
"group": "advanced_options"
}
},
"common_params": {
"engine": {
"required": true,
"description": "Set parameter to `google_maps_directions` to use the Google Maps Directions API engine.",
"group": "serpapi_parameters"
},
"no_cache": {
"type": "checkbox",
"description": "Parameter will force SerpApi to fetch the Google Maps Directions results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to `false` (default) to allow results from the cache, or `true` to disallow results from the cache. no\\_cache and async parameters should not be used together.",
"group": "serpapi_parameters"
},
"async": {
"description": "Parameter defines the way you want to submit your search to SerpApi. It can be set to `false` (default) to open an HTTP connection and keep it open until you got your search results, or `true` to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no\\_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.",
"group": "serpapi_parameters"
},
"zero_trace": {
"description": "Enterprise only. Parameter enables ZeroTrace mode. It can be set to `false` (default) or `true`. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.",
"group": "serpapi_parameters"
},
"api_key": {
"required": true,
"description": "Parameter defines the SerpApi private key to use.",
"group": "serpapi_parameters"
},
"output": {
"description": "Parameter defines the final output you want. It can be set to json (default) to get a structured `JSON` of the results, or `html` to get the raw html retrieved.",
"group": "serpapi_parameters"
},
"json_restrictor": {
"description": "Parameter defines the fields you want to restrict in the outputs for smaller, faster responses. See JSON Restrictor for more details.",
"group": "serpapi_parameters"
}
}
}