Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Clear Search

fc_clear_search
Idempotent

Removes a completed search from the list by ID or clears all completed searches to free memory.

Instructions

Removes a completed search from the list and frees memory.

Args:

  • search_id (string): Search ID (or "all" for all completed)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "search_id": "<search_id>"
    },
    "name": "fc_clear_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
search_idYesSearch ID or 'all'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.5
  2. Removedv1.9.3
  3. First observedv1.7.8

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive behavior. The description adds useful context beyond that by clarifying that only completed searches are removed, memory is freed, and 'all' targets all completed searches; this is consistent with the annotations.

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?

The core behavior is front-loaded in a single clear sentence. The Args block duplicates schema information, but it is short and does not significantly dilute the definition.

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 one-parameter cleanup tool with annotations covering safety and idempotency, the description is largely complete. It does not explain return behavior or error cases, but no output schema exists and the operation is straightforward.

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 100%, so the single parameter is already documented. The description repeats the same information and slightly clarifies that 'all' means all completed searches, but it does not add much beyond the schema.

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 states a specific verb and resource: it removes a completed search and frees memory. The word 'completed' scopes it usefully and helps distinguish it from starting or stopping searches, though no sibling tool is named explicitly.

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?

Usage is implied by 'completed search' and the 'all' option, suggesting cleanup of finished searches rather than running ones. However, it does not explicitly say when not to use it or point to alternatives such as stopping an active search or listing searches before clearing.

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