Skip to main content
Glama

service_logs

Read-onlyIdempotent

Recent stdout and stderr for a service. Secrets are redacted on a best-effort basis before the logs leave the platform; treat redaction as a safety net, not a guarantee.

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": {
      "productId": "<productId>",
      "serviceId": "<serviceId>"
    },
    "name": "service_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return.
sinceNo
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
serviceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: secrets are redacted best-effort before logs leave the platform and the agent should not rely on it as a guarantee. It does not disclose the effective time window or whether `since` is required to reach older logs.

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?

Two sentences, both load-bearing: the first establishes what is returned and for what scope, the second front-loads the redaction caveat. No filler or restatement of the tool name.

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, annotation-covered tool with no output schema, the description need not explain return values, and the redaction caveat is a real plus. However, the undefined 'recent' window and the undocumented `since` parameter leave an agent unable to reason about how far back the logs reach, which matters for a log-fetching tool.

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 coverage is only 50% — productId and limit are documented in the schema, but serviceId and since have no description at all. The description adds no parameter meaning: it never explains the time-window semantics of `since`, what unit/format the limit bounds apply to, or what 'recent' means by default, so the coverage gap is not compensated.

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 names a specific resource — recent stdout and stderr for a service — which is concrete enough that an agent can tell it apart from the sibling service_* tools (list, delete, update) that do not return logs. It lacks an explicit verb phrase and does not name an alternative log source, so it stops short of a 5.

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 guidance on when to reach for this tool versus siblings such as deployment_get or build_queue_get, and no stated prerequisites (e.g., whether the service must be running or deployed). The only implicit scope cue is the word 'Recent', which is left undefined.

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.

Resources