Skip to main content
Glama

profile_stop

Stop an identity's running browser to free resources and close exposed login state while preserving stored cookies and logins; works for warm sessions and desktop-launched windows.

Instructions

Stop an identity's browser, however it was started.

Cookies and login state live in the identity's own storage and survive the stop; whatever was typed into an open form does not. Stop identities you are done with — a running identity holds a warm browser and keeps its login state exposed.

Two things can be running for one identity and this closes either: the warm session profile_start opens (the daemon drives it), and a window the desktop app launched on its own. The session is closed first; if there is none, the identity-level stop is used instead, which also terminates a launched window and is a no-op on an identity that is already idle.

Args: name: identity name, exactly as profiles_list reports it.

Returns {name, stopped, closed}: stopped is False when the identity was already idle, and closed lists what was actually shut down.

Fails with a readable message if the identity does not exist, or if the daemon is not running.

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses what survives (cookies and login state in identity storage), what is lost (form input), idempotency (no-op on an already-idle identity), the two distinct things that may be running and the ordering of shutdown, plus the two failure modes (unknown identity, daemon not running). This is exactly the context an agent needs before invoking a destructive-ish operation.

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?

Well front-loaded: the core action and the state-survival rule come first, followed by the two-things-running explanation, then Args/Returns/Fails. It runs a bit long and the session-vs-identity fallback sentence is dense, but nearly every sentence adds actionable information rather than restating the name.

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?

No output schema exists, so the description supplies return semantics itself, defining the `stopped` and `closed` fields and the already-idle case. Combined with explicit failure conditions and side-effect disclosure, an agent has everything needed to call this correctly without further exploration.

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 coverage is 0%, so the description must compensate; it names the sole parameter and specifies its provenance ('exactly as profiles_list reports it'), which tells the agent where to obtain a valid value. It could have added case/normalization rules, but the sibling pointer covers the main risk.

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+resource (stop an identity's browser) and immediately qualifies scope with 'however it was started', which distinguishes it from profile_start and the session_* tools. The second paragraph clarifies that it closes either the daemon-driven warm session or a desktop-launched window, so there is no ambiguity about what object is being acted on.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear positive guidance ('Stop identities you are done with') and explains why, plus the operational rationale that an idle identity frees the warm browser. It does not contrast with profile_delete or profile_restore in the sibling list, so the agent must infer that stopping is not the same as deleting/trashing — a small but real gap.

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