Skip to main content
Glama

get_service_logs

Read-only

Get a structured status and diagnostics summary for a service: state, deployment status, resources, and errors. Assess service health without raw log streaming.

Instructions

Get a status/diagnostics summary for a service.

Note: EasyPanel's tRPC API does not expose raw container log streaming, so this returns a structured status summary (state, deployment status, resources, errors) derived from service inspection.

Args: service_id: Service ID lines: Reserved for future raw-log support (currently unused)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesNo
service_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

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

  1. First observedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

The readOnlyHint annotation already signals a safe read operation. The description adds meaningful behavioral context by explaining the tool returns a structured status summary derived from service inspection, including state, deployment status, resources, and errors. It also discloses that the 'lines' parameter is currently unused, preventing an agent from expecting raw-log pagination behavior. No contradiction with annotations.

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 compact and front-loaded with the core purpose in the first sentence. The note about raw logs is placed immediately after, and the Args section is minimal. Every sentence contributes useful information, and there is no redundant filler.

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 read-only diagnostics tool with an output schema present, the description provides enough context: what the tool returns, why it is not raw logs, and which parameter is currently inert. The note resolves the main realistic confusion caused by the tool name. Nothing essential for correct invocation is missing.

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 0%, so the description carries the burden of explaining parameters. It adds the critical fact that 'lines' is reserved and currently unused, which goes beyond the schema. However, 'service_id: Service ID' only restates the schema's title and adds no additional semantic detail. The description partially compensates but does not fully enrich both parameters.

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 description states a specific verb and resource: 'Get a status/diagnostics summary for a service.' It also explicitly distinguishes itself from raw container log streaming, which is exactly the ambiguity the tool name creates. This makes it immediately clear what the tool does and how it differs from a naive reading of 'logs.'

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 says when this tool is appropriate: when a service status/diagnostics summary is needed. It also gives an explicit when-not: raw container log streaming is not exposed by the API, so this tool should not be expected to return raw logs. It does not name a sibling alternative like get_deployment_logs, but the context is still clear enough for an agent to avoid misuse.

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/dannymaaz/easypanel-mcp'

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