Skip to main content
Glama

Share Deck

share_deck
Destructive

Get or create a deck's public share link and return its URL, reusing the existing link for stability or rotating it to invalidate the previous one.

Instructions

Get or create the deck's public share link and return the URL.

Anyone with the link can open the deck, so use it only when the user asks for a link or to share the deck. Reuses the existing link so the URL is stable; pass rotate=true to mint a fresh one (the previous URL stops working).

Input Schema

NameRequiredDescriptionDefault
rotateNo
deck_idYes

Output Schema

NameRequiredDescriptionDefault
deck_idYes
share_urlYesPublic view link: opens the deck without signing in, subject to the link's password or expiry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the access model ('anyone with the link can open the deck'), the idempotent behavior ('reuses the existing link so the URL is stable'), and the destructive consequence of rotate ('the previous URL stops working'). That last point concretely explains where the destructiveHint=true applies, which the annotation alone leaves ambiguous.

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 what the tool does, then the safety constraint, then the parameter behavior. No filler or restated 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?

Covers purpose, access implications, reuse semantics, and the destructive rotate path; an output schema exists so return-value detail need not be spelled out beyond the URL mention. Nothing needed 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden: it fully defines rotate's semantics, default behavior, and side effect, which the bare boolean type could not convey. deck_id is left to the schema's uuid format and name, which is reasonable since its meaning is self-evident from the purpose sentence.

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+resource pair ('Get or create the deck's public share link') and the return value ('return the URL'). No sibling tool in the list does sharing, so it is unambiguously distinguishable from get_deck, patch_deck, or create_grant.

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?

Explicitly constrains usage: 'use it only when the user asks for a link or to share the deck,' which is a real exclusion rather than a vague hint. It also explains when to pass rotate=true. It does not name a competing tool, but none exists among the siblings, so the only gap is minor.

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