Skip to main content
Glama

Get logs

get_logs
Read-only

Fetch recent preview logs (tail)

Input Schema

NameRequiredDescriptionDefault
project_idNoProject id (or use session from use_project)
timeout_msNoHow long to collect SSE lines (default 2500)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds only the 'recent/tail' scoping nuance; it says nothing about whether logs stream, truncate, or return empty when no preview is active, which is meaningful for a log-fetching tool.

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 short phrase with the key scoping detail ('recent', 'tail') front-loaded and no filler. It is efficient, though so terse that useful context is omitted rather than 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?

For a tool with zero required parameters and no output schema, the description leaves important gaps: it does not explain the SSE/streaming nature implied by timeout_ms, what happens when no preview exists, or what the returned log format looks like. The agent is under-informed about invocation context despite the simple schema.

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 100%, so both parameters (project_id, timeout_ms) are already documented, including the session fallback. The description adds no additional parameter semantics, so baseline 3 applies.

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 ('Fetch') and resource ('recent preview logs'), and '(tail)' scopes it to the newest entries rather than full history. It is clearly distinct from siblings like get_preview, get_status, or get_health, though it does not explicitly name those alternatives.

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?

The description gives no when-to-use guidance, no prerequisites (e.g. must a preview be running?), and no mention of alternative tools for status or health checks. The agent must infer usage entirely from the title and parameter names.

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