Skip to main content
Glama

Read logs

read_logs

Tail and filter log files, extract JSON fields. Diagnose issues by reading the last lines of any configured log file directly from your development environment.

Instructions

Read the tail of a configured log file with optional filter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
tailNo
filterNo
jsonFieldNo
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions tail and filter but does not disclose read-only nature, error handling, symlink behavior, or whether output is raw text or formatted. Lacks behavioral details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence is too brief for a 4-param tool with no annotations; it sacrifices completeness for brevity. Not sufficiently informative.

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

Completeness1/5

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

Tool has 4 parameters, no output schema, and no annotations. Description is extremely minimal, lacking return format, default behavior, constraints, and error conditions. Incomplete for effective use.

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?

With 0% schema description coverage, description should compensate. It only mentions 'filter' and implies 'tail' via description, but omits the required 'path' and 'jsonField' parameter entirely. Adds minimal value beyond the 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?

Description clearly states it reads a log file tail with optional filter, but does not distinguish from sibling tool 'read_file' which could read any file including logs.

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 guidance on when to use this tool instead of alternatives like read_file or run_command, nor any prerequisites or when not to use.

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/marin1321/mcp-devtools'

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