Skip to main content
Glama

troubleshoot_logs

Analyze VPS logs to identify common errors and get AI-friendly fix suggestions for your Google Cloud instance.

Instructions

Analyze logs and provide AI-friendly troubleshooting suggestions. Identifies common errors and solutions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "instanceName": "<instanceName>"
    },
    "name": "troubleshoot_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesGoogle Cloud project ID
timeRangeNoTime range to analyze (e.g., "1h", "24h")1h
instanceNameYesVPS instance name
includeSuggestionsNoInclude fix suggestions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It says the tool analyzes logs and offers suggestions, but it does not disclose whether the operation is read-only, what permissions or data access are required, how suggestions are generated, or what the response contains.

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 two short sentences and front-loads the core action. It is appropriately sized, though the second sentence is somewhat redundant with the first and the phrase 'AI-friendly' is vague.

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?

For a four-parameter analysis tool with no annotations and no output schema, the description is too thin. It does not explain the expected return shape, the scope of log analysis, or how it relates to the nearby search and live-view tools, leaving important invocation context unaddressed.

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?

The input schema has complete description coverage for all four parameters, so the schema already explains projectId, instanceName, timeRange, and includeSuggestions. The description adds no further parameter-specific meaning beyond that structured coverage.

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 states a specific action: analyzing logs and providing troubleshooting suggestions, including identifying common errors and solutions. It is clear what the tool does, but it does not distinguish itself from sibling tools such as search_logs or view_logs_live.

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 implied by the troubleshooting framing, which suggests the tool is for diagnosing log errors rather than simply searching or viewing logs. However, there is no explicit when-to-use guidance, no exclusions, and no named alternatives to clarify the choice against sibling tools.

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