Skip to main content
Glama

get_logs

Read-only

Retrieve recent logs from server and browser with filtering by source, stream, regex, and incremental tailing. Scope logs to a specific project.

Instructions

Return recent events from the unified buffer (server stdout/stderr + browser console/network/pageerror), newest last. Filter by source, stream, grep, and tail incrementally with sinceSeq. Scope to one project's logs with app. For events around a specific moment use get_logs_around; to triage errors first use diagnose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoScope to a specific app/project — matches a pane's label (project name) or id (see pane_list). Omit for all apps.
grepNoCase-insensitive regex (or substring if invalid).
limitNoMax events (default 200).
sourceNoLimit to one source: server, browser, or native.
streamNoLimit to one stream, e.g. stdout, stderr, console, network, pageerror.
sinceSeqNoOnly events with seq >= this (for incremental tailing).
Behavior4/5

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

Annotations already declare readOnlyHint=true, so no mutation. The description adds behavioral context: events are ordered newest last, the buffer composition includes server and browser events, and incremental tailing is supported via sinceSeq. It doesn't discuss rate limits or exact return format, but adds value beyond 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 two sentences: the first states the core purpose and ordering, the second covers filtering, scoping, and alternatives. It is concise, front-loaded, and every sentence adds value without redundancy.

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

Completeness4/5

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

Given the tool has 6 parameters, no output schema, and is a log retrieval tool, the description covers the main use cases, filtering options, and differentiation from siblings. It does not detail the return format, but the schema descriptions and the term 'events' provide adequate context for an agent.

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?

Schema coverage is 100%, so baseline is 3. The description adds context like 'Scope to one project's logs with `app`' and explains the purpose of filtering parameters (source, stream, grep) and incremental tailing (sinceSeq). This provides meaning beyond the individual schema descriptions.

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 clearly states the tool returns recent events from a unified buffer (server stdout/stderr + browser console/network/pageerror) with newest last ordering. It distinguishes from siblings 'get_logs_around' and 'diagnose' by mentioning their specific use cases.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool: for filtering by source, stream, grep, and incremental tailing with sinceSeq, and scoping to a project. It also clearly states when to use alternatives: 'For events around a specific moment use get_logs_around; to triage errors first use diagnose.'

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

Install Server

Other Tools

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/vincentvella/devloop'

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