Skip to main content
Glama

Revoke resource access

resource_share_revoke
Destructive

Preview revoking an existing share.

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": {
      "shareId": "<shareId>"
    },
    "name": "resource_share_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
shareIdYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

C2.2/5.0
Behavior1/5

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

The annotations declare readOnlyHint=false and destructiveHint=true, i.e. a mutating, destructive operation. The description's "Preview" wording implies a safe, non-destructive dry run, which directly conflicts with the supplied annotations and would mislead an agent about the consequences of the call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence is front-loaded and free of padding, but here brevity comes at the cost of substance rather than being earned concision. It reads as under-specification rather than efficiency.

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

Completeness2/5

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

For a destructive, non-idempotent, non-read-only tool with no output schema, the definition says nothing about what gets revoked, whether the effect is reversible (resource_restore exists as a sibling), or whether a confirmation step follows. The only genuinely required context — that this is destructive — is contradicted rather than supported.

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?

Schema coverage is only 50%; shareId is undocumented in the schema (only format/pattern hints) and the description adds no explanation of what it identifies or accepts. conversation_id is documented in the schema itself (analytics passthrough), so the description contributes nothing beyond structured fields.

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

Purpose3/5

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

"Preview revoking an existing share" names a resource (share) and an action (revoke), but the modifier "preview" makes the actual effect ambiguous — an agent cannot tell whether this performs the revocation or merely describes a hypothetical one. It also does nothing to distinguish itself from siblings such as resource_share_grant or resource_change_visibility.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool, no prerequisites, and no indication of how it relates to confirm_action/cancel_action or to an actual revocation step. The agent is left to infer the entire workflow from the name alone.

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