Skip to main content
Glama

Stop Sharing a Setup

revoke_setup_share
DestructiveIdempotent

Revokes a setup-share grant the user owns, ending the recipient's access. Revoking a grant that is already revoked returns an error saying so. [Bearer scope: setup_share:revoke]

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": {
      "grantId": "<grantId>"
    },
    "name": "revoke_setup_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
grantIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false and openWorldHint=true, so the mutation profile is largely covered. The description adds real value with the ownership requirement and the error-on-already-revoked behavior, though this sits in mild tension with idempotentHint=true since repeated calls are error-returning rather than silently no-ops (state is still unchanged, so it is not a true contradiction). It does not describe what happens for a nonexistent or unauthorized grantId, nor whether the grant record is removed or only flagged.

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 tight clauses: purpose and effect first, then the retry-relevant error condition, then the auth scope tag. Nothing is redundant and the most decision-relevant information is front-loaded.

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 one-parameter destructive mutation with no output schema, the description covers the essential pieces: what it does, whose grant it applies to, the authorization scope required, and the notable error case. The remaining gap is failure semantics for invalid or unauthorized grant IDs, which an agent calling a destructive tool would want.

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 description coverage is 0% and the schema only types grantId as a string, so the description carries the burden of explaining the parameter. It partially does so by framing the argument as a 'setup-share grant the user owns,' but never states the identifier format, where an agent obtains it, or whether it is a grant ID versus a setup ID.

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 a setup-share grant') plus the concrete effect ('ending the recipient's access') and an ownership qualifier ('the user owns'). That distinguishes it from siblings like get_setup_share_status or list_active_setup_grants by implication, but it never names them, so the differentiation is inferred 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 Guidelines3/5

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

The ownership precondition ('a grant the user owns') and the already-revoked failure mode give implied guidance on when this call is valid and what happens on repeat invocation. There is no explicit routing to alternatives such as checking status first or listing active grants, so an agent must infer the surrounding workflow.

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