Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Close Session

fc_close_session
DestructiveIdempotent

Terminate a running session by ID and remove it from the active list; use the optional force flag to close unresponsive sessions.

Instructions

Terminates a running session and removes it from the list.

Args:

  • session_id (string): Session ID

  • force (boolean, optional): Force termination

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": {
      "session_id": "<session_id>"
    },
    "name": "fc_close_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce
session_idYesSession ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.11.5
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv1.9.3
  3. Removedv1.9.3
  4. First observedv1.7.8

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds that the session is removed from the list and mentions force termination, but does not explain what force changes or what data is lost.

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 description is short and front-loaded with the core action. The Args section duplicates schema information and does not earn its place, but overall it remains concise.

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 two-parameter destructive tool with full schema coverage and rich annotations, the description is mostly complete. It could better explain the force parameter's effect, but no output schema exists and return values need not be described.

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%, so both parameters are already documented in the schema. The description merely repeats 'Session ID' and 'Force termination' without adding format, constraints, or behavioral meaning.

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?

States a specific verb and resource: 'Terminates a running session and removes it from the list.' This clearly distinguishes it from siblings like fc_start_session and fc_list_sessions.

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?

Provides no explicit guidance on when to use this tool versus alternatives, nor when to use the optional force parameter. Usage is only implied by the verb 'Terminates.'

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