Skip to main content
Glama

Revoke a share

revoke_share
DestructiveIdempotent

Take an app back from a member, or cancel a share not yet accepted, as read_app_overview lists them. Only when the person asks for it in this conversation.

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": {
      "app": "<app>",
      "who": "<who>"
    },
    "name": "revoke_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app, as list_apps names it, such as sam/budget.
whoYesA member's login, or the email of a share not yet accepted.
roleNoOnly this role. Leave it out for every role.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and openWorld=false, so the safety profile is covered. The description adds two things annotations cannot: the two distinct revocation modes (accepted share vs. pending share) and a conversational-authorization constraint. It still omits what exactly the target loses (full access vs. one role).

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?

Two sentences, both front-loaded with the action and its scope, and no filler. The conversational constraint is stated compactly at the end where it reads as a guard rather than preamble.

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 three-parameter destructive mutation with full schema coverage, rich annotations and no output schema, the description covers the modes and the invocation precondition. The remaining gap is post-condition detail – whether the whole share or only the named role is removed – which the role parameter makes relevant.

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 100%, so all three parameters, including the role filter and its default, are already documented in the schema. The description adds no meaning beyond that, and its reference to read_app_overview as the lister mildly conflicts with the schema's reference to list_apps. Baseline 3 applies.

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 names a concrete verb+object pair twice: taking an app back from a member, and cancelling a share that has not yet been accepted. That distinguishes it from share_app and accept_share. It stops short of explicitly contrasting with decline_share, so an agent could still hesitate between the two.

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 supplies a real gating rule – only invoke when the person asks for it in this conversation – which is an explicit when-to-use condition rather than implied usage. It does not name an alternative tool for the closely related cancel-pending-share case (decline_share), so routing guidance is incomplete.

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