Skip to main content
Glama
k-rister

ephemeral-buffer

by k-rister

clear_captures

Free up memory by clearing all or a specific captured output from the ephemeral buffer.

Instructions

Clears all or a specific capture from the ephemeral buffer to free memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capture_idNoall

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden and does reveal the main side effect ('Clears') and the underlying goal ('free memory'), as well as the ephemeral nature of the buffer. It stops short of stating irreversibility or the consequences of clearing all, though the ephemeral phrasing softens that 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?

A single, front-loaded sentence with no filler. Every word adds meaning: the action, the target, the scope, and the purpose.

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 low-complexity tool with one optional parameter, an output schema, and no annotations, the description covers the action, scope, and purpose sufficiently. A minor gap is not explaining how to identify the specific capture, but the parameter schema and title provide enough context.

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 coverage is 0%, so the description must compensate. It partially does by indicating that either 'all' or a specific capture can be cleared, which aligns with the default 'all' and the capture_id parameter name, but it does not explicitly explain how to supply a capture_id.

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?

The description uses a specific verb ('Clears') and resource ('capture from the ephemeral buffer') and explicitly covers the all-or-specific scope. It does not name a sibling for contrast, but no sibling appears to perform clearing, so the purpose is readily distinguishable.

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

Usage Guidelines3/5

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

The phrase 'to free memory' gives an implicit usage context: use this tool when captures in the ephemeral buffer should be removed. However, it does not state when not to use it or compare it with related tools such as consolidate_captures or get_buffer_stats.

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