Skip to main content
Glama
longngo192

Google Cloud Docs MCP Server

by longngo192

fetch_google_cloud_doc

Extract content from specific Google Cloud documentation pages by providing the exact path to retrieve detailed technical information in structured format.

Instructions

Fetch and extract content from a specific Google Cloud documentation page.

WHEN TO USE: Use this tool when you already know the exact documentation path you need, or when you want to get detailed content from a specific GCP documentation page.

INPUT: Documentation path after cloud.google.com/ (e.g., 'compute/docs/instances/create-start-instance', 'storage/docs/creating-buckets')

OUTPUT: Returns JSON with:

  • title: Page title

  • url: Full URL

  • content: Markdown-formatted documentation content (max 20,000 chars)

  • contentLength: Total content length

  • truncated: Whether content was truncated

COMMON PATHS:

  • Compute: compute/docs/instances/create-start-instance

  • Storage: storage/docs/creating-buckets, storage/docs/encryption

  • BigQuery: bigquery/docs/partitioned-tables, bigquery/docs/clustered-tables

  • Cloud SQL: sql/docs/high-availability, sql/docs/replication

  • GKE: kubernetes-engine/docs/how-to/cluster-autoscaler

  • IAM: iam/docs/understanding-roles, iam/docs/service-accounts

  • VPC: vpc/docs/vpc-peering, vpc/docs/shared-vpc

  • Cloud Run: run/docs/configuring/environment-variables

TIP: If you don't know the exact path, use 'search_google_cloud_docs' first to find relevant documentation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe documentation path after cloud.google.com/ (e.g., 'compute/docs/instances/create-start-instance', 'storage/docs/creating-buckets')
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior: it fetches and extracts content, returns JSON with specific fields, mentions content truncation at 20,000 chars, and provides common path examples. The only minor gap is it doesn't mention error handling or rate limits.

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?

The description is well-structured with clear sections (WHEN TO USE, INPUT, OUTPUT, COMMON PATHS, TIP) and front-loaded with the core purpose. While somewhat lengthy due to the examples, every section serves a purpose and there's minimal redundancy. The TIP section is particularly efficient.

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

Completeness5/5

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

For a single-parameter tool with no annotations and no output schema, the description provides excellent completeness. It explains the tool's purpose, when to use it, input format, detailed output structure with field descriptions, practical examples, and guidance on alternatives. The output description effectively substitutes for a missing output schema.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already fully documents the single 'path' parameter. The description repeats the parameter explanation in the INPUT section and provides extensive examples in COMMON PATHS, but doesn't add significant semantic value beyond what the schema provides. This meets the baseline for high schema coverage.

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?

The description clearly states the tool's purpose with specific verbs ('fetch and extract content') and resource ('Google Cloud documentation page'). It distinguishes from sibling tools by specifying it's for exact documentation paths, unlike 'search_google_cloud_docs' for unknown paths or 'list_google_cloud_products' for product listings.

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

Usage Guidelines5/5

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

The description includes an explicit 'WHEN TO USE' section that provides clear guidance: use when you know the exact documentation path. It also explicitly names an alternative tool ('search_google_cloud_docs') for when you don't know the path, creating a complete usage framework.

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

Install Server

Other Tools

Latest Blog Posts

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/longngo192/gcpdoc-mcp'

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