Skip to main content
Glama

muse_close

End a local coding-agent session started by this server by passing its session ID, stopping the session and releasing associated resources.

Instructions

End a session this server started.

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": "muse_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden for a mutating teardown operation. It never says what happens to in-flight work, whether termination is graceful or immediate, whether the call is idempotent, or how an unknown or already-closed session_id is handled.

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?

A single short sentence with the scope constraint front-loaded and no wasted words. The brevity is appropriate in form, though it leaves substantive gaps rather than being admirably tight.

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

Completeness2/5

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

The tool itself is simple — one string parameter and no output schema — but the description still omits the two things an agent needs: where the session_id originates and what state the session is left in after the call. With no annotations to fall back on, those gaps are not covered elsewhere.

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?

There is one required parameter and schema description coverage is 0% — the schema only reveals that session_id is a string. The description does not explain where that identifier comes from (presumably returned by a spawn tool) or whether it accepts handles from other servers, so it adds no meaning over the bare 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 supplies a specific verb ('End') and resource ('session'), plus a scope qualifier ('this server started') that distinguishes it from sessions managed elsewhere. It does not name a sibling, so an agent must rely on the scope clause alone to separate it from muse_cancel or muse_status.

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?

'this server started' implicitly excludes externally created sessions, which is a usable boundary condition. Beyond that there is no guidance on when to close versus cancel (muse_cancel) or check state first (muse_status), and no stated prerequisites such as whether the session must be idle.

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