Skip to main content
Glama

Revoke an end user's consents

fizen_revoke_consents
DestructiveIdempotent

Revokes specified consent types for an end user by user ID, so your product records only the consents the user actually agreed to.

Instructions

Revokes consents of an end user. Record only what the end user actually agreed to in your product. In production this tool is off unless FIZEN_ALLOW_CONSENT_CHANGES=true.

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": {
      "userId": "<userId>",
      "consentTypes": "<consentTypes>"
    },
    "name": "fizen_revoke_consents"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesYour own id of the end user (up to 40 characters). Consents with the same userId and bank are grouped, which extends how long history can be read.
consentTypesYesConsent types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered structurally. The description adds the deployment gating flag, which is genuinely useful context not present in annotations. It does not disclose whether matching consent records are deleted or marked revoked, whether historical records persist, or what is returned, which are the most consequential unknown behaviors for a destructive call.

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?

Three short sentences, front-loaded with the action and followed by the constraint and the environment gate; nothing is padded. The middle sentence ("Record only what the end user actually agreed to in your product") is slightly ambiguous in its referent but is brief enough not to obstruct.

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

Completeness3/5

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

For a two-parameter destructive mutation with full schema coverage and no output schema, the core action and the feature-flag gate are covered. Missing is whether the supplied consentTypes are removed entirely or only those listed, and what state remains afterward — details an agent would want before invoking a destructive tool.

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 both parameters carry their own descriptions, including the userId grouping note and the consent-type enum values. The description contributes nothing parameter-specific, but the baseline of 3 applies since the schema does the work.

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 first sentence gives a specific verb and resource ("Revokes consents of an end user"), which is immediately distinguishable from fizen_grant_consents and fizen_get_user_consents by name alone. It stops short of explicitly naming the sibling pair, so an agent must infer the grant/revoke boundary.

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 description supplies a real precondition (the tool is off in production unless FIZEN_ALLOW_CONSENT_CHANGES=true), which tells the agent when the call is even viable. However, there is no explicit when-to-use vs. when-not guidance relative to fizen_grant_consents or fizen_get_user_consents, and no statement about what to do if only some consents should be withdrawn.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.