Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

withdraw_share

Revokes a personal share so its link stops opening and the encrypted copy is deleted; use only when the user explicitly asks to revoke or unshare it.

Instructions

Withdraw one of the user's shares: its link stops opening at once and Portward deletes the encrypted copy. Only when the user asks to withdraw (or revoke, unshare) that share. Personal only.

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": "withdraw_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
share_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the action is destructive and immediate (link stops opening at once, encrypted copy deleted), which is exactly the information an agent needs before invoking an irreversible operation. It omits permissions, confirmation requirements, and whether withdrawal can be undone.

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 clauses, effect first, then usage condition, then scope. No filler and the most decision-relevant fact (irreversible deletion) is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, annotation-free tool the effect and trigger are well covered, but an agent still lacks how to source share_id and whether any confirmation or pre-check (e.g. shares lookup) is expected first. No output schema exists, so nothing is owed on return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

The single required parameter share_id has 0% schema description coverage, and the description adds nothing about its format, where to obtain it, or whether it is the same id returned by share/share_link. With one undocumented parameter, the description should compensate but does not.

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 (withdraw) and resource (a share), plus the concrete consequence: the link stops opening and the encrypted copy is deleted. It implicitly separates itself from share/set_share_expiry, but never names a sibling, so it falls short of a 5.

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?

"Only when the user asks to withdraw (or revoke, unshare) that share" gives a clear trigger and maps three user phrasings onto the tool, which is genuinely useful for routing. It adds a scope restriction ("Personal only") but never states when-not to use it or names an alternative tool for org-owned shares.

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