Skip to main content
Glama

unsubscribe_delegate

DestructiveIdempotent

Remove a delegate subscription to unbind an observer and free resources. Idempotent: unknown or already-removed IDs return success as a no-op.

Instructions

Remove a subscription: unbinds the observer from the delegate and frees it. Idempotent (removing an unknown/already-removed subscription_id is a no-op success, not an error).

Returns: { removed: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscription_idYesThe id returned by subscribe_to_delegate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real business semantics beyond them: removing an unknown/already-removed id is a no-op success rather than an error, and it discloses the return shape. It does not discuss permissions or side effects on the observer beyond freeing 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?

Two tight sentences, purpose front-loaded, then the idempotency caveat, then the return type. Every clause carries information; no filler.

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 single-parameter teardown tool with no output schema, the description covers purpose, idempotency semantics, and the return value. Nothing an agent needs 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% and the schema already documents subscription_id as 'the id returned by subscribe_to_delegate'. The description adds nothing further about the parameter, so baseline 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?

It states a specific verb and resource ('Remove a subscription', 'unbinds the observer from the delegate and frees it'), which clearly separates it from the sibling subscribe_to_delegate. An agent can tell exactly what it does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies when to use it (to tear down a subscription created by subscribe_to_delegate), but there is no explicit when/when-not statement or named alternative. Usage must be inferred from the verb.

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

Deploy Server

Other Tools