Skip to main content
Glama

Do-not-call list: add, remove or check

call_do_not_call

Keep your own do-not-call list: add a person who asked not to be called, remove one, or check a number before dialing. Numbers are stored only as salted hashes.

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_do_not_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesPhone number: 10-digit US or international starting with +
actionNocheck | add | removecheck
reasonNoWhy it was added, e.g. 'asked on call 2026-11-13'
call_keyYesYour prepaid call key (pck_...); your lists belong to it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the non-read-only, non-destructive, non-idempotent profile, so the description only needed to add context. It does so with 'Numbers are stored only as salted hashes,' which is meaningful operational information (no plaintext, no reverse lookup, matches are hash-based). It leaves unclear what happens on duplicate adds or removing a number that isn't present, 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, front-loaded with the resource and its operations, then a short storage-model note. Nothing is repeated from the schema and no sentence is filler.

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 four-parameter tool with no output schema, the definition covers the three actions and storage model but never indicates what 'check' returns (boolean, record, or reason text), which is the main ambiguity an agent would hit. Error behavior for removing a non-existent entry is also unaddressed.

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%, with each of the four parameters (phone, action, reason, call_key) documented inline, including enum-like values and a format example. The description adds only the implicit note that phone values are hashed before storage; it does not elaborate on action semantics or the reason field, so 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?

Names a specific resource (a personal do-not-call list) and enumerates the three operations it performs: add, remove, check. An agent can distinguish it from consent-oriented siblings like call_consent_check or call_consent_record because the description frames it as the agent's own suppression list, not consent capture.

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?

The phrase 'check a number before dialing' gives a concrete usage context and timing cue for the check action, and 'add a person who asked not to be called' explains the add trigger. It stops short of stating when not to use it or naming the consent siblings as alternatives, so there is no explicit exclusion guidance.

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