Skip to main content
Glama

Add to the blocklist

flow_blocklist_add
Idempotent

Blocks up to 500 contacts (ids from flow_list_contacts) or 100 phone numbers in one call, as an admin opt-out. A number the brand has no contact for is added as a blocked contact. A user can reactivate an admin opt-out in the portal. Marketing campaigns skip opted-out contacts. A transactional campaign still reaches a contact who opted out themselves (not one blocked by an admin), and messages sent through the API or as tests do not check the blocklist. The answer says how many were blocked and which were already blocked, repeated, unknown or invalid; invalid means Bind's number check found no reachable mobile number, however well formed it looks.

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": "flow_blocklist_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandIdNoThe id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active.
contactIdsNo
phoneNumbersNoIn international format, e.g. +385911234567

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?

Well beyond the annotations, it discloses per-call caps, that a number with no matching contact is still added as a blocked contact, reversibility via the portal, the exact asymmetry between marketing and transactional sends, and the blocklist bypass for API and test messages. It also describes the response breakdown (blocked, already blocked, repeated, unknown, invalid) and defines 'invalid' in terms of Bind's reachability check — behavioral detail an agent cannot get from the hints.

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 core capability and limits are front-loaded and every sentence carries substance — effects, reversibility, response contents. The final sentence is long and crammed with four outcome categories plus the 'invalid' definition, which slightly hurts scanability, but there is no filler.

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 mutation tool with no output schema, the description covers everything an agent needs: limits, unknown-number handling, reversibility, campaign-type effects, bypass conditions, and the shape of the result. Combined with annotations that declare idempotency and non-destructiveness, nothing material is left unstated.

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?

With 67% schema coverage, the schema already explains brandId's active-brand rule and phoneNumbers' international format, so the description's added value is telling the agent that contact ids come from flow_list_contacts and explaining what an unreachable number means for the phoneNumbers path. It does repeat the 500/100 caps already encoded as maxItems and says nothing about the fact that both parameters are optional or what happens when both are supplied, leaving a small gap.

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 opens with a specific verb and resource plus hard scope limits: 'Blocks up to 500 contacts ... or 100 phone numbers in one call'. It also pins the semantic nature of the operation ('as an admin opt-out') and points to flow_list_contacts as the source of ids, so an agent can distinguish it from the blocklist-removal and listing siblings without opening a 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 real decision context: a user can reactivate an admin opt-out in the portal (implying this is reversible and portal-recoverable), and it states that marketing campaigns skip blocked contacts and that API/test messages bypass the blocklist. What's missing is an explicit routing statement such as when to prefer flow_blocklist_remove or flow_list_blocklist, so it stops just short of full when/when-not 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