Skip to main content
Glama

Add to do-not-contact list

stack_add_opt_out

Add a number to the customer's do-not-contact list, so texts and calls from every agent of the customer to it are refused (RECIPIENT_OPTED_OUT). The owner, an admin and the customer's agents may add; only the owner or an admin removes an entry (stack_remove_opt_out). A number already listed is returned as it is. Returns the entry: id (aoo_*), number, texts_blocked, calls_blocked, source (customer when added here) 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_opt_out"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only establish that this is a non-read-only, non-destructive, closed-world write; the description adds material context on top of that: the blast radius (all agents of the customer), the idempotent behavior ('A number already listed is returned as it is'), and the authorization split between adding and removing. Disclosing the RECIPIENT_OPTED_OUT outcome code further tells the agent what the blocked party will experience, which no annotation conveys.

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 action and its effect, followed by the permission model and then the return shape. Every clause carries information an agent would otherwise have to guess, and nothing is repeated from the annotations or schema.

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?

Although there is no output schema, the description enumerates what is returned (id prefixed aoo_*, number, texts_blocked, calls_blocked, source, created_at), so the agent knows the response shape. Combined with the permission model, idempotency note, and effect scope, a single-parameter tool is fully specified.

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?

There is a single required parameter and the schema already documents it completely (E.164 pattern plus an example), so the schema carries the parameter meaning and no compensation is needed. The description mentions 'number' only as part of the returned entry rather than adding new input semantics, which is the expected baseline-3 case at 100% 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?

The description names a specific verb and resource ('Add a number to the customer's do-not-contact list') and states the concrete effect ('texts and calls from every agent of the customer to it are refused'), including the machine-readable reason code RECIPIENT_OPTED_OUT. It also names the sibling it is the counterpart of ('stack_remove_opt_out'), so an agent can separate the add path from the remove path without opening either schema.

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?

It gives a clear precondition-based when-to-use rule by naming who may perform the operation ('The owner, an admin and the customer's agents may add') and explicitly points at stack_remove_opt_out for the inverse operation. It does not address when a caller should prefer stack_add_blocked_caller over this tool, so the alternatives coverage is partial rather than exhaustive.

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.