Skip to main content
Glama

get_logs

Read-onlyIdempotent

Retrieve normalized log lines for a deployment or project within a bounded time window, filtered by level, platform, and optional since or until timestamps.

Instructions

Get normalized log lines for a deployment or project (bounded window).

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

Input Schema

NameRequiredDescriptionDefault
idNo
cwdNo
levelNo
limitNo
sinceNo
untilNo
projectNo
platformNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered elsewhere. The description contributes two real facts: logs are 'normalized' and results are bounded by a window. It omits defaults for limit/since, whether the window is required in practice, and any truncation or pagination behavior.

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?

A single front-loaded sentence with no filler; the scope and the bounding constraint come before anything else. It is arguably too terse for an 8-parameter tool, but nothing in it is wasted.

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?

With 8 parameters at 0% schema description coverage and no output schema, the description carries most of the explanatory burden and does not meet it. It says nothing about level, limit, platform, cwd, or what a returned log line looks like, leaving five parameters semantically opaque.

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?

X

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 verb ('Get') and resource ('normalized log lines') plus the scope ('for a deployment or project'), so the agent knows this is a log-fetch tool rather than a deployment-mutation tool like redeploy or rollback. It stops short of differentiating itself from siblings like get_deployment, which also takes an id.

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?

No explicit statement of when to use this versus get_deployment or list_deployments. The parenthetical '(bounded window)' hints that a time range is expected but never says when the tool applies, when it fails, or what the alternative is for unbounded log access.

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