Skip to main content
Glama

Compute Services Get Service Logs

compute_services_get_service_logs
Read-onlyIdempotent

Fetches logs for a specified Snowflake service container instance to help troubleshoot container behavior and inspect runtime output.

Instructions

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": {
      "service_name": "<service_name>",
      "instance_id": "<instance_id>",
      "container_name": "<container_name>"
    },
    "name": "compute_services_get_service_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoQuote names that aren't all uppercase, exactly as list tools return them.
num_linesNo
instance_idYes
schema_nameNoQuote names that aren't all uppercase, exactly as list tools return them.
service_nameYesQuote names that aren't all uppercase, exactly as list tools return them.
container_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is fully covered and the description isn't obliged to restate it. What the description does add is minimal — only a docs URL — with no mention of log retention, truncation, default line count, or whether a stopped service returns an error. With annotations carrying the safety profile, a 3 is fair, but nothing operational is disclosed.

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?

Two short, front-loaded elements with no filler — the purpose sentence leads and the reference link follows. It is efficient, though efficiency here reflects under-specification as much as tight editing.

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?

A six-parameter tool with three required identifiers and only half the schema documented needs the description to close the gap, and it does not. The output schema being present lowers the burden for return values, but invocation-critical details like what instance_id means and what num_lines defaults to remain unexplained.

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

Parameters2/5

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

Of six parameters, only three carry schema descriptions (50% coverage) and they are identical boilerplate about quoting mixed-case names. The description adds nothing about num_lines defaults or limits, what instance_id identifies, or which container_name values are valid, so the undocumented half is compensated for nowhere.

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?

"Read service container logs" gives a specific verb and resource, and the name/description agreement means an agent knows this is the log-retrieval tool among service operations. It doesn't distinguish itself from any sibling explicitly, but no sibling plausibly overlaps on logs, so the purpose is unambiguous on its own terms.

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?

There is no when-to-use guidance at all: nothing says the service must already exist or be running, that instance_id is required, or how this relates to describe_service or list_services. The agent is left to infer invocation context entirely from the schema.

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

Deploy Server

Other Tools