Skip to main content
Glama

Stop sharing an alert

stop_sharing
DestructiveIdempotent

End a share or withdraw an invitation, the same as Stop sharing in the app. Works for the owner, and for a recipient leaving an alert shared with them. Messages already on their way may still arrive.

Permission: alerts:write.

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": {
      "share_id": "<share_id>"
    },
    "name": "stop_sharing"
  }
}

Input Schema

NameRequiredDescriptionDefault
share_idYesShare ID from list_shares or list_shared_with_me.

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructive=true, idempotent=true, and readOnly=false; the description goes further by naming the required permission ('alerts:write') and disclosing the partial-effect caveat that 'Messages already on their way may still arrive.' That is real behavioral context an agent would otherwise lack, though it doesn't say whether a revoked share can be reinstated or what happens to the counterparty's copy.

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?

Three short sentences, front-loaded with the action, then actor scope, then caveat and permission. Nothing is redundant with the title or annotations, and the caveat is placed after the main action rather than burying it.

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 destructive single-parameter mutation with an output schema available, the description covers action, actor scope, permission requirement, and the delayed-delivery side effect. The remaining gap — reversibility and post-revocation state of the share — is the only thing an agent might want and not get.

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?

There is only one parameter and the schema already documents it fully ('Share ID from list_shares or list_shared_with_me', with UUID format and pattern). The description adds no format, sourcing, or validation detail beyond that, so the baseline 3 for high schema coverage 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 pair — 'End a share or withdraw an invitation' — and anchors it to the app action with a named equivalent ('Stop sharing'). It also distinguishes the two actor cases (owner revoking vs. recipient leaving), so an agent can separate it from share_alert without opening a 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?

Clearly delimits when the tool applies: ending an existing share or withdrawing a pending invitation, from either the owner's or the recipient's side. It does not name an explicit alternative or exclusion (e.g. how to modify rather than revoke a share), 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources