Skip to main content
Glama

Revoke a private share link

revoke_share_link
DestructiveIdempotent

Revoke a private share token so its link stops opening the scene, or list active share tokens first to choose which link to cut off. Other tokens and the scene stay untouched.

Instructions

Revoke one private share token so the link containing it stops opening the scene, or list the active tokens. Use it when the user wants to cut off a link they sent: call with only scene to list active shareIds, then again with share_id. To make the whole scene public or unlisted again, use create_share_link. Parameters: scene (id or link) and optional share_id from create_share_link or the list call; the list shows each token's last characters so the user can tell links apart. Takes effect immediately and cannot be undone; that link stops opening the scene for everyone who has it. Other tokens and the scene are untouched. Requires sign-in (connector sign-in, or VERSE_API_KEY for the local server).

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": {
      "scene": "<scene>"
    },
    "name": "revoke_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
sceneYesScene id (e.g. palm-villa-0a1b2c3d4e5f), the job id returned by upload_scene, or a Verse share link.
share_idNoThe shareId to revoke. Omit to list active ones.

Output Schema

NameRequiredDescriptionDefault
sceneYesScene id.
sharesNoActive share tokens (id and last characters), when listing.
revokedNoThe share id that was revoked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.4
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "revoked": {
      +      "description": "The share id that was revoked.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "scene": {
      +      "description": "Scene id.",
      +      "type": "string"
      +    },
      +    "shares": {
      +      "anyOf": [
      +        {
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Active share tokens (id and last characters), when listing."
      +    }
      +  },
      +  "required": [
      +    "scene"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the destructiveHint=true and idempotentHint=true annotations, it spells out that the change is immediate and irreversible, that the link stops working for everyone holding it, and that other tokens and the scene itself are untouched. It also discloses the sign-in requirement (connector sign-in or VERSE_API_KEY for the local server).

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?

It front-loads the verb and effect, then layers mode, alternative, parameters, and side effects in a logical order. The single dense paragraph is efficient but borders on run-on, folding several distinct concerns (workflow, parameters, auth) into one block.

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 two-mode tool with an output schema, it covers everything needed to call correctly: the list-then-revoke workflow, parameter sourcing, blast radius, and authentication. Return values need not be described since an output schema exists.

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 baseline would be 3, but the description adds genuinely new meaning: `share_id` may come from create_share_link or from a prior list call, and the list displays each token's trailing characters so the user can distinguish links before revoking.

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?

The first sentence gives a specific verb and resource plus the observable effect: revoke one private share token so the link stops opening the scene. It also discloses the secondary listing mode up front, which an agent could not infer from the name alone.

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?

It states the trigger ('when the user wants to cut off a link they sent'), the exact two-step call sequence (first with only `scene` to list, then with `share_id`), and names the alternative create_share_link for making the scene public or unlisted again.

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