Skip to main content
Glama

service_logs

Read-only

A Service's recent logs: at most 200 lines, 16 KB and 500 B a line, secrets shown by name. With deployment, that Deployment's containers, or its build log if the build failed. This call asks no human.

Input Schema

NameRequiredDescriptionDefault
linesNo
serverNoOnly from this server.
projectNo
serviceYes
deploymentNoDeployment number.
environmentNo
since_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false. The description adds useful behavioral context beyond that: output is capped at 200 lines, 16 KB, and 500 B per line; secrets are shown by name; deployment logs fall back to the build log on failure; and the call asks no human.

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 short and front-loads the main resource and limits. The deployment sentence is tightly compressed to the point of slight ambiguity, but overall every sentence carries relevant information.

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

Completeness3/5

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

For a read-only log retrieval tool with annotations covering safety and no output schema, the description covers output caps, secret handling, and deployment fallback. It remains incomplete for a 7-parameter tool because several filtering and time-window parameters are not explained.

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?

Schema description coverage is only 29%, so the description needs to carry more parameter meaning. It explains the line cap and deployment behavior, but leaves project, environment, server filtering, and since_minutes largely undocumented beyond their parameter names.

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 identifies the resource as 'A Service's recent logs' and extends that to a specific Deployment's containers or build log when deployment is provided. This distinguishes it from the sibling server_logs by resource scope, though it does not use an explicit retrieval verb.

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?

It gives a conditional usage cue: with a deployment, it returns that Deployment's containers or failed build log. However, it does not say when to choose this over service_status, service_inspect, deployment_show, server_logs, or other diagnostic siblings, nor does it state exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.