Skip to main content
Glama

Block a caller

stack_add_blocked_caller

Add a number to the customer's blocked-callers list, so an incoming call from it is turned away before it rings: it wakes no agent, takes no voicemail and costs nothing. The owner, an admin and the customer's agents may add; only the owner or an admin removes an entry (stack_remove_blocked_caller). A number already listed is returned as it is. Returns the entry: id (abk_*), number and created_at.

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": {
      "number": "<number>"
    },
    "name": "stack_add_blocked_caller"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesThe number to block, in E.164 form (for example +14155550123)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the call is rejected pre-ring, produces no voicemail and no charge, and the operation is idempotent (an already-listed number is returned unchanged). It also discloses the return fields. Minor gap: nothing about rate limits or error cases for malformed numbers.

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?

Front-loads the action and its effect, then permissions, then idempotency and return shape. The 'wakes no agent, takes no voicemail and costs nothing' clause is illustrative but does earn its place by explaining why blocking matters; otherwise the text is tight.

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 one-parameter mutation with no output schema, the definition covers effect, permissions, idempotency and the shape of the returned entry, leaving nothing an agent needs missing.

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 already documents the single E.164-format 'number' parameter with a pattern and example. The description only implies the number is the caller's, adding little beyond the schema, so the 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?

States a specific verb (add) and resource (blocked-callers list) plus the concrete effect: the call is turned away before it rings. It is directly distinguishable from stack_remove_blocked_caller, which it names.

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 explicit permission rules for who may add (owner, admin, agents) and points to stack_remove_blocked_caller as the inverse operation with its own stricter permissions. No explicit when-not-to-use case beyond that, but the operating context is clear.

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.