Skip to main content
Glama

Revoke dossier share

revoke_dossier_share
DestructiveIdempotent

Kill a share link immediately. The link stays in the list, marked revoked, so its access log survives — use delete:true only to erase that record too.

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

Input Schema

NameRequiredDescriptionDefault
deleteNoAlso delete the row and its access log. Default false.
share_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses the crucial side effect that the link is retained in the list in a revoked state so its access log survives, and precisely scopes what delete:true destroys. That is exactly the context an agent needs before invoking a destructive tool.

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?

Two short sentences, front-loaded with the primary effect and then the exception. No filler; the em-dash clause earns its space by preventing accidental log destruction.

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

Completeness4/5

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

For a 2-parameter destructive mutation with no output schema, the description covers the immediate effect, persistence of the record, and the destructive flag's scope. Minor gaps remain on permission requirements and failure/idempotency behavior, though idempotency is already declared in annotations.

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 50%: `delete` is documented in the schema itself, and the description largely reinforces rather than extends it by framing it as 'erase that record too'. share_id gets no explanation in the schema or description, so the description does not fully compensate for the coverage gap — baseline 3.

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?

The description opens with a concrete verb and resource ('Kill a share link immediately'), and the second clause separates revoking from permanently erasing — a distinction that matters against delete/update siblings. It never names an alternative tool by name, so the differentiation is semantic rather than explicit.

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?

It gives a clear conditional rule for the optional flag: use delete:true only when the record and its access log should also be erased, otherwise the default revoke is correct. It does not state prerequisites (e.g., ownership or permission to revoke) or what to do if the share is already revoked, but the primary when-to-use decision is covered.

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