Skip to main content
Glama
customaise

customaise

Official

list_remotes

Read-onlyIdempotent

Retrieve script-created remotes for all scripts or one script to recover their links, inspect titles and tools, or find stale remotes no longer opened by their scripts.

Instructions

List the remotes that scripts have made for the user's other device with CM_remote (Script Remotes), for every script or for one. A remote is a page a script wrote: the user opens its link on their phone, and its buttons run the script's tools in the signed-in tab. Each has scriptId, script, name, id, url (its link: give it to the user whole, including everything after #), title, site, tools, handsOver and revision. A remote keeps one link for its life, and its script changes it in place by opening it again under the same name. Use this to find a remote's link again, or to find one its script no longer opens (for example after you renamed it), which end_remote ends.

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": "list_remotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptIdNoOnly this script's remotes. Omit for every script's.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.6.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive safety, and the description goes beyond them by disclosing lifecycle semantics: "a remote keeps one link for its life, and its script changes it in place by opening it again under the same name". That explains why stale entries can appear and why re-listing is meaningful, which annotations cannot convey.

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?

Purpose and usage are front-loaded, and the field enumeration earns its place since there is no output schema. Minor bloat from listing both "id" and "scriptId" alongside "script" and "name", and the field list makes the block long, but nothing is truly wasted.

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?

With no output schema, the description supplies return fields (scriptId, script, name, id, url, title, site, tools, handsOver, revision) and a critical handling instruction for the url ("give it to the user whole, including everything after #"). It also covers lifecycle and the paired mutating tool, leaving nothing an agent needs before invoking it.

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 parameter is already documented as "Only this script's remotes. Omit for every script's." The description's phrase "for every script or for one" merely restates the schema, adding no new syntax or edge-case meaning. Baseline 3 applies when the schema does the heavy lifting.

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?

The description opens with a specific verb and resource ("List the remotes that scripts have made... for every script or for one") and immediately defines what a remote is ("a page a script wrote... its buttons run the script's tools in the signed-in tab"). It also scopes the domain to the user's other device via CM_remote, which cleanly separates it from the tab/script/handover siblings.

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?

Explicit use cases are given: "find a remote's link again, or to find one its script no longer opens (for example after you renamed it)". It also names the sibling that consumes the results ("which end_remote ends"), providing a concrete alternative path. It stops short of saying when to use list_handovers or list_scripts instead, so not a full 5.

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