Skip to main content
Glama

Consent: revoke

call_consent_revoke

Record that a person withdrew consent. With no type, every consent is revoked and the number goes on your do-not-call list.

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": {
      "call_key": "<call_key>",
      "phone": "<phone>"
    },
    "name": "call_consent_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesPhone number: 10-digit US or international starting with +
call_keyYesYour prepaid call key (pck_...); your lists belong to it
consent_typeNoOne type, or empty to revoke everything and add the number to your do-not-call list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare a write operation (readOnlyHint=false) but say nothing about side effects; the description supplies the important one — that an empty consent_type also adds the number to the caller's do-not-call list, a consequence invisible to the schema. Worth noting as mild tension: revoking every consent plus DNC enrollment is a broad, hard-to-undo action while destructiveHint is false, though it does not directly contradict readOnlyHint.

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 short sentences, with the primary action stated first and the all-or-nothing branch immediately after. No filler, no redundant restatement of the tool name or title.

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 mutation with full schema coverage and annotation-level safety flags, the definition covers the main behavioral surprise (bulk revoke + DNC enrollment). It stops short of saying what the call returns or whether revoking a non-existent consent errors, which would matter for an agent handling results.

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% and the consent_type property description already explains "empty to revoke everything and add the number to your do-not-call list"; the prose largely restates it. Phone format and call_key ownership are covered only by the schema, so the description adds no parameter meaning beyond what is already structured.

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?

"Record that a person withdrew consent" gives a specific verb (record) and resource (consent withdrawal), which cleanly separates it from call_consent_record and call_consent_check. It never names those siblings explicitly, so an agent must infer the boundary rather than being routed to the right one.

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 trigger condition (a person withdrew consent) is implied clearly, and the empty-consent_type case is spelled out as a distinct mode. There is no explicit when-not guidance, no named alternative for partial vs. full revocation, and no mention of prerequisites such as an existing consent record.

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