Skip to main content
Glama

Dodaj do czarnej listy

add_to_blacklist
Idempotent

Add to opt-out list

Block numbers so future sends are rejected. Optional expiry. Use after a recipient asks to stop marketing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoPowód, np. „opt-out” albo „reklamacja”.
msisdnsYesNumery do zablokowania, E.164 lub 9 cyfr PL.
expires_atNoISO 8601; pomiń, by blokować bezterminowo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / msisdns / description
      Added value: +"Numery do zablokowania, E.164 lub 9 cyfr PL."
    • changedInput schema / properties / msisdns / items / description
      Previous value: -"Numer telefonu w formacie E.164, np. +48533991881. Numer 9-cyfrowy bez prefiksu = Polska."New value: +"Phone number in E.164. Example: +48533991881. A 9-digit number without prefix is treated as Polish."
    • addedInput schema / properties / reason / description
      Added value: +"Powód, np. „opt-out” albo „reklamacja”."
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate a mutating but idempotent, non-destructive operation. The description adds useful behavioral context beyond the annotations: that blocked numbers cause future sends to be rejected, and that blocking can be temporary via an optional expiry. No contradiction with annotations.

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?

The description is extremely compact: a short title line, one sentence stating the effect, one sentence on expiry, and one sentence for usage. Every sentence earns its place and key information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the full input schema, output schema presence, and annotations, the description covers the core use case, the operational effect, and the optional expiry. A small gap is the lack of an explicit pointer to remove_from_blacklist for reversal, but this is not essential for calling the tool correctly.

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%, and the schema already documents msisdns format, reason, and expires_at. The description only restates the optional expiry concept, so it adds little semantic value beyond what the structured schema already provides.

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 states a specific action ('Add to opt-out list') and its concrete effect ('Block numbers so future sends are rejected'). This clearly distinguishes it from siblings like remove_from_blacklist and add_to_group without needing to inspect the 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?

The description gives an explicit trigger: 'Use after a recipient asks to stop marketing.' This provides clear context for when the tool is appropriate. It does not explicitly mention when not to use it or contrast it with remove_from_blacklist, so it stops short of full alternative routing.

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.