Skip to main content
Glama

CallMCP — Phone Call MCP Server

Get Consent Proof

get_consent_proof
Read-onlyIdempotent

Read the consent proof for one phone number at a business: for service texts, marketing texts, calls and WhatsApp, the current status, when consent was given or taken back, how (web form, keyword, call, manual, API), the exact wording shown, and the stored proof (form page, form time, submission id), plus up to 50 history entries, newest first. Use it to answer a carrier or customer asking how someone opted in. IP addresses are never returned. found false means no consent record exists for that number. Read-only.

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": {
      "business_id": "<business_id>",
      "phone": "<phone>"
    },
    "name": "get_consent_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesPhone number, E.164 preferred (+15551234567).
business_idYes

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when success is false
foundNo
historyNo
successYesWhether the tool completed successfully
channelsNo
phone_numberNo
history_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, but the description adds material context on top: IP addresses are never returned, a 'found false' result means no consent record exists, and history is capped at 50 entries newest-first. That privacy guarantee and empty-result semantics are exactly the behavioral traits structured fields cannot convey.

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?

The purpose is front-loaded and every clause about history ordering, IP exclusion, and the false-result case earns its place. It does, however, spend a long enumeration on returned fields (exact wording, form page, form time, submission id) that duplicates the existing output schema, and 'Read-only' repeats the readOnlyHint annotation.

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

Completeness5/5

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

For a read-only lookup with an output schema and full annotation coverage, the definition supplies what is left: the privacy exclusion, the not-found semantics, and the history cap. The only residual gap is the undocumented business_id, which is minor against an otherwise complete definition.

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 50%: 'phone' is documented (E.164 preferred) while 'business_id' is bare. The description implies business scoping ('at a business') and single-number scope ('one phone number'), but adds no format, ID source, or constraint detail beyond that, so it neither compensates for the undocumented parameter nor falls below the baseline for moderate coverage.

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?

States a specific verb and resource ('Read the consent proof for one phone number at a business') and enumerates the channel scope (service texts, marketing texts, calls, WhatsApp). It is clearly distinguishable from the mutation siblings record_email_consent and revoke_email_consent, which write consent rather than retrieve proof of it.

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?

Gives an explicit use case — 'answer a carrier or customer asking how someone opted in' — which tells the agent the situation that selects this tool. It stops short of naming a when-not-to-use condition or an alternative tool for other consent questions, so it earns a 4 rather than a 5.

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.