GOOGLESUPER_COMPUTE_ROUTE_MATRIX
Calculates travel distance and duration matrix between multiple origins and destinations using the modern Routes API; supports OAuth2 authentication and various travel modes.
This record as markdown: /tools/googlesuper/googlesuper-compute-route-matrix.md
What GOOGLESUPER_COMPUTE_ROUTE_MATRIX does on Google Super
AI agents call GOOGLESUPER_COMPUTE_ROUTE_MATRIX to retrieve information from Google Super without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
units | string | — | Unit system (e.g., 'METRIC' for kilometers, 'IMPERIAL' for miles) for displaying distances. |
origins | array | — | List of origin locations. Each can be specified as an address or latitude/longitude coordinates. |
fieldMask | string | — | Comma-separated list of response fields to include (e.g., 'originIndex,destinationIndex,duration,distanceMeters'). Use '*' for all fields. |
travelMode | string | — | Mode of transportation for the route matrix calculation. |
destinations | array | — | List of destination locations. Each can be specified as an address or latitude/longitude coordinates. |
languageCode | string | — | BCP-47 language code (e.g., 'en-US', 'es') for textual information. |
routingPreference | string | — | Specifies routing preference: `TRAFFIC_UNAWARE` (fastest, ignores traffic), `TRAFFIC_AWARE` (considers traffic, optimized), `TRAFFIC_AWARE_OPTIMAL` (most accura |
Parameters from the server's own tool schema.
Why GOOGLESUPER_COMPUTE_ROUTE_MATRIX is rated Low
This tool queries the Google Routes API to compute travel distances and durations. It retrieves computed data without creating, modifying, or deleting any resources. The operation is purely read/query in nature with no side effects beyond an API call.
From the tool's definition Calculates travel distance and duration matrix between multiple origins and destinations
Risk signalsHigh parameter count (13 properties)
Attacks that exploit this kind of access
The rule that runs GOOGLESUPER_COMPUTE_ROUTE_MATRIX safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Google Super, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For GOOGLESUPER_COMPUTE_ROUTE_MATRIX, this is the rule to start with:
GOOGLESUPER_COMPUTE_ROUTE_MATRIX is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Google Super, apply this rule, and every GOOGLESUPER_COMPUTE_ROUTE_MATRIX call is checked against it from then on.
Questions about GOOGLESUPER_COMPUTE_ROUTE_MATRIX
Calculates travel distance and duration matrix between multiple origins and destinations using the modern Routes API; supports OAuth2 authentication and various travel modes. It is categorised as a Read tool in the Google Super MCP Server, which means it retrieves data without modifying state.
GOOGLESUPER_COMPUTE_ROUTE_MATRIX accepts 7 parameters: units, origins, fieldMask, travelMode, destinations, languageCode, routingPreference. The full parameter table on this page comes from the server's own tool schema.
Register the Google Super MCP server in PolicyLayer and add a rule for GOOGLESUPER_COMPUTE_ROUTE_MATRIX: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Google Super. Nothing to install.
GOOGLESUPER_COMPUTE_ROUTE_MATRIX is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the GOOGLESUPER_COMPUTE_ROUTE_MATRIX rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for GOOGLESUPER_COMPUTE_ROUTE_MATRIX. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
GOOGLESUPER_COMPUTE_ROUTE_MATRIX is provided by the Google Super MCP server (googlesuper). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Google Super, and thousands of servers like it.
This server
Across the catalogue