Skip to main content
Glama

Stop log capture

stop_log_capture

Stop an active log capture session to retrieve the saved file path and view the final lines of logged output.

Instructions

Stop a log capture session and return the file path plus the last lines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession id from start_log_capture
tailLinesNoLines of tail to inline (default 60)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the return value (file path and last lines), but does not mention side effects on the session, file persistence, or error behavior on invalid session IDs. This is a moderate gap.

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 one concise sentence that front-loads the key action and output with no wasted words.

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?

For a simple session-stopping tool, the description covers the main behavior and return value. It doesn't provide error handling details or output structure, but these are less critical given the simple nature and clear parameter 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%, with clear descriptions for sessionId and tailLines. The description adds no additional parameter semantics beyond what the schema provides.

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 action: 'Stop a log capture session' and the output: 'return the file path plus the last lines.' It distinguishes from siblings by focusing on session termination, unlike get_logs or get_crash_logs.

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

Usage Guidelines4/5

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

The description implies usage for terminating a session started by start_log_capture, as indicated by the sessionId parameter referencing that tool. It doesn't explicitly exclude alternatives, but the context is clear.

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/dev-jackson/androidbuild-mcp'

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