Skip to main content
Glama

List do-not-contact numbers

stack_list_opt_outs
Read-only

List the numbers on the customer's do-not-contact list: every number that texted STOP or another opt-out word, and every number the customer or an agent added (stack_add_opt_out). Each entry has id (aoo_*), number in full, texts_blocked, calls_blocked, source (text_stop, or customer for a number added by the customer or an agent) and created_at. Texts and calls to a listed number are refused (RECIPIENT_OPTED_OUT); a STOP is not a complaint, and nothing said on a call adds a number. An agent session may list it and add to it, and only the owner or an admin removes an entry. Returns opt_outs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stack_list_opt_outs"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/non-destructive annotations: it discloses that texts and calls to listed numbers are refused with RECIPIENT_OPTED_OUT, clarifies that a STOP is not a complaint and that nothing said on a call creates an opt-out, and describes the permission model (agents can list and add, only owner/admin removes). These are exactly the operational facts an agent needs to interpret an opt-out and avoid misusing the list.

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-loaded with the purpose in the first clause, then entry shape, then behavior and permissions. It is dense—long semicolon-joined clauses pack several facts per sentence—but nearly every clause carries unique meaning, so little is wasted.

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?

With no input parameters and no output schema, the description fully compensates by describing the returned entries and the wrapper key (opt_outs) and by explaining the downstream consequence of membership. Nothing an agent needs to call or interpret this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so the baseline is a 4; there is nothing further for the description to disambiguate. Instead it usefully documents the shape of the returned entries (id, number, texts_blocked, calls_blocked, source, created_at) in place of missing parameter detail.

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 verb and resource (list the numbers on the do-not-contact list) and immediately defines membership: numbers that texted STOP, plus numbers added by the customer or an agent via stack_add_opt_out. This distinguishes it clearly from siblings like stack_list_blocked_callers or stack_add_opt_out.

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?

Explains what qualifies for the list and points at stack_add_opt_out as the write counterpart, and states only the owner or an admin can remove entries. It gives context for choosing this tool but never explicitly names stack_remove_opt_out or states when-not to use it; for a zero-parameter list tool this is close to sufficient.

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.