Skip to main content
Glama
fredogemilang

stalwart-jmap-mcp

stalwart_block_ip

Block an IP address or CIDR range to prevent spam and abuse. Optionally specify a reason and an expiration timestamp to manage temporary blocks.

Instructions

Block an IP address (spam defense).

Args: address: IP or CIDR to block reason: optional reason expires_at: optional ISO 8601 UTC expiry (e.g. 2026-08-10T00:00:00Z)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
addressYes
expires_atNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are present, so the description must disclose behavioral traits. It only states that an IP is blocked and lists parameters; it does not mention side effects (e.g., whether the block applies immediately, whether it blocks all mail from that IP, or if it is reversible by unblock_ip). It also doesn't clarify if a missing expiry means a permanent block.

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 compact with a clear first sentence and a structured Arg list. Every parameter is briefly explained without redundancy, making it efficient to parse.

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?

The description covers the tool's purpose and all parameter semantics, which is adequate for a simple blocking operation with an output schema present. However, it omits guidance on undo behavior and side effects, so it is not fully complete for a mutation tool.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates by defining 'address' as 'IP or CIDR', making 'reason' optional, and specifying 'expires_at' as an optional ISO 8601 UTC timestamp with a concrete example. This adds meaning beyond the raw schema types.

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 'Block an IP address (spam defense),' which is a specific verb-resource pair that clearly states the tool's function. It distinguishes from sibling tools like 'stalwart_unblock_ip' and 'stalwart_allow_ip' by focusing on blocking.

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?

The phrase '(spam defense)' implies the use case (blocking malicious senders), but there is no explicit statement of when to use this tool versus alternatives like allow_ip or unblock_ip. No exclusions or alternative recommendations are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fredogemilang/stalwart-jmap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server