Skip to main content
Glama

project_close

Destructive

Request a normal window close for a tracked Proteus session without forcing termination or dismissing unsaved-change dialogs.

Instructions

Request normal WM_CLOSE for a tracked Proteus session. Does not force termination or dismiss unsaved-change dialogs.

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": "<session>"
    },
    "name": "project_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With destructiveHint=true, the description usefully clarifies the exact scope of destructiveness: it is a request, not a forced kill, and it will not clear unsaved-change dialogs. That is real behavioral information an agent cannot get from the annotations, though it omits what a refusal or blocked dialog looks like in the response and whether the session remains tracked afterward.

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?

Two short sentences with zero filler; the action is front-loaded and the important limitation follows immediately. Nothing could be removed without losing meaning.

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

Completeness3/5

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

For a one-parameter tool with no output schema and clear annotations, most of what an agent needs is present, but the semantics of the lone undocumented parameter and the observable outcome of a close request that may be blocked by a dialog remain unspecified.

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?

Only one parameter exists and schema description coverage is 0%, so the description must compensate. Saying "a tracked Proteus session" hints that the session argument is a previously tracked identifier rather than an arbitrary path or name, but gives no format, and does not clarify the value expected for a single required string.

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?

States a specific verb and mechanism ("Request normal WM_CLOSE") for a specific resource ("a tracked Proteus session"), which distinguishes it from sibling mutations like project_save or project_reopen. It stops short of explicitly naming which sibling to use when a graceful close is unwanted, but the resource/action pair is unambiguous.

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 description implies the graceful-close context by saying it does not force termination or dismiss dialogs, which helps an agent decide this is the polite path. However, it never states when to prefer this over alternatives, nor whether the session must be saved first or what to do if the close request is refused.

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