Skip to main content
Glama

Remove Spam Whitelist Entry

remove_spam_whitelist_entry
DestructiveIdempotent

Removes a sender entry from the shared spam whitelist, so the address or pattern is no longer allowed on any domain in the account.

Instructions

Removes an entry from the spam whitelist. Entries match case-insensitively, so the stored casing may differ. Sender lists are shared across all domains on the account, so this affects every domain on the account.

Input Schema

NameRequiredDescriptionDefault
entryYesEmail address or pattern to allow/block; wildcards supported, e.g. *@trusted.com or user@example.com
domainYesDomain name on this account, e.g. example.com (letters, digits, hyphens; at least one dot)

Output Schema

NameRequiredDescriptionDefault
messageYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and non-read-only, so the safety profile is covered. The description adds genuinely new behavior: case-insensitive matching means the stored casing may differ, and sender lists are shared across all domains on the account, so the blast radius is wider than the per-domain `domain` parameter suggests.

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?

Three short sentences, purpose front-loaded, each adding a distinct fact (action, matching semantics, scope). Nothing is redundant or padded.

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?

An output schema exists and annotations cover safety, so the description's job is mostly matching and scope semantics, which it delivers. It leaves one ambiguity unresolved: what happens when the entry is not found (relevant given idempotentHint) and how the required `domain` relates to an account-wide list.

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%, so both `domain` and `entry` are already documented, including the wildcard pattern syntax. The description only adds the case-insensitivity note, which is useful but does not clarify the domain-vs-shared-list interaction (why `domain` is required when the list is account-wide). Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence names a specific verb and resource ('Removes an entry from the spam whitelist'), which is unmistakable against siblings like add_spam_whitelist_entry or remove_spam_blacklist_entry. It doesn't explicitly route against those siblings, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Removal intent is implied by the verb, and the account-wide scope hint nudges the agent to check before acting. There is no explicit when-to-use/when-not guidance or named alternative (e.g., 'use get_spam_whitelist first to find the exact entry').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.