Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Close remote profile

close_remote_profile
Idempotent

Disconnect a remote backend profile opened in this session when work is done or to free a slot; the backend ID stops working immediately.

Instructions

Disconnect a profile that open_remote_profile opened in this session. Use when: done with a remote backend, or to free a slot. Instead: list_backends to see what is open. Requires: --mcp-tools remote. Behavior: changes no files; the id stops working and calls stuck on it end. A repeat fails with 'no open backend'. A connection lent by an axross pane (lent in list_backends) is refused. Time limit: 15 s. Returns: {backend, closed: true}.

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": {
      "backend": "<backend>"
    },
    "name": "close_remote_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
backendYesThe backend id open_remote_profile returned, e.g. 'profile:nas'.

Output Schema

NameRequiredDescriptionDefault
closedYes
backendYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: declares no files change, the id becomes invalid, calls stuck on that id terminate, a repeat fails with 'no open backend', lent connections are refused, and a 15 s time limit applies. The failed-repeat disclosure sits in mild tension with idempotentHint=true, but read as 'no additional effect' rather than 'no error' the two are reconcilable and the safety profile (destructiveHint=false, no file changes) is consistent.

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?

Labeled clauses (Use when / Instead / Requires / Behavior / Returns) front-load the action before the caveats, and every line carries distinct operational information. No filler sentences.

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?

A one-parameter close operation with annotations, an output schema, and a stated return shape — nothing an agent needs in order to call it correctly or interpret the result is missing. The preconditions, failure modes, and timeout are all covered.

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 100% and the single 'backend' parameter is already documented with an example, so the baseline is 3. The description adds real meaning on top: it ties the value's provenance to open_remote_profile's return and explains that ids lent by an axross pane are rejected, which the schema does not say.

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 ("Disconnect a profile") and immediately scopes it to one opened by open_remote_profile in this session. An agent can distinguish it from open_remote_profile and list_backends without opening any schema.

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

Usage Guidelines5/5

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

Explicit "Use when: done with a remote backend, or to free a slot" plus an "Instead: list_backends to see what is open" redirect, so the alternative and the condition selecting it are both named. It also carves out the lent-by-axross-pane case that this tool refuses, which prevents a class of misinvocation.

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