Skip to main content
Glama

diana_stop

Destructive

End the live DIANA session, optionally save the open project first, and close the DianaIE window to prevent unsaved changes from being lost.

Instructions

End the live session.

Args: save: save the open project first. Otherwise unsaved changes are lost if DianaIE closes. close_diana: close the DianaIE window. Defaults to True for a DianaIE launched by this server and False for one the user opened (then only the bridge stops and DianaIE stays open).

Input Schema

NameRequiredDescriptionDefault
saveYes
close_dianaNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, but the description adds the crucial operational consequence: unsaved changes are lost unless save=True, and whether the DianaIE window itself closes depends on whether this server launched it. That launch-origin distinction is behavioral context the annotations cannot express. It omits what happens if no session is active, which keeps it from a 5.

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 purpose sentence is front-loaded and each parameter note earns its place; the wrapping across three lines for close_diana is slightly awkward but no content is redundant.

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

Completeness5/5

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

For a two-parameter destructive teardown tool with an output schema and destructiveHint already covering the risk profile, the description supplies the one thing an agent most needs: the data-loss condition on save and the window-state semantics of close_diana. Nothing essential to calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and largely meets it: it explains what save protects against and resolves the null default of close_diana into the two concrete launch scenarios. The only gap is that it does not restate that save is required or what the boolean false means for close_diana beyond the launch-origin rule.

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?

"End the live session" is a specific verb+resource statement that clearly marks this as the teardown counterpart to diana_start in the sibling list. It stops short of naming the sibling explicitly, but the scope 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 tells the agent how to use each argument, including the conditional default for close_diana, but never states when this tool should be preferred over simply leaving DianaIE running or how it relates to diana_status/diana_start. Usage is implied rather than guided.

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