Skip to main content
Glama

Zestli

Disconnect Assistant

disconnect_assistant
DestructiveIdempotent

Disconnect one assistant from the user's Zestli account, the same as Disconnect in their account page. Use a grant_id from list_connections, and only when the user asks. It may be this assistant or another one. The assistant loses access at once; to reconnect, the user approves it again from that assistant. Bookings, payments and cancellations already made are not affected. Repeating it for the same grant_id is harmless.

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": {
      "request": "<request>"
    },
    "name": "disconnect_assistant"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault
grant_idYes
disconnectedYes
was_this_assistantYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the destructive/idempotent annotations, it describes the blast radius: access is revoked immediately, existing bookings, payments and cancellations are untouched, and reconnect requires user approval. The "repeating it for the same grant_id is harmless" line corroborates idempotencyHint with concrete semantics rather than merely restating it.

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 with the action and its account-page equivalent front-loaded, followed by prerequisite, effect, and idempotency in that order. Every sentence supplies information the agent would otherwise have to guess.

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 destructive single-parameter mutation with an output schema, the definition covers authorization prerequisite, immediate effect, non-effects, recovery path, and repeat-call safety. Nothing needed to invoke it correctly or warn the user 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 reported at 0%, so the description must carry the load; it does explain the provenance of grant_id (from list_connections) and that the target may be this or a different assistant. It never addresses the required nested "request" wrapper or the expected identifier shape, so the structural half of the single parameter stays undocumented.

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 one assistant from the user's Zestli account) and anchors it to a familiar equivalent ("the same as Disconnect in their account page"). It also clarifies scope ("It may be this assistant or another one"), so the agent can separate it from sibling read tools like list_connections.

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 an explicit prerequisite ("Use a grant_id from list_connections") and an explicit gating condition ("only when the user asks"), plus names the path back (re-approval from that assistant) as the alternative to this action. Nothing about when to invoke versus not invoke is left to inference.

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