Skip to main content
Glama

disconnect_source

Destructive

Disconnect a data source: freddy stops syncing it and removes the connection. Its stored data stays. With delete_data: true, freddy also deletes all of the source's data permanently. Confirm with the user before calling. To connect the source again, the user signs in to it again.

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": {
      "provider": "<provider>"
    },
    "name": "disconnect_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerYesProvider slug of a connected source (uppercase enum, e.g. 'GARMIN'; lowercase + dashes also accepted). An unknown slug returns the full list of valid sources.
delete_dataNotrue also deletes all of this source's stored data permanently. Leave it out to keep the data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • addedInput schema / properties / delete_data
      Added value: +{
      +  "description": "true also deletes all of this source's stored data permanently. Leave it out to keep the data.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint and openWorldHint but say nothing about what is actually destroyed. The description supplies the key distinction — connection removed but data retained by default, permanent data loss only with delete_data: true — plus a confirmation requirement, which is meaningful behavior beyond the structured hints.

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?

Four short sentences, front-loaded with the primary effect, then the optional destructive branch, then the safety instruction and reconnect note. No filler or restatement of the title.

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?

For a two-parameter destructive mutation with no output schema, the description covers the durable effect, the data-loss branch, and the user-confirmation requirement. Nothing an agent needs in order to invoke it safely is missing.

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%, so the baseline is 3, but the description adds consequence-level meaning to delete_data ('also deletes all of the source's data permanently') rather than just restating the type. Provider semantics (slug format, unknown-slug behavior) are left entirely to the schema, which documents them well.

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 and immediately describes the concrete effect: freddy stops syncing and the connection is removed while stored data stays. It also covers the reverse path (reconnect by signing in again), which separates it from connect_source without needing the sibling's schema.

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 procedural instruction ('Confirm with the user before calling') and clarifies the branch condition for when to set delete_data. It does not name a competing sibling or describe when-not to disconnect, so it falls just short of full routing guidance.

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