Skip to main content
Glama

instance_logs

Retrieve startup scheduling events and container logs for the current instance to diagnose creation hangs or failures.

Instructions

当前实例的启动调度事件与容器日志(创建卡住/失败时先看这里)。

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": "instance_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It clarifies an important implicit behavior - the tool targets the current instance with no identifier needed - but says nothing about volume, time range, retention, truncation, or whether logs are a live tail or a snapshot.

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?

A single sentence that front-loads the content (what the logs contain) and closes with actionable guidance in parentheses. No filler.

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?

For a trivial zero-parameter read tool this is nearly sufficient: it says what is returned and when to reach for it. The one real gap is return shape, since there is no output schema, so the agent cannot anticipate format or size.

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 the schema has nothing to explain and baseline is 4. The description does add useful meaning by stating the logs belong to the current instance, telling the agent no instance selector is required.

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?

States a specific resource pair - startup scheduling events plus container logs - and scopes it to the current instance. Distinguishes it implicitly from siblings like instance_status/instance_job by naming logs specifically, though the retrieval verb is only implied rather than stated.

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?

Gives an explicit trigger condition: look here first when instance creation is stuck or failing. That is a clear use case, but it does not name a sibling alternative or state when not to use it (e.g. for running jobs vs startup failures).

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