Skip to main content
Glama

Consent: record

call_consent_record

Record that a person agreed to marketing calls, an AI voice, call recording or texts. Records are hash-chained so they cannot be back-filled unnoticed.

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>",
      "consent_type": "<consent_type>",
      "method": "<method>"
    },
    "name": "call_consent_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesPhone number: 10-digit US or international starting with +
methodYesHow consent was given: web_form|written|verbal_recorded|keypress|text_reply|other
call_keyYesYour prepaid call key (pck_...); your lists belong to it
consent_typeYesmarketing_calls|ai_voice|call_recording|text_messages
evidence_sha256NoSHA-256 of the form, recording or message that shows it

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 already establish that this is a non-destructive, non-idempotent write; the description adds genuinely new behavioral context by disclosing that records are hash-chained and cannot be silently back-filled, which tells the agent the audit trail is trustworthy and tamper-evident. It omits whether repeated identical calls create duplicate records or return an existing one, which matters given idempotentHint=false.

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, zero waste: the scope of what can be recorded is front-loaded and the integrity guarantee follows. Nothing is redundant or padding.

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?

With full schema coverage and no output schema, the definition covers purpose, valid consent types and the tamper-evidence guarantee. The main gaps are what the call returns (record id or hash receipt) and duplicate-handling behavior for a tool explicitly marked non-idempotent.

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%, so all five parameters including phone format, consent_type values, method values and evidence_sha256 are already documented. The description restates the consent categories already listed in the schema and adds no syntax or format guidance beyond it, making baseline 3 appropriate.

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 (record) and resource (consent) and enumerates exactly which consent types qualify (marketing calls, AI voice, call recording, texts). It is clear enough to separate from the check/revoke siblings by name semantics, though it never names them explicitly.

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?

Usage is implied by the purpose - record consent after it is obtained - but there is no explicit when-to-use or when-not-to-use guidance, no mention of checking existing consent first via call_consent_check, and no stated prerequisites beyond the call_key parameter documented in the schema.

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