Skip to main content
Glama
RadiumGu

GCP Billing and Monitoring MCP Server

by RadiumGu

Query Logs

gcp-logging-query-logs

Query Google Cloud logs using custom filters to search across payload types and metadata fields for operational insights and troubleshooting.

Instructions

Query Google Cloud Logs with custom filters. Searches across all payload types (text, JSON, proto) and metadata fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterYesThe filter to apply to logs (Cloud Logging query language)
limitNoMaximum number of log entries to return
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the search scope ('across all payload types and metadata fields') which is useful, but doesn't describe important behavioral aspects like authentication requirements, rate limits, pagination behavior (beyond the limit parameter), error conditions, or what the return format looks like. For a query tool with no output schema, this leaves significant gaps.

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 appropriately concise with two clear sentences. The first sentence states the core functionality, and the second adds important scope information. There's no wasted language, though it could be slightly more front-loaded with key differentiators. Every sentence earns its place by adding value.

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

Completeness2/5

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

Given the tool's complexity (querying logs with custom filters), lack of annotations, and absence of an output schema, the description is insufficiently complete. It doesn't explain what the tool returns (log entries format, fields included), doesn't mention authentication or permission requirements for Cloud Logging access, and provides no examples or guidance on constructing effective filters. For a tool that queries a complex service like Google Cloud Logging, more context is needed.

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 both parameters (filter with Cloud Logging query language, limit with range constraints). The description adds no additional parameter semantics beyond what's in the schema - it doesn't provide examples of filter syntax, explain what 'payload types' means in relation to the filter parameter, or offer guidance on appropriate limit values. The baseline of 3 is appropriate when the schema does all the work.

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

Purpose4/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: 'Query Google Cloud Logs with custom filters' specifies the verb (query) and resource (Google Cloud Logs). It distinguishes from some siblings by mentioning 'custom filters' and 'searches across all payload types', but doesn't explicitly differentiate from 'gcp-logging-query-time-range' or 'gcp-logging-search-comprehensive' which are closely related logging tools.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It mentions 'searches across all payload types' but doesn't explain when to choose this over 'gcp-logging-query-time-range' (which likely focuses on time-based queries) or 'gcp-logging-search-comprehensive' (which might offer broader search capabilities). No prerequisites, exclusions, or alternative recommendations are provided.

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/RadiumGu/gcp-billing-and-monitoring-mcp'

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