Skip to main content
Glama

Habitica MCP Server and API by Cotlet

Close the browser

cotlet_browser_close
Idempotent

Ends the browser session when the task is done: the browser keeps its cookies and sleeps, and the per-minute charge stops. Answers the session's minutes and credits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cotlet_browser_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoLeave out. Only an app slug cotlet_app_guide names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / app / description
      Previous value: -"Leave it out: the step runs in the user's web browser. Only when cotlet_app_guide names an app's own Cloud Browser, that app's slug, e.g. milanote."New value: +"Leave out. Only an app slug cotlet_app_guide names."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that cookies are retained and the browser merely sleeps (state persists, nothing is lost), that the per-minute billing stops, and what the call answers with (session minutes and credits). That is exactly the operational and cost context an agent needs before deciding to close mid-task.

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 sentences, both front-loaded with the action first and the consequences after. Nothing is repeated and every clause carries new information.

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 zero-required-parameter terminal action with full annotation coverage and no output schema, the description covers effect, cost, and return values adequately. A note on whether closing mid-task loses in-flight page state would close the last gap.

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 coverage is 100% and the single optional `app` parameter is already documented in-schema as something to leave out. The description adds nothing about parameters, so the baseline applies; the schema does the work here.

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 ("Ends the browser session") rather than restating the name, and frames the outcome. Against a sibling set full of browser_* action tools, it is unmistakably the terminal action rather than another interaction.

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?

"when the task is done" gives a clear trigger condition for calling it. It does not state what happens if the session is already closed or name an alternative, but idempotentHint already covers the repeat-call case and there is no real substitute for this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources