Skip to main content
Glama

Revoke an upload link

close_channel
DestructiveIdempotent

Revokes an upload link of a piece: the link stops working at once and any upload still travelling through it is cancelled; files that already arrived stay in the material. Revoking an already revoked link changes nothing (revoked: false). Only the piece's owner. Requires write. $0.

Input Schema

NameRequiredDescriptionDefault
channel_idYesThe `id` of the upload link (in `channel`).
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/idempotentHint annotations by spelling out the exact blast radius: the link dies immediately, in-flight uploads are cancelled, but already-delivered files remain in the material. It also discloses the auth/scope requirement and the zero-cost property.

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?

Front-loads the action and its consequence in one sentence, then tacks on the no-op case, permission requirement, and cost as short declarative clauses. Every clause carries distinct information with no restatement of the 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?

For a two-parameter, non-read-only mutation with no output schema, it covers consequences, idempotency, permissions, and even the shape of the no-op response field. An agent has everything needed to call it safely and interpret the result.

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?

channel_id is covered by the schema, and the description adds real meaning by clarifying what happens to the entity behind it. The residual gap is project_id, which the schema leaves undocumented and the description only gestures at obliquely with 'the piece's owner'; with 50% coverage this is a modest gap rather than a fatal one.

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 ('Revokes an upload link of a piece') and immediately describes the effect, which clearly separates it from the inverse operation open_channel. It does not explicitly name that sibling as its counterpart, so an agent must infer the pairing from context.

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 concrete preconditions — 'Only the piece's owner' and 'Requires `write`' — plus the when-not case: revoking an already revoked link is a no-op returning `revoked: false`. What is missing is an explicit pointer to open_channel for link creation or to list_channels for discovery.

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