Skip to main content
Glama

get_storage_quota

Read-only

Retrieves Google Drive storage usage and limits for the authenticated account, returning byte totals for drive, trash, and overall quota plus account identity.

Instructions

Get Drive storage usage and limits for the authenticated account.

Returns: Storage quota with limit_bytes, usage_bytes, usage_in_drive_bytes, usage_in_trash_bytes, email, and display_name. All byte values are integers. limit_bytes is None if the key is absent, or 0 if the API returns "0" (typical for service accounts with no personal quota).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_storage_quota"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, so safety is covered. The description's genuinely additive note is the limit_bytes edge case (None when the key is absent, 0 for service accounts with no personal quota); the rest restates output fields. It says nothing about required OAuth scopes or whether the call is per-user vs shared-drive, which would be the higher-value behavioral context here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a one-line purpose, then a clearly delimited Returns block. Slightly redundant given an output schema exists, but the listed fields and the byte-type note are compact and readable rather than padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A trivial zero-parameter read with an output schema and readOnly annotation needs little more than a purpose line, and this supplies that plus the one non-obvious edge case (limit_bytes 0 vs None). Missing only auth-scope context, which is minor for a read-only quota check.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics to explain; baseline 4 applies. Nothing in the description conflicts with the empty object schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get Drive storage usage and limits for the authenticated account" gives a specific verb (get), a specific resource (Drive storage usage/limits), and an explicit scope (the authenticated account). This is unambiguous and clearly distinct from the document/sheet/message siblings, none of which deal with account-level quota.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase "for the authenticated account" tells the agent this reports on the calling identity rather than an arbitrary user, but there is no explicit when-to-use, when-not-to-use, or named alternative. For a zero-parameter account-level read the risk of wrong selection is low, so implied guidance is adequate rather than harmful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools