Skip to main content
Glama

Share output publicly

share_media
Destructive

make a generated output publicly shareable via a permanent unsigned url. WARNING: this is IRREVERSIBLE - anyone with the link keeps access forever and there is no unshare. always confirm with the user before calling. output_id comes from check_job (output_ids) or list_generations.

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": {
      "output_id": "<output_id>"
    },
    "name": "share_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
output_idYesthe output id to share (uuid from output_ids or list_generations)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, yet the description adds the critical details they cannot convey: the share is IRREVERSIBLE, there is no unshare, and anyone with the link retains access forever. That is exactly the behavioral context an agent needs before invoking an irreversible public exposure.

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, each earning its place: capability, irreversible warning, and parameter provenance. The warning is front-loaded right after the capability statement, which is the correct ordering for a destructive action.

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 one-parameter irreversible mutation, the definition covers what it does, that it cannot be undone, who retains access, the confirmation requirement, and where the id comes from. With no output schema needed beyond the permanent URL already described, nothing material 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 single parameter is described in the schema, including the same provenance hint. The description largely duplicates that field description rather than adding format or edge-case meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource plus the mechanism: 'make a generated output publicly shareable via a permanent unsigned url.' An agent knows exactly what the tool produces. It stops short of naming the sibling it differs from (e.g. get_file_url for signed links), so full differentiation is left implicit.

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?

Gives explicit prerequisite behavior ('always confirm with the user before calling') and tells the agent where the required id originates (check_job's output_ids or list_generations). It does not state when to prefer this over other URL-producing siblings, but the pre-call confirmation gate is strong, actionable guidance.

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