Skip to main content
Glama

search_assets

Read-onlyIdempotent

Find cloud resources across GCP projects using Cloud Asset Inventory. Filter by asset type, query, or environment to locate specific resources for incident investigation or inventory.

Instructions

Search all cloud resources in the project via Cloud Asset Inventory.

Args: asset_types: Optional comma-separated asset types to filter, e.g. 'compute.googleapis.com/Instance,run.googleapis.com/Service'. query: Optional free-text/structured query, e.g. 'state:RUNNING' or 'location:us-central1'. limit: Maximum number of resources to return. Default 50; raise it when you know you need a full inventory, since each resource costs context. include_labels: Include resource labels. Off by default because deployment labels are usually the largest part of the response and rarely answer the question being asked. environment: Which configured GCP environment to search, e.g. 'staging' or 'production'. Omit to use the default environment. Call list_environments to see what is configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNo
asset_typesNo
environmentNo
include_labelsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.4.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this as read-only, idempotent, and non-destructive, and the description adds valuable behavioral context beyond that: limit defaults and context cost, why include_labels is off, and how environment selection behaves. This helps an agent make informed invocation decisions.

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

Conciseness5/5

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

The description is front-loaded with the core purpose and then uses a compact args list where every line earns its place. No filler or redundant restatement of the schema exists.

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 tool with five optional parameters and no output schema, the description covers all invocation-relevant aspects: filter syntax, defaults, context-cost trade-offs, and environment handling. It gives enough information for an agent to select and call the tool correctly without additional lookup.

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

Parameters5/5

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

Schema description coverage is 0%, and the description compensates fully by explaining every parameter with concrete examples, defaults, and rationale. It adds meaning far beyond the bare schema properties, especially around limit and include_labels.

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 first sentence states a specific verb ('Search'), a clear resource scope ('all cloud resources'), and the mechanism ('Cloud Asset Inventory'), which immediately distinguishes it from sibling list_* tools that target specific GCP resources. It is unambiguous and not a tautology.

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

Usage Guidelines4/5

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

The description clearly communicates when to use the tool: for broad searches across all cloud resources, with optional filtering by asset type and query. It does not explicitly contrast with sibling tools or state when not to use it, but the scope and parameter guidance imply the appropriate context, and it directs users to list_environments for environment setup.

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

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/deBilla/platform-mcp'

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