Skip to main content
Glama

Take access away

access_revoke
Destructive

Take back access or a protection. Each takes effect on the next call of everyone it reaches. Actions — withdraw: withdraw an access request you filed (request_id). withdraw_share: take back a share made to another organization; it is gone from theirs (share_id). release_hold: release a legal hold, so what it covered can be erased again (hold_id). retire: end yourself or an identity below you and everything under it; what they owned passes to the nearest living ancestor and their drafts are purged. One below you first gets distill_window_s (default 3600) to publish.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYeswhat to do; each action takes the arguments its line names
reasonNoretire: why you are doing this, in one line (at most 200 characters); recorded with the event and exported with the log
targetNoretire: an identity id; defaults to you
hold_idNorelease_hold: the hold's id, as access_grant action=hold returned it
share_idNowithdraw_share: the share's id, from access_read action=offers, shared or proposals
request_idNowithdraw: the request's id, from access_read action=requests or my_requests
idempotency_keyNoAny unique string you choose for this write, e.g. a UUID. If you retry the call with the same key and the same arguments, the first answer is returned and nothing is done twice. Reusing a key for a different request is refused. Keys are kept 24 hours.
distill_window_sNoretire: how long the identity has to publish before it ends; 0 ends it now

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardNo
holdNo
waitNo
cardsNo
endedNo
loadsNo
acrossNo
actionYesthe action that answered
canSeeNo
labelsNo
emailedNoshare_out when offered or invited: whether the recipient is emailed; when false, send them recipient_link
refusedNo
requestNo
identityNo
positionNo
requestsNo
settingsNo
sessionIdNo
invitationNo
orgContextNo
credentialsNo
declassifiedNo
organizationNoaccept_share: the organization it went into
retiringUntilNo
webhookSecretNowith a webhook: deliveries are signed in the Standard Webhooks format (webhook-id, webhook-timestamp, webhook-signature); verify them with any Standard Webhooks library and this secret
recipient_linkNoshare_out: when offered, the recipient's inbox for this offer; when invited, the invitation's preview, names only. Absolute; absent when the console's public URL is not configured. It grants no access
not_emailed_reasonNoshare_out when invited: why the recipient is not emailed, when emailed is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that effects take hold on the next call of everyone reached, that release_hold makes covered material erasable again, and that retire transfers ownership to the nearest living ancestor, purges drafts, and gives a subordinate a distill_window_s before ending. These are non-obvious destructive consequences the annotations (destructiveHint=true) only flag generically.

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?

Front-loads the general purpose, then uses a compact per-action list. Dense but every clause earns its place; the retire sentence is long but packs distinct, necessary consequences.

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 an 8-parameter, four-action mutation tool with an output schema and annotations already present, the description covers the consequences of each action adequately. It leaves return-value details to the output schema and idempotency semantics to the schema, which is appropriate.

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 100% and each parameter's description already names its action (e.g. hold_id for release_hold, share_id for withdraw_share). The description's 'each action takes the arguments its line names' adds a mapping but no syntax or format detail beyond what the schema carries, so the baseline 3 applies.

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

Purpose5/5

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

The description opens with a concrete verb+resource ('Take back access or a protection') and then enumerates four distinct actions (withdraw, withdraw_share, release_hold, retire), each with its own object. This clearly separates it from siblings like access_grant and access_read.

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?

Each action line names the scenario it applies to (withdraw a filed request, take back a share, release a legal hold, end yourself/an identity below you), so an agent knows which action to pick. It stops short of explicitly naming alternatives or when NOT to use the tool.

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