GOOGLESUPER_GET_FILE_METADATA
Tool to get a file's metadata by ID. Use when you need to retrieve the metadata for a specific file in Google Drive.
This record as markdown: /tools/googlesuper/googlesuper-get-file-metadata.md
What GOOGLESUPER_GET_FILE_METADATA does on Google Super
AI agents call GOOGLESUPER_GET_FILE_METADATA 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 |
|---|---|---|---|
fileId | string | — | The ID of the file. This is required parameter |
includeLabels | string | — | A comma-separated list of IDs of labels to include in the labelInfo part of the response. |
acknowledgeAbuse | boolean | — | Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the alt parameter is set to media a |
supportsAllDrives | boolean | — | Whether the requesting application supports both My Drives and shared drives. This parameter will default to false. |
includePermissionsForView | string | — | Specifies which additional view's permissions to include in the response. Only 'published' is supported. |
Parameters from the server's own tool schema.
Why GOOGLESUPER_GET_FILE_METADATA is rated Low
This tool only retrieves metadata (properties, timestamps, ownership, etc.) about an existing file without creating, modifying, deleting, or executing anything. It is a pure read operation with minimal blast radius even if misused by an AI agent, as it cannot alter state or trigger external actions.
From the tool's definition Tool description states 'get a file's metadata by ID' and 'retrieve the metadata for a specific file in Google Drive' — these are query/retrieval operations with no modification or side effects.
Attacks that exploit this kind of access
The rule that runs GOOGLESUPER_GET_FILE_METADATA 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_GET_FILE_METADATA, this is the rule to start with:
GOOGLESUPER_GET_FILE_METADATA 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_GET_FILE_METADATA call is checked against it from then on.
Questions about GOOGLESUPER_GET_FILE_METADATA
Tool to get a file's metadata by ID. Use when you need to retrieve the metadata for a specific file in Google Drive. It is categorised as a Read tool in the Google Super MCP Server, which means it retrieves data without modifying state.
GOOGLESUPER_GET_FILE_METADATA accepts 5 parameters: fileId, includeLabels, acknowledgeAbuse, supportsAllDrives, includePermissionsForView. 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_GET_FILE_METADATA: 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_GET_FILE_METADATA 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_GET_FILE_METADATA 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_GET_FILE_METADATA. 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_GET_FILE_METADATA 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