Skip to main content
Glama

Disconnect a system

disconnect_site
DestructiveIdempotent

Remove a site from a user's account so it stops appearing in their solar or battery monitoring; vendor-side link and history remain unchanged, and demo sites cannot be removed.

Instructions

CHANGES THE ACCOUNT (control scope). Confirm with the user before calling.

Remove a site from the user's account. The vendor-side link and history are left alone; the account just stops seeing it. Demo sites cannot be removed.

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": {
      "site_id": "<site_id>"
    },
    "name": "disconnect_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesSite id from list_sites: vendor:station_id, e.g. sungrow:1445844.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.11.5
    • addedInput schema / properties / site_id / description
      Added value: +"Site id from list_sites: vendor:station_id, e.g. sungrow:1445844."
  2. First observedv0.9.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description's real value is the blast-radius clarification: the vendor link and history survive, only account visibility is dropped. It also adds a required human-confirmation step not expressed in the annotations. It doesn't discuss idempotency semantics or effects on alerts/strategies tied to the site, so not a 5.

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?

The destructive/confirmation warning is front-loaded before the operation is explained, which is the right order for a mutating tool. There is mild redundancy between "CHANGES THE ACCOUNT" and "Remove a site from the user's account," but nothing is wasted.

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 one-parameter destructive tool with annotations and an output schema, this covers the essentials: what is removed, what is preserved, and the demo-site exclusion. The only gap is the downstream effect on related objects (alerts, strategies) that may reference the site.

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 site_id parameter already documents its format via list_sites (vendor:station_id). The description adds no additional meaning about the identifier, so the baseline 3 for a fully documented schema 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 ("Remove a site from the user's account") and immediately scopes what that means: the vendor-side link and history remain intact, only the account's visibility changes. This is clearly distinguishable from sibling mutation tools like delete_alert or end_strategy.

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 an explicit when-not condition ("Demo sites cannot be removed") and a procedural prerequisite (confirm with the user before calling). It never names connect_site as the inverse operation, so the alternative is only implicit, which keeps it short of a 5.

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