Skip to main content
Glama
customaise

customaise

Official

end_remote

Destructive

Permanently ends one remote by id or link, disabling its link on every device at once so it cannot be reopened under the same name.

Instructions

End one remote. Its link stops working on every device at once and cannot be brought back: the next CM_remote.open under that name makes a new remote with a new link, which the user must be given again. Use it for a remote its script no longer opens, or when the user asks. Never end a remote to change it: a script changes its remote in place by opening it again, and the user keeps their link. Deleting a script ends all of its remotes; this ends one.

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": {
      "remote": "<remote>"
    },
    "name": "end_remote"
  }
}

Input Schema

NameRequiredDescriptionDefault
remoteYesThe remote to end: its id as list_remotes gives it, or its link

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.6.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds the substance behind those flags: the link stops working on every device, is irrecoverable, and a reopened remote produces a new link the user must be given again. It also clarifies the blast radius relative to script deletion, which no annotation conveys.

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: what it does, then irreversibility, then when to use, when not to, and the contrast with delete_script. A few clauses are slightly padded ('which the user must be given again'), but nearly every sentence carries distinct decision-relevant information.

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 destructive tool with annotations and no output schema needs exactly what is here: irreversibility, user-visible consequences, and the condition that should trigger it. Nothing required to invoke it correctly is missing.

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% with a single required parameter already documented as an id from list_remotes or a link. The description's reference to 'that name' hints at identity semantics but adds no format, precedence, or error behavior beyond the schema, so the baseline of 3 applies.

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 with explicit scope: 'End one remote.' It also distinguishes itself from the closest sibling by contrasting 'Deleting a script ends all of its remotes; this ends one.' An agent can tell exactly what this does and what it does not.

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?

Gives both a positive trigger ('Use it for a remote its script no longer opens, or when the user asks') and an explicit prohibition with the alternative ('Never end a remote to change it: a script changes its remote in place by opening it again'). This is a full when/when-not/alternative triple.

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